iwsknj/dotfiles/ask-claude
Claude Code and agent skill by iwsknj/dotfiles
- community
Checking that the SKILL.md file is still in the repository.
Claude Code CLI(別セッション)にコーディング支援を依頼します。セカンドオピニオン、コード生成、デバッグ、コーディングタスクの委任に使用します。トリガー: "ask-claude", "claudeに聞いて", "別セッションのclaudeに"
Install
npx vskill@latest install iwsknj/dotfiles/ask-claudeSKILL.md
The same SKILL.md was published earlier as iwsknj/dotfiles/ask-claude.
Ask Claude
ローカルの claude CLI を非対話モード(-p / --print)で実行し、現在のセッションとは別コンテキストの Claude に作業を委任する。 ※ 他の claude SKILLS(claude-research / claude-plan / claude-review)を指定されている場合は使わない
注意: claude CLI がインストールされ、PATH で利用可能である必要がある。
クイックスタート
-p で単一のクエリを実行する:
プロンプトはオプションより前に置く。 --tools / --allowedTools / --add-dir は可変長引数のため、後ろに置いたプロンプトを引数として吸い込んでしまう。
よく使うオプション
| オプション | 説明 | |
|---|---|---|
--model <model> | モデルを指定(opus / sonnet / fable / haiku) | |
--effort <level> | 推論の深さ(low / medium / high / xhigh / max) | |
--tools "Read,Grep,Glob" | 使用可能ツールを限定(読み取り専用にする場合) | |
--permission-mode acceptEdits | 編集を確認なしで許可(書き込みを伴う委任時) | |
--add-dir <dir> | 追加でアクセスを許可するディレクトリ | |
--output-format json | 結果を JSON で受け取る(text がデフォルト) | |
--max-budget-usd <amount> | 消費上限(-p 時のみ) |
すべての利用可能なオプションについては、claude --helpを実行してください
使用例
コーディングの質問をする:
コードベースを分析する(読み取り専用):
Claude に自動的に変更を加えさせる:
注意事項
- プロンプトは必ずオプションより前(可変長オプションが引数を吸い込み
Input must be provided...エラーになる) codex execの-Cに相当するオプションはない。対象プロジェクトのディレクトリで実行する(他ディレクトリも読む必要があれば--add-dirを追加)- 出力は stdout に出るため、ファイル化はリダイレクト(
> out.md)で行う -pモードでは権限プロンプトは自動的に拒否される。書き込みを伴う場合は--permission-mode acceptEditsを明示する--tools "Read,Grep,Glob"だけを許可すれば、確認なしで安全に読み取り専用の分析ができる- SessionStart フックの指示が回答に混ざる場合は
--setting-sources user,projectを追加してローカル設定を読ませない
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingclaude/skills/ask-claude/SKILL.md
Popularity
- 7-day trend score
- 0
Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/iwsknj/dotfiles/ask-claude)