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

compoundcompound 效率

Agent Skill

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

总安装

285

周安装

12

GitHub Stars

182

下载量

279
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/garagon/nanostack --skill compound

简介

compound 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位候选结果。

  • 适用于关键词搜索、任务场景匹配或来源线索梳理等研究检索场景。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用。
  • 安装前需确认权限范围、维护状态及是否触发联网或文件操作。
  • 建议结合原始 README 核验具体用法和功能边界。

SKILL.md

/compound - Knowledge Compounding

After a sprint or a significant fix, extract what you learned into structured, searchable documents. Next time the agent plans or reviews, it finds these automatically.

When to run

  • After /ship completes a sprint
  • After fixing a bug that took significant investigation
  • After making an architecture decision worth remembering
  • After discovering a pattern that should be reused

Process

1. Read the sprint artifacts

Find what happened during this sprint:

~/.claude/skills/nanostack/bin/find-artifact.sh think 2
~/.claude/skills/nanostack/bin/find-artifact.sh plan 2
~/.claude/skills/nanostack/bin/find-artifact.sh review 2
~/.claude/skills/nanostack/bin/find-artifact.sh qa 2
~/.claude/skills/nanostack/bin/find-artifact.sh security 2
~/.claude/skills/nanostack/bin/find-artifact.sh ship 2

Not all artifacts will exist. Read what's available. Focus on:

  • /review findings that were fixed (these are bugs worth documenting)
  • /security findings that were resolved (these are patterns worth remembering)
  • /think scope decisions (these are decisions worth recording)
  • /qa failures that were debugged (these are bugs with investigation trails)

2. Identify what's worth capturing

Not everything needs a solution document. Capture:

  • Bugs that took more than a trivial fix (the investigation is the value)
  • Patterns you want the agent to follow in future sprints
  • Architecture decisions with trade-offs that someone might question later

Skip:

  • Typos, formatting, trivial fixes
  • Standard library usage (the docs are better)
  • Findings that were auto-fixed with no investigation

3. Check for existing solutions

Before creating a new document, search for related ones:

~/.claude/skills/nanostack/bin/find-solution.sh "relevant keywords"
~/.claude/skills/nanostack/bin/find-solution.sh --tag relevant-tag
~/.claude/skills/nanostack/bin/find-solution.sh --file affected/file/path

If a closely related solution exists:

  • Update it if the new information extends or corrects the existing document
  • Create a new one if it's a different problem that happens to share keywords

Do not create duplicates. One good document beats two partial ones.

4. Write solution documents

For each significant learning, create a document:

~/.claude/skills/nanostack/bin/save-solution.sh <type> "<title>" "tag1,tag2,tag3"

Types:

  • bug - a problem you encountered and solved
  • pattern - a recurring approach worth remembering
  • decision - an architecture or design choice with rationale

The script creates the file with YAML frontmatter and section templates. Fill in every section. Be specific:

Good:

## Problem
Stripe webhook endpoint accepted POST without signature verification.
stripe.webhooks.constructEvent() requires the raw request body, not parsed JSON.

## Solution
Use express.raw() middleware on the webhook route before express.json() parses it.

Bad:

## Problem
Webhook was broken.

## Solution
Fixed the webhook handler.

The value is in the detail. A future agent reading this needs enough context to apply the solution without re-investigating.

5. Update frontmatter

After filling in the body, update the frontmatter:

  • files: add the actual file paths involved
  • severity: adjust based on actual impact (critical, high, medium, low)
  • tags: add any tags that would help future search

6. Report

Print a summary of what was captured:

Compound: 3 solutions captured

  bug/stripe-webhook-signature.md (high) - Stripe webhook missing signature verification
  pattern/api-error-handling.md (medium) - Structured error responses with codes
  decision/auth-clerk-over-custom.md (medium) - Chose Clerk over custom auth

Total solutions in project: 12

After reporting, save the artifact. Run this command now — do not skip it:

~/.claude/skills/nanostack/bin/save-artifact.sh compound '<json with phase, summary including solutions_created, solutions_updated, total_solutions, context_checkpoint including summary, key_files, decisions_made, open_questions>'

Then tell the user:

Knowledge captured. These solutions will be found automatically by /nano during planning and /review during code review.

Rules

  • One problem per document. Don't combine unrelated fixes into one solution.
  • Fill every section. Empty sections are noise. If "What didn't work" is empty, either you fixed it on the first try (rare, skip the document) or you forgot to write it down.
  • Use the exact file paths. src/api/webhooks/stripe.ts is searchable. "The webhook file" is not.
  • Tags are for search, not decoration. Use terms someone would grep for: stripe, webhooks, hmac, not payment-processing-integration.
  • Set severity accurately. Solutions are ranked by severity when searched. Don't leave everything as medium.
  • Update, don't duplicate. If ~/.claude/skills/nanostack/bin/find-solution.sh returns a close match, update that document.
  • The Prevention section is the highest-value section. A bug fix helps once. A prevention rule helps every future sprint.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

36.58%
按下载量换算102

Claude

26.84%
按下载量换算75

Cursor

18.89%
按下载量换算53

Gemini CLI

7.92%
按下载量换算22

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

来源信息

继续浏览同类 Skills