Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

claudeClaude 搜索

Agent Skill

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

总安装

225

周安装

9

GitHub Stars

公开资料未说明

下载量

73
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/abpai/skills --skill claude

简介

claude 技能用于集成 Claude Code CLI,支持非交互式任务执行与自动化流程构建。

  • 适用于需要通过命令行方式调用 Claude 进行代码分析、调试或批量处理任务的场景。
  • 安装后需验证 CLI 版本与认证状态,建议使用 claude -p 模式传递单一提示源以避免行为不一致。
  • 该技能可能涉及本地命令执行,请在使用前确认系统环境与安全策略允许相关操作。
  • claude 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Claude Code CLI

Use this skill when you need the local claude CLI from a Codex-style harness. Bias toward non-interactive claude -p runs. Treat the CLI as an automation tool, not an interactive brainstorming partner, unless the user explicitly asks to stay inside Claude.

First Check

Confirm the CLI is healthy before you build a workflow around it:

claude --version
claude auth status --text

If either command fails, stop and report the setup or auth problem. Do not retry task prompts until preflight works.

Default Flows

Use exactly one prompt source per claude -p run:

  • short prompt: pass it as the trailing argument
  • long or multi-line prompt: pass it over stdin

Do not mix stdin with a trailing prompt argument. The CLI can merge both inputs, which makes harness behavior unreliable.

One-shot analysis

Default choice for summarization, critique, and read-only analysis:

claude -p \
  --model sonnet \
  --effort medium \
  --permission-mode plan \
  --no-session-persistence \
  "Summarize the uncommitted changes"

One-shot edits

Use this when Claude should change files in the current repo:

claude -p \
  --model sonnet \
  --effort high \
  --permission-mode acceptEdits \
  --no-session-persistence \
  "Fix the failing tests in the current repo"

Narrow the working set first if the change is broad or the repo is noisy.

Continue or resume

Use persisted sessions only when you expect to continue later.

  • If you want a disposable one-shot run, keep --no-session-persistence.
  • If you want to continue later, omit that flag.
  • Prefer -r <session-id> -p when the exact session matters.
  • Use -c -p only when reusing the latest local conversation is clearly safe.
printf '%s\n' "Continue and focus on the failing tests only" | claude -c -p
printf '%s\n' "Finish the refactor and summarize the remaining risks" | \
  claude -r <session-id> -p

Structured output

Use JSON only when another tool will parse the result:

claude -p \
  --model sonnet \
  --effort medium \
  --permission-mode plan \
  --no-session-persistence \
  --output-format json \
  "Summarize the current diff"

--output-format json returns an envelope, not raw model text. The main body is usually in result. Check subtype and errors, not only is_error.

Review And Plan Critique

Use the same workflow for code review and implementation-plan critique. Start broad once, then narrow scope if needed. Do not keep retrying with slightly different wording.

Broad attempt

Use repo-native review for ordinary local-change review:

claude -p \
  --model sonnet \
  --effort medium \
  --permission-mode plan \
  --no-session-persistence \
  "Review the current uncommitted changes in this repo. Focus on concrete bugs, regressions, misleading docs, packaging issues, and risky assumptions. Output sections in this exact order: Findings, Open questions, Residual risks. Findings should come first with file references. If there are no findings, say 'No findings'."

Use stdin-only prompts for longer plan critique requests:

claude -p \
  --model sonnet \
  --effort medium \
  --permission-mode plan \
  --no-session-persistence \
  < /tmp/claude_prompt.txt

Narrowing ladder

If scope needs tightening, narrow in this order:

  1. git diff --staged when the user clearly means staged work
  2. git diff --unified=3 -- <paths...> when the worktree is noisy or large
  3. one file or subsystem at a time if the narrowed diff is still too broad

Example narrowed diff review:

git diff --unified=3 -- path/to/file1 path/to/file2 | \
  claude -p \
    --model sonnet \
    --effort medium \
    --permission-mode plan \
    --no-session-persistence \
    "Review this diff only. Focus on concrete bugs, regressions, misleading docs, packaging issues, and risky assumptions. Output sections in this exact order: Findings, Open questions, Residual risks. Findings should come first with file references. If there are no findings, say 'No findings'."

Repo-native review can inspect unrelated worktree changes. Use staged or file-scoped diffs when scope matters.

Hard Rules

Treat every failed or suspicious run as one of these cases, then take the single next action listed here.

Preflight failure

claude --version or claude auth status --text fails.

Next action: stop and report the setup or auth problem.

Non-zero exit

claude -p exits non-zero.

Next action: stop and report the exit reason or stderr. Do not rerun the same shape.

Slow but still running

The command is still running and has not failed.

Next action: wait once. If it remains too slow for the task, narrow scope.

Empty stdout

The command exits cleanly but prints nothing useful.

Next action: inspect stderr, then rerun once in plain text with a smaller prompt. If that also fails, stop and report it.

JSON envelope issue

JSON mode returns an envelope but the useful payload is missing or unusable.

Next action: check result, subtype, and errors. If the envelope still does not give a usable answer, rerun once with --output-format text.

Scope too broad

Claude is slow, vague, or obviously reviewing the wrong surface.

Next action: switch to the narrowing ladder. Change scope, not wording.

Tool or configuration limit

Claude reports a tool limit, configuration limit, or similar execution problem.

Next action: simplify the scope or prompt. Do not retry the same broad command with slightly different phrasing.

Retry budget

For review and plan critique:

  • allow at most one broad attempt
  • allow at most one narrowed attempt
  • after that, stop and summarize what failed, what was tried, and the next safest narrower attempt

Advanced Knobs

Keep the main workflow simple. Advanced flags drift more often and should be verified against the local CLI help before first use in a new environment.

Read references/claude-cli.md only when you need:

  • tool allow or deny lists
  • system prompt control
  • streaming output
  • worktree mode
  • settings overrides
  • more detailed JSON behavior notes

Update Check

On first use in a session, silently check:

  1. https://raw.githubusercontent.com/abpai/skills/main/versions.json
  2. Compare the remote claude version to this file's metadata.version
  3. If remote is newer, pause before the task and ask whether to run:
npx skills update claude

If the fetch fails, skip the check silently.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.92%
按下载量换算25

Claude

29.48%
按下载量换算22

Cursor

19.59%
按下载量换算14

Gemini CLI

9.86%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

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

来源信息

继续浏览同类 Skills