claude_code
Execute code, manage files, and automate Git workflows using natural language prompts. Generate, analyze, refactor code; perform file operations; handle Git tasks; and run CLI commands for streamlined development.
Instructions
Claude Code Agent: Your versatile multi-modal assistant for code, file, Git, and terminal operations via Claude CLI. Use workFolder
for contextual execution.
• File ops: Create, read, (fuzzy) edit, move, copy, delete, list files, analyze/ocr images, file content analysis └─ e.g., "Create /tmp/log.txt with 'system boot'", "Edit main.py to replace 'debug_mode = True' with 'debug_mode = False'", "List files in /src", "Move a specific section somewhere else"
• Code: Generate / analyse / refactor / fix └─ e.g. "Generate Python to parse CSV→JSON", "Find bugs in my_script.py"
• Git: Stage ▸ commit ▸ push ▸ tag (any workflow) └─ "Commit '/workspace/src/main.java' with 'feat: user auth' to develop."
• Terminal: Run any CLI cmd or open URLs └─ "npm run build", "Open https://developer.mozilla.org"
• Web search + summarise content on-the-fly
• Multi-step workflows (Version bumps, changelog updates, release tagging, etc.)
• GitHub integration Create PRs, check CI status
• Confused or stuck on an issue? Ask Claude Code for a second opinion, it might surprise you!
Prompt tips
Be concise, explicit & step-by-step for complex tasks. No need for niceties, this is a tool to get things done.
For multi-line text, write it to a temporary file in the project root, use that file, then delete it.
If you get a timeout, split the task into smaller steps.
Seeking a second opinion/analysis: If you're stuck or want advice, you can ask
claude_code
to analyze a problem and suggest solutions. Clearly state in your prompt that you are looking for analysis only and no actual file modifications should be made.If workFolder is set to the project path, there is no need to repeat that path in the prompt and you can use relative paths for files.
Claude Code is really good at complex multi-step file operations and refactorings and faster than your native edit features.
Combine file operations, README updates, and Git commands in a sequence.
Claude can do much more, just ask it!
Input Schema
Name | Required | Description | Default |
---|---|---|---|
prompt | Yes | The detailed natural language prompt for Claude to execute. | |
workFolder | No | Mandatory when using file operations or referencing any file. The working directory for the Claude CLI execution. Must be an absolute path. |