跳到主要内容
知仓学习社ZHICANG

claude-code

Use when the user asks for help with Claude Code, the Claude Code CLI, Anthropic coding-agent workflows, prompts to hand off work to Claude Code, or…

不碰外部(只输出文字)无严重或高危命中hashgraph-online/awesome-codex-plugins

它会碰到什么

扫了多少1 个文本文件,4 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Claude Code

Use this skill when the user wants Codex to help them work with Claude Code.

Workflow

  1. Clarify the user goal only when the target repo, command, or desired handoff is ambiguous.
  2. If local setup matters, inspect the environment before giving advice:
  • Check whether claude is available with claude --version.
  • If this plugin's MCP tools are available, call claude_code_status first.
  • Check the current repository state with git status --short when operating inside a repo.
  • Read project docs such as README.md, CLAUDE.md, AGENTS.md, or package scripts before suggesting commands.
  1. When preparing a handoff prompt for Claude Code, include:
  • The concrete objective.
  • Relevant files or directories.
  • Constraints from the user.
  • Verification steps to run after edits.
  1. When troubleshooting, separate setup problems from project problems:
  • Setup: missing CLI, authentication, shell path, permissions, or network access.
  • Project: failing install, failing tests, missing env vars, or unclear repo instructions.
  1. Prefer precise terminal commands the user can run directly, and explain what each command proves.

Account Access

This plugin never stores Claude credentials. It accesses a Claude Code account only through the

local claude CLI after the user has authenticated with Anthropic.

Use this setup sequence:

  1. Check whether the CLI is installed with claude_code_status or claude --version.
  2. If it is missing on Windows, install it with one of Anthropic's supported commands:
  • irm https://claude.ai/install.ps1 | iex
  • npm install -g @anthropic-ai/claude-code
  1. Call claude_code_login to open the official browser login and complete the confirmation.
  2. Re-run claude_code_status.
  3. Use claude_code_prompt only after the CLI is installed and authenticated.

Verification Runs

claude_code_prompt runs only in the current Codex task workspace, always starts Claude Code with

--safe-mode, and defaults to manual permissions. This prevents repository configuration, hooks,

plugins, and MCP configuration from being loaded implicitly.

Use manual when each action should ask for approval, or plan when the task must remain read-only.

Autonomous modes, including dontAsk, auto, and acceptEdits, are intentionally unavailable

through this plugin. Do not use bypass-permissions modes from this plugin.

To switch accounts or refresh auth, call claude_code_login, or run claude and use /login or /logout in the Claude Code session.

Common Workflows

Review or second opinion

Use claude_code_prompt with permissionMode: "plan". Include the review target, relevant files,

constraints, and expected verification. Ask Claude Code to report findings before suggestions.

Planned implementation

Use plan when the user wants analysis without edits. Use manual only when the user explicitly

wants an interactive implementation where every action still requires approval.

Setup and repair

Run claude_code_status, use claude_code_login only when authentication needs attention, then

run status again. Keep installation problems separate from project-specific failures.

Handoff Prompt Template

Goal:
<one concrete outcome>

Context:
- Repo: <path or project name>
- Relevant files: <files/directories>
- Constraints: <user constraints>

Task:
<specific implementation or investigation request>

Verification:
- <command or manual check>
- <command or manual check>

Guardrails

  • Do not claim Claude Code has been installed or authenticated unless the local command confirms it.
  • Do not invent Claude Code flags. If exact CLI syntax matters and the installed CLI help is unavailable, say what needs checking.
  • Keep handoff prompts compact enough to paste into a terminal session.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。