Show HN: Full system prompt from Claude Code agent as a clean Markdown file

gist.github.com

2 points by sarath_suresh 14 hours ago

I Extracted and cleaned it from from the minified javascript file in the node_modules foldecreated on installing the npm package @anthropic-ai/claude-code.The sections are: Here’s the content converted into a numbered bullet list with an indented hierarchy for the level headers:

1. Code Bash command prefix detection 1.1. Command prefix extraction examples 1.2. Command Validation and Security 1.3. File and Code Handling 1.4. Path Management and Workspace Detection 1.5. Jupyter Notebook Handling 1.6. File Viewing Capabilities 1.7. Directory Listing 1.8. Content Searching 1.9. Security Considerations 1.10. UI Rendering 1.11. Constants and Configuration

2. Committing changes with git

3. Creating pull requests 3.1. Summary 3.2. Test plan 3.3. Overview 3.4. Key Requirements 3.5. Implementation Notes

4. Memory

5. Tone and style

6. Proactiveness

7. Following conventions

8. Code style

9. Doing tasks

10. Tool usage 10.1. Available Tools 10.2. Security Mechanisms 10.3. Technical Constraints 10.4. Best Practices 10.5. Tool Usage Policies