PromptsApr 6, 2026·4 min read

Claude Code Prompts — 26 Agent Prompt Templates

Independently authored collection of 26 prompt templates for AI coding agents — system prompts, tool routing, agent delegation, memory management, and multi-agent coordination patterns. MIT license.

PR
Prompt Lab · Community
Quick Use

Use it first, then decide how deep to go

This block should tell both the user and the agent what to copy, install, and apply first.

  1. Browse the templates: github.com/repowise-dev/claude-code-prompts
  2. Copy the prompt template for your use case
  3. Paste into your AI agent's system prompt or configuration
  4. Replace placeholder values with your specific stack details

For Cursor IDE: move the skills/ directory to ~/.cursor/skills-cursor/


Intro

Claude Code Prompts is an independently authored collection of 26 complete prompt templates for building AI coding agents, with 750+ GitHub stars and MIT license. It documents patterns observed in Claude Code's behavior — safety rules, tool routing, agent delegation, and memory management — then provides original, production-ready prompt implementations. Unlike leaked system prompts, these are clean-room recreations designed to be understood, modified, and used in your own agent systems.

Best for: developers building custom AI coding agents or customizing Claude Code / Cursor behavior. Works with: Claude Code, Cursor, any LLM-based coding agent. Setup time: copy-paste, under 5 minutes.


Claude Code Prompts — Template Categories

System Prompts (1 template)

The core agent identity prompt that defines:

  • Agent role and behavioral rules
  • Safety constraints and risk assessment
  • Permission boundaries
  • Communication style

Tool Prompts (11 templates)

Template Purpose
Shell Execution Safe command execution with sandboxing rules
File Read Context-aware file reading with line ranges
File Write New file creation with safety checks
File Edit Surgical string replacement in existing files
Search (Glob) Fast pattern-based file discovery
Search (Grep) Content search with regex support
Web Fetch URL content retrieval and processing
Web Search Internet search with source attribution
Agent Launch Spawning sub-agents for parallel tasks
User Query Interactive question-asking with context
Planning Mode Task decomposition and plan approval

Agent Prompts (5 templates)

Template Purpose
General Purpose Default agent for multi-step tasks
Code Explorer Fast codebase navigation and search
Architecture Planner System design and implementation planning
Verification Tester Testing and quality assurance
Documentation Agent Code documentation generation

Memory Prompts (4 templates)

Template Purpose
Conversation Summarizer Compress long conversations
Session Tracker Track progress across context windows
Memory Extractor Extract persistent learnings
Memory Consolidator Merge and deduplicate memories

Coordination (1 template)

Multi-agent orchestrator that manages task delegation, progress tracking, and result synthesis across parallel agent teams.

Utility Prompts (4 templates)

Session titling, action summaries, conversation recaps, and next-step suggestions.

Design Principles

The templates follow key architectural patterns:

  1. Safety-First — Every tool prompt includes risk assessment and confirmation rules
  2. Minimal Context — Prompts are optimized to use minimum tokens while maintaining behavior
  3. Composable — Mix and match templates to build custom agent configurations
  4. Observable — Built-in action logging and explanation patterns

FAQ

Q: What is Claude Code Prompts? A: A collection of 26 independently authored prompt templates that recreate the architectural patterns of AI coding agents — system prompts, tool routing, agent delegation, memory management, and multi-agent coordination.

Q: Is this the same as leaked system prompts? A: No. These are clean-room recreations — original implementations inspired by observed behavior patterns, designed to be understood and modified. Not copies of proprietary prompts.

Q: Can I use these in my own agent? A: Yes, MIT license. Copy, modify, and use in any project.


🙏

Source & Thanks

Created by RepoWise. Licensed under MIT.

claude-code-prompts — ⭐ 750+

Thank you to the RepoWise team for documenting and open-sourcing these agent prompt patterns.

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets