claude

Invokes the Claude Code CLI non-interactively for read-only consultation or delegated task execution.

1|Updated Aug 24, 2026
One-click install
npx skills add https://github.com/mjun0812/skills --skill claude-mjun0812
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: claude
Source: https://github.com/mjun0812/skills/tree/main/skills/delegation/claude
Command: npx skills add https://github.com/mjun0812/skills --skill claude-mjun0812

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When you want a second opinion from Claude Code or want to hand off a concrete task to it, doing so manually requires crafting prompts, choosing permissions, and managing CLI flags yourself. This Skill standardizes that delegation so the calling agent can consult Claude read-only or delegate editing work with the correct permissions every time. ## Core Features & Use Cases - Consultation Mode (default): Runs Claude Code CLI in read-only mode with restricted tools (Read, Grep, Glob) to get answers, reviews, or second opinions without any file modifications. - Delegation Mode: Runs Claude with bypassPermissions so it can edit, write, and execute commands, used only when the user explicitly asks Claude to perform the work. - Model Selection: Chooses haiku, sonnet, or opus based on task size and complexity, defaulting to opus when uncertain. - Use Case: While working on a refactor, you say "ask Claude to review this approach" — the Skill builds a self-contained prompt with file paths and context, runs the CLI in read-only mode, and summarizes the answer alongside points of agreement and disagreement. ## Quick Start Ask Claude to review the authentication module in src/auth and summarize its recommendations.

Frequently Asked Questions about claude

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I run Claude Code CLI non-interactively from another agent?

Use claude -p with a prompt piped via heredoc, plus --model to select haiku, sonnet, or opus. Add --no-session-persistence and --add-dir to control session state and directory access.

How do I restrict Claude Code CLI to read-only operations?

Pass --tools "Read,Grep,Glob" and --disallowedTools "Edit,Write,Bash" with --permission-mode dontAsk. This limits Claude to reading and searching files without any modifications.

When should I use delegation mode instead of consultation mode?

Use delegation mode only when the user explicitly asks Claude to perform editing work, such as "let Claude do it". It runs with --permission-mode bypassPermissions, granting full Edit, Write, and Bash access.

Which Claude model should I choose for CLI tasks?

Use haiku for light fixes and routine questions, sonnet for standard implementation and review work, and opus for heavy or complex tasks. When uncertain, default to opus.

What happens if the claude CLI is not installed?

The Skill checks for the CLI with which claude before running anything. If it is missing or authentication fails, it stops immediately and reports the error to the user.