Delegate coding work to Claude Code CLI for repository edits, reviews, and multi-turn implementation sessions.
63
76%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Fix and improve this skill with Tessl
tessl review fix ./skills/agents/claude-code/SKILL.mdUse Claude Code when the user wants another coding agent to edit a repository, review a diff, run tests, or carry an implementation through multiple turns. Gini should still own the visible approval, audit, and trace boundary around the shell commands it runs.
npm install -g @anthropic-ai/claude-codeclaude or claude auth login.claude doctor.claude auth status --text.Use print mode for non-interactive automation. It runs once and exits, which makes it the default choice for Gini-triggered delegation.
claude -p "Find the failing route test, patch the smallest fix, and run that test." --allowedTools "Read,Edit,Bash" --max-turns 10Review a diff:
git diff origin/main...HEAD | claude -p "Review this diff for correctness bugs and missing tests. Return findings only." --max-turns 1Produce structured output:
claude -p "List risky files in this change" --output-format json --max-turns 3Use --max-turns for bounded automation and --allowedTools when the task
should only read, edit, or run selected command classes.
Use tmux when the user wants a live multi-turn Claude Code session.
tmux new-session -d -s claude-gini -x 140 -y 40
tmux send-keys -t claude-gini 'cd /path/to/repo && claude' Enter
sleep 5
tmux capture-pane -t claude-gini -p -S -80
tmux send-keys -t claude-gini 'Implement the settings cleanup, then stop for review.' EnterRead progress with:
tmux capture-pane -t claude-gini -p -S -120Exit cleanly with:
tmux send-keys -t claude-gini '/exit' EnterClaude Code can show first-run workspace and permission dialogs in interactive mode. Inspect the pane before sending keys.
Workspace confirmation usually defaults to the safe accept option:
tmux send-keys -t claude-gini EnterIf the session was launched with --dangerously-skip-permissions, the bypass
warning usually requires moving to the accept option first:
tmux send-keys -t claude-gini Down
sleep 0.3
tmux send-keys -t claude-gini EnterAvoid --dangerously-skip-permissions unless the user explicitly wants that
risk.
claude --version
claude doctor
claude auth status --text
claude -p "Summarize this repository's test layout" --max-turns 2
claude -c -p "Continue the previous fix and report what changed" --max-turns 5
claude -r <session-id> -p "Add tests for the change you just made" --max-turns 5
claude mcp listFor parallel work, create one worktree per Claude Code instance.
git worktree add -b fix/provider-status /tmp/gini-provider-status main
cd /tmp/gini-provider-status
claude -p "Fix provider status reporting and run the focused tests." --allowedTools "Read,Edit,Bash" --max-turns 15Inspect the diff and test results before merging the worktree changes back.
claude -p for one-shot Gini automation.--max-turns.--allowedTools for least-privilege delegated work.6c5d85e
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.