{"data":{"slug":"leonxlnx-agentic-ai-prompt-research","name":"agentic-ai-prompt-research","tagline":"Research into agentic AI coding assistants focusing on prompt patterns and security","github_url":"https://github.com/Leonxlnx/agentic-ai-prompt-research","owner":"Leonxlnx","repo":"agentic-ai-prompt-research","owner_avatar_url":"https://avatars.githubusercontent.com/u/219127460?v=4","primary_language":null,"stars":2498,"forks":1069,"topics":["agentic-ai","ai-research","claude","prompt-engineering","system-prompts"],"archived":false,"github_pushed_at":"2026-03-31T19:04:33+00:00","maintenance_label":"Slowing","url":"https://www.graphcanon.com/tools/leonxlnx-agentic-ai-prompt-research","markdown_url":"https://www.graphcanon.com/tools/leonxlnx-agentic-ai-prompt-research.md","api_url":"https://www.graphcanon.com/api/graphcanon/tools/leonxlnx-agentic-ai-prompt-research","graph_url":"https://www.graphcanon.com/api/graphcanon/graph?tool=leonxlnx-agentic-ai-prompt-research","description":"Research into how agentic AI coding assistants work. Reconstructed prompt patterns, agent coordination, and security classification","homepage_url":null,"license":null,"open_issues":3,"watchers":24,"ai_summary":"Investigates workings of agentic AI in code assistance with emphasis on reconstructed prompts and secure coordination methods.","readme_excerpt":"# Claude Code System Prompts\n\nA research project exploring how modern agentic AI coding assistants work under the hood. This repository contains our best understanding of the prompt architecture, agent coordination patterns, and security mechanisms that power tools like Claude Code.\n\nEverything here is based on behavioral observation, output analysis, community discussions, and publicly shared information. These are reconstructed approximations, not verbatim copies. The actual implementation may differ significantly.\n\n## What This Project Is\n\nThis is an educational deep-dive into the design patterns behind agentic coding assistants. We analyze how these systems:\n\n- Assemble dynamic system prompts at runtime\n- Coordinate multiple specialized sub-agents\n- Classify and auto-approve tool calls safely\n- Manage context windows through intelligent compaction\n- Handle memory, skills, and user preferences\n\nThe goal is to help AI engineers, researchers, and builders learn from these architectural patterns and apply them in their own projects.\n\n## What This Project Is Not\n\nThis is **not** a leak, dump, or direct copy of any proprietary system. The prompts documented here are our best reconstructions based on observable behavior. They represent one interpretation of how these systems likely work.\n\n## Documented Patterns\n\n### Core Identity\n\n| # | Pattern | Description |\n|---|---------|-------------|\n| 01 | [Main System Prompt](prompts/01_main_system_prompt.md) | How the master prompt is dynamically assembled from modular sections |\n| 02 | [Simple Mode](prompts/02_simple_mode.md) | Minimal prompt variant for lightweight operation |\n| 03 | [Default Agent Prompt](prompts/03_default_agent_prompt.md) | Base instructions inherited by all sub-agents |\n| 04 | [Cyber Risk Instruction](prompts/04_cyber_risk_instruction.md) | Security boundaries between authorized and prohibited actions |\n\n### Orchestration\n\n| # | Pattern | Description |\n|---|---------|-------------|\n| 05 | [Coordinator System Prompt](prompts/05_coordinator_system_prompt.md) | Multi-worker orchestration with phased workflows |\n| 06 | [Teammate Prompt Addendum](prompts/06_teammate_prompt_addendum.md) | Communication protocols for multi-agent collaboration |\n\n### Specialized Agents\n\n| # | Pattern | Description |\n|---|---------|-------------|\n| 07 | [Verification Agent](prompts/07_verification_agent.md) | Adversarial testing agent that validates implementations |\n| 08 | [Explore Agent](prompts/08_explore_agent.md) | Read-only codebase exploration with no-modify constraints |\n| 09 | [Agent Creation Architect](prompts/09_agent_creation_architect.md) | Generates new agent configurations from requirements |\n| 10 | [Status Line Setup Agent](prompts/10_statusline_setup_agent.md) | Terminal status line configuration across shells |\n\n### Security and Permissions\n\n| # | Pattern | Description |\n|---|---------|-------------|\n| 11 | [Permission Explainer](prompts/11_permission_explainer.md) | Risk assessment before tool approval |\n| 12 | [Auto Mode Classifier](prompts/12_yolo_auto_mode_classifier.md) | Multi-stage security classifier for autonomous tool execution |\n\n### Tool Descriptions\n\n| # | Pattern | Description |\n|---|---------|-------------|\n| 13 | [Tool-Specific Prompts](prompts/13_tool_prompts.md) | How individual tools (Bash, Edit, Agent, etc.) describe themselves |\n\n### Utility Patterns\n\n| # | Pattern | Description |\n|---|---------|-------------|\n| 14 | [Tool Use Summary](prompts/14_tool_use_summary.md) | Generating concise labels for completed tool batches |\n| 15 | [Session Search](prompts/15_session_search.md) | Semantic search across past conversation sessions |\n| 16 | [Memory Selection](prompts/16_memory_selection.md) | Selecting relevant memory files for query context |\n| 17 | [Auto Mode Critique](prompts/17_auto_mode_critique.md) | Reviewing user-written classifier rules |\n| 20 | [Session Title](prompts/20_session_title.md) | Lightweight title generation for session management |\n| 2","github_created_at":"2026-03-31T11:47:04+00:00","created_at":"2026-07-11T11:58:38.828397+00:00","updated_at":"2026-07-28T12:00:05.312314+00:00","categories":[{"slug":"ai-agents","name":"AI Agents","url":"https://www.graphcanon.com/categories/ai-agents","markdown_url":"https://www.graphcanon.com/categories/ai-agents.md","api_url":"https://www.graphcanon.com/api/graphcanon/categories/ai-agents"}],"tags":[{"slug":"agentic-ai","name":"agentic-ai"},{"slug":"coding-assistants","name":"coding-assistants"},{"slug":"prompt-engineering","name":"prompt-engineering"},{"slug":"security-classification","name":"security-classification"},{"slug":"system-prompts","name":"system-prompts"}],"trust":{"provenance":{"is_fork":false,"github_id":1197183235,"owner_type":"User","methodology":"github_public_v1","parent_repo":null,"near_duplicate_slugs":[]},"computed_at":"2026-07-28T12:00:04.351Z","maintenance":{"label":"Slowing","score":36,"methodology":"github_public_v1","releases_90d":0,"days_since_push":118,"last_release_at":null},"security_summary":{"status":"no_lockfile","scanner":null,"low_count":0,"high_count":0,"last_scan_at":"2026-07-11T11:58:39.974Z","medium_count":0,"scan_profile":"none","critical_count":0}},"capability_facts":{"scan":{"source":"repo_scan","observed_at":"2026-07-28T12:00:04.847Z"}},"decision_facts":{"hosting":null,"pricing":null,"requirements":null,"constraints":null,"when_to_use":["If you are specifically interested in the working mechanisms of agentic AI with a focus on Claude, it is suited for your needs.","Consider using this tool if your project emphasizes security classification within prompt patterns."],"when_not_to_use":["Avoid if your primary interest lies in generic AI agent behavior without emphasis on secure coordination methods.","Not suitable for those whose research does not center around specific prompts and their reconstruction techniques."],"source":"enrich:decision_facts","observed_at":"2026-07-17T00:16:23.821Z"},"constraint_facets":null,"decision_summary":[{"label":"Adopt for","value":"agentic-ai-prompt-research explores functionality and security aspects of agentic AI in coding assistance. This research includes reconstructed prompts for secure coordination."}]}}