Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计通过

claude-codeClaude 代码

Agent Skill

claude-code 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

447

周安装

19

GitHub Stars

3

下载量

157
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:claude-code(Claude 代码)
来源仓库:https://github.com/alpoxdev/hypercore
仓库路径:skills/claude-code
安装命令:
npx skills add https://github.com/alpoxdev/hypercore --skill claude-code
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/alpoxdev/hypercore --skill claude-code

简介

claude-code 调用 Claude Code CLI 执行独立会话任务,默认使用最新目录会话。

  • 参数按 CLI 默认设置,仅在用户明确要求时调整模型或推理强度。
  • 适用于需要深度上下文理解或复杂代码生成的专项开发工作。
  • 路由规则依据请求性质判断是否真正需要 CLI 介入,否则转交其他技能处理。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

@rules/routing.md

Claude Code Skill

Defaults

ParameterDefault
Model selectionUse Claude Code CLI default unless the user explicitly asks for --model
EffortUse CLI default unless the user explicitly asks for --effort
Permission mode--permission-mode default
Headless mode-p / --print
Resume targetclaude --continue for the latest session in the current directory, claude --resume for a specific session

Do NOT ask the user for model or effort unless explicitly requested.

Routing

Use this skill when the request actually needs Claude Code CLI or a separate Claude Code session.

  • Read rules/routing.md before building a command when the request might be out of scope.
  • Route away to direct editing or another skill when the user wants generic writing, documentation cleanup, or local edits without needing the claude CLI itself.

Examples

Positive triggers:

  • "Use Claude Code to review this repository and summarize the risks."
  • "Run claude in print mode and analyze this architecture."
  • "Continue the last Claude Code session and ask it to finish the patch."

Negative triggers:

  • "Rewrite this runbook for readability."
  • "Create a new skill for our repo."

Boundary trigger:

  • "Research Claude Code permissions and tell me what they do." Use this skill only if the user wants the claude CLI involved; otherwise route to research or direct documentation work.

Critical: Print Mode

Always use -p / --print for non-interactive Claude Code runs. Positional prompts start the interactive REPL instead.

# Non-interactive
claude --permission-mode default -p "your prompt here"

# Interactive REPL
claude "your prompt here"

-p skips the workspace trust dialog, so use it only in directories you trust.

Running a Task

Read references/recipes.md for concrete command recipes before changing permission modes, resuming a session, or adding extra directories.

Permission Mode Selection

FlagWhen to use
--permission-mode defaultGeneral Claude Code usage with normal approval prompts
--permission-mode acceptEditsOnly when the user explicitly wants Claude Code to modify files
--permission-mode planRead-only analysis or planning with no file changes or shell execution
--dangerously-skip-permissionsOnly after explicit approval, and only in isolated environments

Command Discipline

  • Start from claude --permission-mode default -p "your prompt here".
  • Add --model <model> or --effort <level> only when the user explicitly asks.
  • Use --output-format json only when the user wants structured machine-readable output.
  • Use --add-dir <path> when the task needs files outside the launch directory.
  • Ask before using --dangerously-skip-permissions.
  • Prefer --permission-mode acceptEdits over bypassing permissions for normal file edits.

Resuming a Session

claude --continue -p "continue the previous task"
claude --resume <session-id> -p "continue with this follow-up"

Use --continue for the latest conversation in the current directory. Use --resume when the user wants a specific session or the current-directory session is not the right one. When resuming, keep the existing session behavior unless the user explicitly asks to change the model, effort, or permission mode. Add --fork-session only when the user wants to branch from the existing session instead of reusing it.

After Completion

  • Summarize the result, including any warnings or partial output.
  • Tell the user they can resume with claude --continue or claude --resume <session-id>.
  • Ask whether to continue, adjust the prompt, or switch back to direct work.

Critical Evaluation

Treat Claude Code as a colleague, not an authority.

  • Trust your own grounded knowledge when you are confident.
  • Verify disagreements with current docs or primary sources before accepting a claim.
  • Remember that a separate Claude Code session can still be wrong or stale.
  • Let the user decide when there is genuine ambiguity.

Error Handling

  • command not found: claude: tell the user Claude Code CLI is not installed.
  • Auth errors: use claude auth or the configured Anthropic credential path.
  • Permission blocks: retry with an appropriate --permission-mode or adjust allowed/disallowed tools only when the user wants that behavior.
  • Session not found: use claude --resume without an ID to pick a session, or switch to claude --continue for the current directory.
  • Invalid flag or model errors: check claude --help and retry with supported options.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

38.02%
按下载量换算60

Claude

32.02%
按下载量换算50

Cursor

17.94%
按下载量换算28

Gemini CLI

8.38%
按下载量换算13

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/alpoxdev/hypercore --skill claude-code 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills