MCPcopy Create free account

hub / github.com/Piebald-AI/claude-code-system-prompts / functions

Functions14 in github.com/Piebald-AI/claude-code-system-prompts

↓ 4 callersFunctionreadFileSync
(file)
tools/updatePrompts.js:26
↓ 3 callersFunctionwriteFileSync
(file, content)
tools/updatePrompts.js:31
↓ 1 callersFunctioncategorizePrompt
* Categorize prompts based on their name
tools/updatePrompts.js:256
↓ 1 callersFunctioncountTokens
* Count tokens using Anthropic's token counting API
tools/updatePrompts.js:39
↓ 1 callersFunctioncountTokensBatch
* Batch count tokens for multiple prompts with rate limiting
tools/updatePrompts.js:105
↓ 1 callersFunctioncreateMarkdownContent
* Create markdown file content with HTML comment metadata
tools/updatePrompts.js:204
↓ 1 callersFunctioncreateReadmeEntry
* Update or create README entry for a prompt
tools/updatePrompts.js:289
↓ 1 callersFunctiongetNpmReleaseDate
* Fetch release date from npm for a specific version
tools/updatePrompts.js:70
↓ 1 callersFunctionnameToFilename
* Convert prompt name to filename * Examples: * "Agent Prompt: Explore" → "agent-prompt-explore.md" * "System Prompt: Main system prompt" → "sy
tools/updatePrompts.js:141
↓ 1 callersFunctionparseMarkdownFile
* Parse existing markdown file to extract metadata
tools/updatePrompts.js:233
↓ 1 callersFunctionparseReadmeTokenCounts
* Parse existing token counts from README
tools/updatePrompts.js:301
↓ 1 callersFunctionreconstructPrompt
* Reconstruct the full prompt content from pieces and identifiers
tools/updatePrompts.js:177
↓ 1 callersFunctionupdateFromJSON
* Main update function
tools/updatePrompts.js:320
↓ 1 callersFunctionupdateReadme
* Update README.md with new prompt information
tools/updatePrompts.js:423