mirror of
https://github.com/Piebald-AI/claude-code-system-prompts.git
synced 2026-05-30 05:35:24 +08:00
v2.1.79 (+714 tokens)
This commit is contained in:
parent
ebfc4ebf07
commit
7f0098bb3e
15
README.md
15
README.md
@ -34,7 +34,7 @@ Download it and try it out for free! **https://piebald.ai/**
|
|||||||
> [!important]
|
> [!important]
|
||||||
> **NEW (January 23, 2026): We've added all of Claude Code's ~40 system reminders to this list—see [System Reminders](#system-reminders).**
|
> **NEW (January 23, 2026): We've added all of Claude Code's ~40 system reminders to this list—see [System Reminders](#system-reminders).**
|
||||||
|
|
||||||
This repository contains an up-to-date list of all Claude Code's various system prompts and their associated token counts as of **[Claude Code v2.1.78](https://www.npmjs.com/package/@anthropic-ai/claude-code/v/2.1.78) (March 17th, 2026).** It also contains a [**CHANGELOG.md**](./CHANGELOG.md) for the system prompts across 128 versions since v2.0.14. From the team behind [<img src="https://github.com/Piebald-AI/piebald/raw/main/assets/logo.svg" width="15"> **Piebald.**](https://piebald.ai/)
|
This repository contains an up-to-date list of all Claude Code's various system prompts and their associated token counts as of **[Claude Code v2.1.79](https://www.npmjs.com/package/@anthropic-ai/claude-code/v/2.1.79) (March 18th, 2026).** It also contains a [**CHANGELOG.md**](./CHANGELOG.md) for the system prompts across 129 versions since v2.0.14. From the team behind [<img src="https://github.com/Piebald-AI/piebald/raw/main/assets/logo.svg" width="15"> **Piebald.**](https://piebald.ai/)
|
||||||
|
|
||||||
**This repository is updated within minutes of each Claude Code release. See the [changelog](./CHANGELOG.md), and follow [@PiebaldAI](https://x.com/PiebaldAI) on X for a summary of the system prompt changes in each release.**
|
**This repository is updated within minutes of each Claude Code release. See the [changelog](./CHANGELOG.md), and follow [@PiebaldAI](https://x.com/PiebaldAI) on X for a summary of the system prompt changes in each release.**
|
||||||
|
|
||||||
@ -134,7 +134,7 @@ The content of various template files embedded in Claude Code.
|
|||||||
- [Data: Claude API reference — Ruby](./system-prompts/data-claude-api-reference-ruby.md) (**696** tks) - Ruby SDK reference including installation, client initialization, basic requests, streaming, and beta tool runner.
|
- [Data: Claude API reference — Ruby](./system-prompts/data-claude-api-reference-ruby.md) (**696** tks) - Ruby SDK reference including installation, client initialization, basic requests, streaming, and beta tool runner.
|
||||||
- [Data: Claude API reference — TypeScript](./system-prompts/data-claude-api-reference-typescript.md) (**2837** tks) - TypeScript SDK reference including installation, client initialization, basic requests, thinking, and multi-turn conversation.
|
- [Data: Claude API reference — TypeScript](./system-prompts/data-claude-api-reference-typescript.md) (**2837** tks) - TypeScript SDK reference including installation, client initialization, basic requests, thinking, and multi-turn conversation.
|
||||||
- [Data: Claude API reference — cURL](./system-prompts/data-claude-api-reference-curl.md) (**1996** tks) - Raw API reference for Claude API for use with cURL or else Raw HTTP.
|
- [Data: Claude API reference — cURL](./system-prompts/data-claude-api-reference-curl.md) (**1996** tks) - Raw API reference for Claude API for use with cURL or else Raw HTTP.
|
||||||
- [Data: Claude model catalog](./system-prompts/data-claude-model-catalog.md) (**1558** tks) - Catalog of current and legacy Claude models with exact model IDs, aliases, context windows, and pricing.
|
- [Data: Claude model catalog](./system-prompts/data-claude-model-catalog.md) (**2295** tks) - Catalog of current and legacy Claude models with exact model IDs, aliases, context windows, and pricing.
|
||||||
- [Data: Files API reference — Python](./system-prompts/data-files-api-reference-python.md) (**1334** tks) - Python Files API reference including file upload, listing, deletion, and usage in messages.
|
- [Data: Files API reference — Python](./system-prompts/data-files-api-reference-python.md) (**1334** tks) - Python Files API reference including file upload, listing, deletion, and usage in messages.
|
||||||
- [Data: Files API reference — TypeScript](./system-prompts/data-files-api-reference-typescript.md) (**797** tks) - TypeScript Files API reference including file upload, listing, deletion, and usage in messages.
|
- [Data: Files API reference — TypeScript](./system-prompts/data-files-api-reference-typescript.md) (**797** tks) - TypeScript Files API reference including file upload, listing, deletion, and usage in messages.
|
||||||
- [Data: GitHub Actions workflow for @claude mentions](./system-prompts/data-github-actions-workflow-for-claude-mentions.md) (**527** tks) - GitHub Actions workflow template for triggering Claude Code via @claude mentions.
|
- [Data: GitHub Actions workflow for @claude mentions](./system-prompts/data-github-actions-workflow-for-claude-mentions.md) (**527** tks) - GitHub Actions workflow template for triggering Claude Code via @claude mentions.
|
||||||
@ -200,11 +200,10 @@ Parts of the main system prompt.
|
|||||||
- [System Prompt: Skillify Current Session](./system-prompts/system-prompt-skillify-current-session.md) (**1882** tks) - System prompt for converting the current session in to a skill.
|
- [System Prompt: Skillify Current Session](./system-prompts/system-prompt-skillify-current-session.md) (**1882** tks) - System prompt for converting the current session in to a skill.
|
||||||
- [System Prompt: Subagent delegation examples](./system-prompts/system-prompt-subagent-delegation-examples.md) (**588** tks) - Provides example interactions showing how a coordinator agent should delegate tasks to subagents, handle waiting states, and report results.
|
- [System Prompt: Subagent delegation examples](./system-prompts/system-prompt-subagent-delegation-examples.md) (**588** tks) - Provides example interactions showing how a coordinator agent should delegate tasks to subagents, handle waiting states, and report results.
|
||||||
- [System Prompt: System section](./system-prompts/system-prompt-system-section.md) (**156** tks) - System section of the main system prompt.
|
- [System Prompt: System section](./system-prompts/system-prompt-system-section.md) (**156** tks) - System section of the main system prompt.
|
||||||
- [System Prompt: Team memory content display](./system-prompts/system-prompt-team-memory-content-display.md) (**52** tks) - Renders shared team memory file contents with path and content for injection into the conversation context.
|
- [System Prompt: Team memory content display](./system-prompts/system-prompt-team-memory-content-display.md) (**55** tks) - Renders shared team memory file contents with path and content for injection into the conversation context.
|
||||||
- [System Prompt: Teammate Communication](./system-prompts/system-prompt-teammate-communication.md) (**130** tks) - System prompt for teammate communication in swarm.
|
- [System Prompt: Teammate Communication](./system-prompts/system-prompt-teammate-communication.md) (**130** tks) - System prompt for teammate communication in swarm.
|
||||||
- [System Prompt: Tone and style (code references)](./system-prompts/system-prompt-tone-and-style-code-references.md) (**39** tks) - Instruction to include file_path:line_number when referencing code.
|
- [System Prompt: Tone and style (code references)](./system-prompts/system-prompt-tone-and-style-code-references.md) (**39** tks) - Instruction to include file_path:line_number when referencing code.
|
||||||
- [System Prompt: Tone and style (concise output — short)](./system-prompts/system-prompt-tone-and-style-concise-output-short.md) (**16** tks) - Instruction for short and concise responses.
|
- [System Prompt: Tone and style (concise output — short)](./system-prompts/system-prompt-tone-and-style-concise-output-short.md) (**16** tks) - Instruction for short and concise responses.
|
||||||
- [System Prompt: Tool Use Summary Generation](./system-prompts/system-prompt-tool-use-summary-generation.md) (**171** tks) - Prompt for generating summaries of tool usage.
|
|
||||||
- [System Prompt: Tool execution denied](./system-prompts/system-prompt-tool-execution-denied.md) (**144** tks) - System prompt for when tool execution is denied.
|
- [System Prompt: Tool execution denied](./system-prompts/system-prompt-tool-execution-denied.md) (**144** tks) - System prompt for when tool execution is denied.
|
||||||
- [System Prompt: Tool usage (create files)](./system-prompts/system-prompt-tool-usage-create-files.md) (**30** tks) - Prefer Write tool instead of cat heredoc or echo redirection.
|
- [System Prompt: Tool usage (create files)](./system-prompts/system-prompt-tool-usage-create-files.md) (**30** tks) - Prefer Write tool instead of cat heredoc or echo redirection.
|
||||||
- [System Prompt: Tool usage (delegate exploration)](./system-prompts/system-prompt-tool-usage-delegate-exploration.md) (**95** tks) - Use Task tool for broader codebase exploration and deep research.
|
- [System Prompt: Tool usage (delegate exploration)](./system-prompts/system-prompt-tool-usage-delegate-exploration.md) (**95** tks) - Use Task tool for broader codebase exploration and deep research.
|
||||||
@ -243,7 +242,7 @@ Text for large system reminders.
|
|||||||
- [System Reminder: MCP resource no content](./system-prompts/system-reminder-mcp-resource-no-content.md) (**41** tks) - Shown when MCP resource has no content.
|
- [System Reminder: MCP resource no content](./system-prompts/system-reminder-mcp-resource-no-content.md) (**41** tks) - Shown when MCP resource has no content.
|
||||||
- [System Reminder: MCP resource no displayable content](./system-prompts/system-reminder-mcp-resource-no-displayable-content.md) (**43** tks) - Shown when MCP resource has no displayable content.
|
- [System Reminder: MCP resource no displayable content](./system-prompts/system-reminder-mcp-resource-no-displayable-content.md) (**43** tks) - Shown when MCP resource has no displayable content.
|
||||||
- [System Reminder: Malware analysis after Read tool call](./system-prompts/system-reminder-malware-analysis-after-read-tool-call.md) (**87** tks) - Instructions for analyzing malware without improving or augmenting it.
|
- [System Reminder: Malware analysis after Read tool call](./system-prompts/system-reminder-malware-analysis-after-read-tool-call.md) (**87** tks) - Instructions for analyzing malware without improving or augmenting it.
|
||||||
- [System Reminder: Memory file contents](./system-prompts/system-reminder-memory-file-contents.md) (**38** tks) - Contents of a memory file by path.
|
- [System Reminder: Memory file contents](./system-prompts/system-reminder-memory-file-contents.md) (**36** tks) - Contents of a memory file by path.
|
||||||
- [System Reminder: Nested memory contents](./system-prompts/system-reminder-nested-memory-contents.md) (**33** tks) - Contents of a nested memory file.
|
- [System Reminder: Nested memory contents](./system-prompts/system-reminder-nested-memory-contents.md) (**33** tks) - Contents of a nested memory file.
|
||||||
- [System Reminder: New diagnostics detected](./system-prompts/system-reminder-new-diagnostics-detected.md) (**35** tks) - Notification about new diagnostic issues.
|
- [System Reminder: New diagnostics detected](./system-prompts/system-reminder-new-diagnostics-detected.md) (**35** tks) - Notification about new diagnostic issues.
|
||||||
- [System Reminder: Output style active](./system-prompts/system-reminder-output-style-active.md) (**32** tks) - Notification that an output style is active.
|
- [System Reminder: Output style active](./system-prompts/system-reminder-output-style-active.md) (**32** tks) - Notification that an output style is active.
|
||||||
@ -266,7 +265,7 @@ Text for large system reminders.
|
|||||||
|
|
||||||
- [Tool Description: AskUserQuestion](./system-prompts/tool-description-askuserquestion.md) (**287** tks) - Tool description for asking user questions.
|
- [Tool Description: AskUserQuestion](./system-prompts/tool-description-askuserquestion.md) (**287** tks) - Tool description for asking user questions.
|
||||||
- [Tool Description: Computer](./system-prompts/tool-description-computer.md) (**161** tks) - Main description for the Chrome browser computer automation tool.
|
- [Tool Description: Computer](./system-prompts/tool-description-computer.md) (**161** tks) - Main description for the Chrome browser computer automation tool.
|
||||||
- [Tool Description: CronCreate](./system-prompts/tool-description-croncreate.md) (**738** tks) - Describes the CronCreate tool for enqueuing one-shot or recurring cron-based jobs with jitter and off-minute scheduling guidance.
|
- [Tool Description: CronCreate](./system-prompts/tool-description-croncreate.md) (**754** tks) - Describes the CronCreate tool for enqueuing one-shot or recurring cron-based jobs with jitter and off-minute scheduling guidance.
|
||||||
- [Tool Description: Edit](./system-prompts/tool-description-edit.md) (**246** tks) - Tool for performing exact string replacements in files.
|
- [Tool Description: Edit](./system-prompts/tool-description-edit.md) (**246** tks) - Tool for performing exact string replacements in files.
|
||||||
- [Tool Description: EnterPlanMode](./system-prompts/tool-description-enterplanmode.md) (**878** tks) - Tool description for entering plan mode to explore and design implementation approaches.
|
- [Tool Description: EnterPlanMode](./system-prompts/tool-description-enterplanmode.md) (**878** tks) - Tool description for entering plan mode to explore and design implementation approaches.
|
||||||
- [Tool Description: EnterWorktree](./system-prompts/tool-description-enterworktree.md) (**359** tks) - Tool description for the EnterWorktree tool.
|
- [Tool Description: EnterWorktree](./system-prompts/tool-description-enterworktree.md) (**359** tks) - Tool description for the EnterWorktree tool.
|
||||||
@ -347,10 +346,10 @@ Text for large system reminders.
|
|||||||
Built-in skill prompts for specialized tasks.
|
Built-in skill prompts for specialized tasks.
|
||||||
|
|
||||||
- [Skill: /init CLAUDE.md and skill setup (new version)](./system-prompts/skill-init-claudemd-and-skill-setup-new-version.md) (**4783** tks) - A comprehensive onboarding flow for setting up CLAUDE.md and related skills/hooks in the current repository, including codebase exploration, user interviews, and iterative proposal refinement.
|
- [Skill: /init CLAUDE.md and skill setup (new version)](./system-prompts/skill-init-claudemd-and-skill-setup-new-version.md) (**4783** tks) - A comprehensive onboarding flow for setting up CLAUDE.md and related skills/hooks in the current repository, including codebase exploration, user interviews, and iterative proposal refinement.
|
||||||
- [Skill: /loop slash command](./system-prompts/skill-loop-slash-command.md) (**1033** tks) - Parses user input into an interval and prompt, converts the interval to a cron expression, and schedules a recurring task.
|
- [Skill: /loop slash command](./system-prompts/skill-loop-slash-command.md) (**1040** tks) - Parses user input into an interval and prompt, converts the interval to a cron expression, and schedules a recurring task.
|
||||||
- [Skill: /stuck slash command](./system-prompts/skill-stuck-slash-command.md) (**964** tks) - Diagnozse frozen or slow Claude Code sessions.
|
- [Skill: /stuck slash command](./system-prompts/skill-stuck-slash-command.md) (**964** tks) - Diagnozse frozen or slow Claude Code sessions.
|
||||||
- [Skill: Build with Claude API (reference guide)](./system-prompts/skill-build-with-claude-api-reference-guide.md) (**410** tks) - Template for presenting language-specific reference documentation with quick task navigation.
|
- [Skill: Build with Claude API (reference guide)](./system-prompts/skill-build-with-claude-api-reference-guide.md) (**410** tks) - Template for presenting language-specific reference documentation with quick task navigation.
|
||||||
- [Skill: Build with Claude API](./system-prompts/skill-build-with-claude-api.md) (**5255** tks) - Main routing guide for building LLM-powered applications with Claude, including language detection, surface selection, and architecture overview.
|
- [Skill: Build with Claude API](./system-prompts/skill-build-with-claude-api.md) (**5379** tks) - Main routing guide for building LLM-powered applications with Claude, including language detection, surface selection, and architecture overview.
|
||||||
- [Skill: Create verifier skills](./system-prompts/skill-create-verifier-skills.md) (**2625** tks) - Prompt for creating verifier skills for the Verify agent to automatically verify code changes.
|
- [Skill: Create verifier skills](./system-prompts/skill-create-verifier-skills.md) (**2625** tks) - Prompt for creating verifier skills for the Verify agent to automatically verify code changes.
|
||||||
- [Skill: Debugging](./system-prompts/skill-debugging.md) (**412** tks) - Instructions for debugging an issue that the user is encountering in the Claude Code session.
|
- [Skill: Debugging](./system-prompts/skill-debugging.md) (**412** tks) - Instructions for debugging an issue that the user is encountering in the Claude Code session.
|
||||||
- [Skill: Simplify](./system-prompts/skill-simplify.md) (**822** tks) - Instructions for simplifying code.
|
- [Skill: Simplify](./system-prompts/skill-simplify.md) (**822** tks) - Instructions for simplifying code.
|
||||||
|
|||||||
@ -1,11 +1,62 @@
|
|||||||
<!--
|
<!--
|
||||||
name: 'Data: Claude model catalog'
|
name: 'Data: Claude model catalog'
|
||||||
description: Catalog of current and legacy Claude models with exact model IDs, aliases, context windows, and pricing
|
description: Catalog of current and legacy Claude models with exact model IDs, aliases, context windows, and pricing
|
||||||
ccVersion: 2.1.73
|
ccVersion: 2.1.79
|
||||||
-->
|
-->
|
||||||
# Claude Model Catalog
|
# Claude Model Catalog
|
||||||
|
|
||||||
**Only use exact model IDs listed in this file.** Never guess or construct model IDs — incorrect IDs will cause API errors. Use aliases wherever available. For the latest information, WebFetch the Models Overview URL in \`shared/live-sources.md\`.
|
**Only use exact model IDs listed in this file.** Never guess or construct model IDs — incorrect IDs will cause API errors. Use aliases wherever available. For the latest information, WebFetch the Models Overview URL in \`shared/live-sources.md\`, or query the Models API directly (see Programmatic Model Discovery below).
|
||||||
|
|
||||||
|
## Programmatic Model Discovery
|
||||||
|
|
||||||
|
For **live** capability data — context window, max output tokens, feature support (thinking, vision, effort, structured outputs, etc.) — query the Models API instead of relying on the cached tables below. Use this when the user asks "what's the context window for X", "does model X support vision/thinking/effort", "which models support feature Y", or wants to select a model by capability at runtime.
|
||||||
|
|
||||||
|
\`\`\`python
|
||||||
|
m = client.models.retrieve("claude-opus-4-6")
|
||||||
|
m.id # "claude-opus-4-6"
|
||||||
|
m.display_name # "Claude Opus 4.6"
|
||||||
|
m.max_input_tokens # context window (int)
|
||||||
|
m.max_tokens # max output tokens (int)
|
||||||
|
|
||||||
|
# capabilities is an untyped nested dict — bracket access, check ["supported"] at the leaf
|
||||||
|
caps = m.capabilities
|
||||||
|
caps["image_input"]["supported"] # vision
|
||||||
|
caps["thinking"]["types"]["adaptive"]["supported"] # adaptive thinking
|
||||||
|
caps["effort"]["max"]["supported"] # effort: max (also low/medium/high)
|
||||||
|
caps["structured_outputs"]["supported"]
|
||||||
|
caps["context_management"]["compact_20260112"]["supported"]
|
||||||
|
|
||||||
|
# filter across all models — iterate the page object directly (auto-paginates); do NOT use .data
|
||||||
|
[m for m in client.models.list()
|
||||||
|
if m.capabilities["thinking"]["types"]["adaptive"]["supported"]
|
||||||
|
and m.max_input_tokens >= 200_000]
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
Top-level fields (\`id\`, \`display_name\`, \`max_input_tokens\`, \`max_tokens\`) are typed attributes. \`capabilities\` is a dict — use bracket access, not attribute access. The API returns the full capability tree for every model with \`supported: true/false\` at each leaf, so bracket chains are safe without \`.get()\` guards. TypeScript SDK: same method names, also auto-paginates on iteration.
|
||||||
|
|
||||||
|
### Raw HTTP
|
||||||
|
|
||||||
|
\`\`\`bash
|
||||||
|
curl https://api.anthropic.com/v1/models/claude-opus-4-6 \\
|
||||||
|
-H "x-api-key: $ANTHROPIC_API_KEY" \\
|
||||||
|
-H "anthropic-version: 2023-06-01"
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
|
\`\`\`json
|
||||||
|
{
|
||||||
|
"id": "claude-opus-4-6",
|
||||||
|
"display_name": "Claude Opus 4.6",
|
||||||
|
"max_input_tokens": 1000000,
|
||||||
|
"max_tokens": 128000,
|
||||||
|
"capabilities": {
|
||||||
|
"image_input": {"supported": true},
|
||||||
|
"structured_outputs": {"supported": true},
|
||||||
|
"thinking": {"supported": true, "types": {"enabled": {"supported": true}, "adaptive": {"supported": true}}},
|
||||||
|
"effort": {"supported": true, "low": {"supported": true}, …, "max": {"supported": true}},
|
||||||
|
…
|
||||||
|
}
|
||||||
|
}
|
||||||
|
\`\`\`
|
||||||
|
|
||||||
## Current Models (recommended)
|
## Current Models (recommended)
|
||||||
|
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<!--
|
<!--
|
||||||
name: 'Skill: Build with Claude API'
|
name: 'Skill: Build with Claude API'
|
||||||
description: Main routing guide for building LLM-powered applications with Claude, including language detection, surface selection, and architecture overview
|
description: Main routing guide for building LLM-powered applications with Claude, including language detection, surface selection, and architecture overview
|
||||||
ccVersion: 2.1.78
|
ccVersion: 2.1.79
|
||||||
-->
|
-->
|
||||||
# Building LLM-Powered Applications with Claude
|
# Building LLM-Powered Applications with Claude
|
||||||
|
|
||||||
@ -125,7 +125,7 @@ Everything goes through \`POST /v1/messages\`. Tools and output constraints are
|
|||||||
|
|
||||||
**Structured outputs** — Constrains the Messages API response format (\`output_config.format\`) and/or tool parameter validation (\`strict: true\`). The recommended approach is \`client.messages.parse()\` which validates responses against your schema automatically. Note: the old \`output_format\` parameter is deprecated; use \`output_config: {format: {...}}\` on \`messages.create()\`.
|
**Structured outputs** — Constrains the Messages API response format (\`output_config.format\`) and/or tool parameter validation (\`strict: true\`). The recommended approach is \`client.messages.parse()\` which validates responses against your schema automatically. Note: the old \`output_format\` parameter is deprecated; use \`output_config: {format: {...}}\` on \`messages.create()\`.
|
||||||
|
|
||||||
**Supporting endpoints** — Batches (\`POST /v1/messages/batches\`), Files (\`POST /v1/files\`), and Token Counting feed into or support Messages API requests.
|
**Supporting endpoints** — Batches (\`POST /v1/messages/batches\`), Files (\`POST /v1/files\`), Token Counting, and Models (\`GET /v1/models\`, \`GET /v1/models/{id}\` — live capability/context-window discovery) feed into or support Messages API requests.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
@ -143,6 +143,8 @@ Everything goes through \`POST /v1/messages\`. Tools and output constraints are
|
|||||||
|
|
||||||
A note: if any of the model strings above look unfamiliar to you, that's to be expected — that just means they were released after your training data cutoff. Rest assured they are real models; we wouldn't mess with you like that.
|
A note: if any of the model strings above look unfamiliar to you, that's to be expected — that just means they were released after your training data cutoff. Rest assured they are real models; we wouldn't mess with you like that.
|
||||||
|
|
||||||
|
**Live capability lookup:** The table above is cached. When the user asks "what's the context window for X", "does X support vision/thinking/effort", or "which models support Y", query the Models API (\`client.models.retrieve(id)\` / \`client.models.list()\`) — see \`shared/models.md\` for the field reference and capability-filter examples.
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Thinking & Effort (Quick Reference)
|
## Thinking & Effort (Quick Reference)
|
||||||
|
|||||||
@ -1,11 +1,12 @@
|
|||||||
<!--
|
<!--
|
||||||
name: 'Skill: /loop slash command'
|
name: 'Skill: /loop slash command'
|
||||||
description: Parses user input into an interval and prompt, converts the interval to a cron expression, and schedules a recurring task
|
description: Parses user input into an interval and prompt, converts the interval to a cron expression, and schedules a recurring task
|
||||||
ccVersion: 2.1.77
|
ccVersion: 2.1.79
|
||||||
variables:
|
variables:
|
||||||
- CRON_CREATE_TOOL_NAME
|
- CRON_CREATE_TOOL_NAME
|
||||||
- DEFAULT_INTERVAL
|
- DEFAULT_INTERVAL
|
||||||
- CRON_CANCEL_TOOL_NAME
|
- CANCEL_TIMEFRAME_DAYS
|
||||||
|
- CRON_DELETE_TOOL_NAME
|
||||||
- USER_INPUT
|
- USER_INPUT
|
||||||
-->
|
-->
|
||||||
# /loop — schedule a recurring prompt
|
# /loop — schedule a recurring prompt
|
||||||
@ -48,7 +49,7 @@ Supported suffixes: \`s\` (seconds, rounded up to nearest minute, min 1), \`m\`
|
|||||||
- \`cron\`: the expression from the table above
|
- \`cron\`: the expression from the table above
|
||||||
- \`prompt\`: the parsed prompt from above, verbatim (slash commands are passed through unchanged)
|
- \`prompt\`: the parsed prompt from above, verbatim (slash commands are passed through unchanged)
|
||||||
- \`recurring\`: \`true\`
|
- \`recurring\`: \`true\`
|
||||||
2. Briefly confirm: what's scheduled, the cron expression, the human-readable cadence, that recurring tasks auto-expire after 3 days, and that they can cancel sooner with ${CRON_CANCEL_TOOL_NAME} (include the job ID).
|
2. Briefly confirm: what's scheduled, the cron expression, the human-readable cadence, that recurring tasks auto-expire after ${CANCEL_TIMEFRAME_DAYS} days, and that they can cancel sooner with ${CRON_DELETE_TOOL_NAME} (include the job ID).
|
||||||
3. **Then immediately execute the parsed prompt now** — don't wait for the first cron fire. If it's a slash command, invoke it via the Skill tool; otherwise act on it directly.
|
3. **Then immediately execute the parsed prompt now** — don't wait for the first cron fire. If it's a slash command, invoke it via the Skill tool; otherwise act on it directly.
|
||||||
|
|
||||||
## Input
|
## Input
|
||||||
|
|||||||
@ -1,13 +1,14 @@
|
|||||||
<!--
|
<!--
|
||||||
name: 'System Prompt: Team memory content display'
|
name: 'System Prompt: Team memory content display'
|
||||||
description: Renders shared team memory file contents with path and content for injection into the conversation context
|
description: Renders shared team memory file contents with path and content for injection into the conversation context
|
||||||
ccVersion: 2.1.71
|
ccVersion: 2.1.79
|
||||||
variables:
|
variables:
|
||||||
- MEMORY_FILE
|
- MEMORY_ITEM
|
||||||
- INSTRUCTIONS_TYPE
|
- MEMORY_TYPE_DESCRIPTION
|
||||||
|
- MEMORY_CONTENT
|
||||||
-->
|
-->
|
||||||
Contents of ${MEMORY_FILE.path}${INSTRUCTIONS_TYPE}:
|
Contents of ${MEMORY_ITEM.path}${MEMORY_TYPE_DESCRIPTION}:
|
||||||
|
|
||||||
<team-memory-content source="shared">
|
<team-memory-content source="shared">
|
||||||
${MEMORY_FILE.content}
|
${MEMORY_CONTENT}
|
||||||
</team-memory-content>
|
</team-memory-content>
|
||||||
|
|||||||
@ -1,21 +0,0 @@
|
|||||||
<!--
|
|
||||||
name: 'System Prompt: Tool Use Summary Generation'
|
|
||||||
description: Prompt for generating summaries of tool usage
|
|
||||||
ccVersion: 2.1.19
|
|
||||||
-->
|
|
||||||
You summarize what was accomplished by a coding assistant.
|
|
||||||
Given the tools executed and their results, provide a brief summary.
|
|
||||||
|
|
||||||
Rules:
|
|
||||||
- Use past tense (e.g., "Read package.json", "Fixed type error in utils.ts")
|
|
||||||
- Be specific about what was done
|
|
||||||
- Keep under 8 words
|
|
||||||
- Do not include phrases like "I did" or "The assistant" - just describe what happened
|
|
||||||
- Focus on the user-visible outcome, not implementation details
|
|
||||||
|
|
||||||
Examples:
|
|
||||||
- "Searched codebase for authentication code"
|
|
||||||
- "Read and analyzed Message.tsx component"
|
|
||||||
- "Fixed null pointer exception in data processor"
|
|
||||||
- "Created new user registration endpoint"
|
|
||||||
- "Ran tests and fixed 3 failing assertions"
|
|
||||||
@ -1,11 +1,12 @@
|
|||||||
<!--
|
<!--
|
||||||
name: 'System Reminder: Memory file contents'
|
name: 'System Reminder: Memory file contents'
|
||||||
description: Contents of a memory file by path
|
description: Contents of a memory file by path
|
||||||
ccVersion: 2.1.18
|
ccVersion: 2.1.79
|
||||||
variables:
|
variables:
|
||||||
- MEMORY_ITEM
|
- MEMORY_ITEM
|
||||||
- MEMORY_TYPE_DESCRIPTION
|
- MEMORY_TYPE_DESCRIPTION
|
||||||
|
- MEMORY_CONTENT
|
||||||
-->
|
-->
|
||||||
Contents of ${MEMORY_ITEM.path}${MEMORY_TYPE_DESCRIPTION}:
|
Contents of ${MEMORY_ITEM.path}${MEMORY_TYPE_DESCRIPTION}:
|
||||||
|
|
||||||
${MEMORY_ITEM.content}
|
${MEMORY_CONTENT}
|
||||||
|
|||||||
@ -1,8 +1,9 @@
|
|||||||
<!--
|
<!--
|
||||||
name: 'Tool Description: CronCreate'
|
name: 'Tool Description: CronCreate'
|
||||||
description: Describes the CronCreate tool for enqueuing one-shot or recurring cron-based jobs with jitter and off-minute scheduling guidance
|
description: Describes the CronCreate tool for enqueuing one-shot or recurring cron-based jobs with jitter and off-minute scheduling guidance
|
||||||
ccVersion: 2.1.71
|
ccVersion: 2.1.79
|
||||||
variables:
|
variables:
|
||||||
|
- CANCEL_TIMEFRAME_DAYS
|
||||||
- CRON_DELETE_TOOL_NAME
|
- CRON_DELETE_TOOL_NAME
|
||||||
-->
|
-->
|
||||||
Schedule a prompt to be enqueued at a future time. Use for both recurring schedules and one-shot reminders.
|
Schedule a prompt to be enqueued at a future time. Use for both recurring schedules and one-shot reminders.
|
||||||
@ -38,6 +39,6 @@ Jobs live only in this Claude session — nothing is written to disk, and the jo
|
|||||||
|
|
||||||
Jobs only fire while the REPL is idle (not mid-query). ${""}The scheduler adds a small deterministic jitter on top of whatever you pick: recurring tasks fire up to 10% of their period late (max 15 min); one-shot tasks landing on :00 or :30 fire up to 90 s early. Picking an off-minute is still the bigger lever.
|
Jobs only fire while the REPL is idle (not mid-query). ${""}The scheduler adds a small deterministic jitter on top of whatever you pick: recurring tasks fire up to 10% of their period late (max 15 min); one-shot tasks landing on :00 or :30 fire up to 90 s early. Picking an off-minute is still the bigger lever.
|
||||||
|
|
||||||
Recurring tasks auto-expire after 3 days — they fire one final time, then are deleted. This bounds session lifetime. Tell the user about the 3-day limit when scheduling recurring jobs.
|
Recurring tasks auto-expire after ${CANCEL_TIMEFRAME_DAYS} days — they fire one final time, then are deleted. This bounds session lifetime. Tell the user about the ${CANCEL_TIMEFRAME_DAYS}-day limit when scheduling recurring jobs.
|
||||||
|
|
||||||
Returns a job ID you can pass to ${CRON_DELETE_TOOL_NAME}.
|
Returns a job ID you can pass to ${CRON_DELETE_TOOL_NAME}.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user