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

skill-capture技能捕捉

Agent Skill

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

总安装

1,905

周安装

81

GitHub Stars

21

下载量

667
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/shipshitdev/library --skill skill-capture

简介

skill-capture 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 它支持通过关键词、任务类型或来源仓库进行信息聚合与过滤,提升研究效率。
  • 可通过 npx skills add 命令从 GitHub 安装,具体用法请参考原始 README。
  • 安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Skill Capture

This skill extracts valuable learnings, patterns, and workflows from conversations and persists them as reusable skill files for future sessions.


When This Skill Activates

Activate when the user mentions ANY of these:

Explicit Requests

  • "let's save this as a skill"
  • "this workflow should be reusable"
  • "capture this as a skill"
  • "make this a skill"
  • "turn this into a skill"
  • "save this pattern"

Workflow Completion Signals

  • Complex problem solved after multiple iterations
  • Multi-step procedure successfully executed
  • Valuable domain knowledge discovered through research
  • Code pattern emerged that could benefit other projects

Learning Moments

  • "this was tricky to figure out"
  • "glad we finally got this working"
  • "I wish I knew this earlier"
  • "this should be documented"

Capture Process

Follow these 5 phases in order:

Phase 1: Identification

Review the conversation to identify capturable content:

What to Look For:

CategoryExample
WorkflowsMulti-step procedures that took iterations to perfect
Domain KnowledgeInformation requiring research or expertise
Problem SolutionsApproaches that resolved complex issues
Code PatternsReusable patterns that could help other projects
Decision RationaleArchitectural choices with clear reasoning

Questions to Ask:

  • Is this generalizable beyond this specific project?
  • Would another agent session benefit from this knowledge?
  • Did this require multiple iterations to get right?
  • Is this non-obvious procedural knowledge?

Phase 2: Destination Planning

Determine where the skill should live:

1. Check if an existing skill should be updated
   - Glob for skills/*/SKILL.md
   - Read related skills to check for overlap

2. If creating new skill:
   - Choose descriptive kebab-case name
   - Create in skills/<skill-name>/ directory

Skill vs. Rule Decision:

Create a SkillCapture a Rule
Workflow with multiple stepsSingle preference statement
Procedural knowledge"always/never do X"
Domain expertiseStyle/format preferences
Code patterns with contextImport/naming conventions

If it's a rule/preference, delegate to rules-capture skill instead.

Phase 3: Content Drafting

Transform conversational insights into SKILL.md format:

---
name: <skill-name>
description: <One sentence describing what the skill does and when to use it>
metadata:
  version: "1.0.0"
  tags: relevant, tags
---

# <Skill Title>

<Brief description of the skill's purpose>

---

## When to Use

<Clear triggers for when this skill should activate>

---

## Process

<Step-by-step workflow or procedure>

---

## Examples

<Concrete examples showing the skill in action>

---

## Integration

<How this skill works with other skills, if applicable>

Phase 4: Distillation

Extract and refine the content:

  1. Extract the Final Approach - Capture only what worked, not the failed attempts
  2. Generalize - Remove project-specific details that don't apply broadly
  3. Add Context - Explain why certain approaches work, not just what to do
  4. Include Examples - Add concrete examples that demonstrate usage

Checklist:

  • Removed project-specific paths and names
  • Generalized any hardcoded values
  • Added explanatory context for non-obvious steps
  • Included both good and bad examples where helpful
  • Kept language in imperative form

Phase 5: Verification

Ensure the skill is ready for use:

Quality Checks:

CheckRequirement
LengthUnder 500 lines (use references/ for large content)
FrontmatterValid YAML with name and description
CompletenessAll sections have meaningful content
ActionabilityInstructions are specific enough to follow
FormattingFollows library patterns (see rules-capture for reference)

Validation:

# Run the package script to validate
scripts/package_skill.py skills/<skill-name>

What to Capture

Good Candidates

  • Workflows that took multiple iterations to get right
  • Domain knowledge that required research
  • Problem-solving approaches that worked
  • Code patterns that could be reused across projects
  • Decision rationale for architectural choices
  • Integration patterns between tools or services
  • Debugging approaches for specific technologies

Anti-Patterns (Do NOT Capture)

  • One-off solutions specific to a single project
  • Trivial fixes or obvious patterns
  • Information already documented elsewhere
  • Sensitive or proprietary information
  • Incomplete workflows still being refined
  • Preferences without procedural value (use rules-capture instead)

Output Structure

Create two files for each skill:

SKILL.md

See Phase 3 template above. Key principles:

  • Use imperative form ("Do X" not "You should do X")
  • Be specific about triggers and activation conditions
  • Include concrete examples
  • Reference any bundled resources

plugin.json

{
  "name": "<skill-name>",
  "version": "1.0.0",
  "description": "<Same description as SKILL.md frontmatter>",
  "author": {
    "name": "Ship Shit Dev",
    "email": "hello@shipshit.dev",
    "url": "https://github.com/shipshitdev"
  },
  "license": "MIT",
  "skills": "."
}

Integration

This skill works with:

SkillIntegration
rules-captureDelegates preference capture; handles skill creation
session-documenterSkills captured during session are noted
skill-creatorUses creation patterns and validation
docsFor formatting help with SKILL.md

Example Interaction

Context: User spent 30 minutes debugging a NestJS queue integration issue. The solution involved specific configuration patterns.

User: "This was a pain to figure out. Let's save this for next time."

Agent:

I'll capture this as a skill. Let me analyze what we learned:

Capturable Knowledge:
- NestJS Bull queue configuration pattern
- Redis connection handling for queues
- Processor registration requirements

This would make a good standalone skill or could extend `nestjs-queue-architect`.

Let me check the existing skill...
[Reads skills/nestjs-queue-architect/SKILL.md]

The existing skill covers queue setup but not this specific debugging pattern.
I'll add a new "Troubleshooting" section.

Created: skills/nestjs-queue-architect/SKILL.md (updated)
- Added troubleshooting section
- Documented Redis connection requirements
- Added common error patterns

Should I also create session documentation for this debugging session?

Activation Triggers

The skill activates on these patterns:

# Explicit capture requests
(save|capture|turn|make).*(skill|reusable|pattern)
(this should be|let's make this).*(skill|documented|reusable)

# Workflow completion signals
(finally|glad).*(working|figured|solved)
(this was|that was).*(tricky|hard|difficult|complex)
(multiple|several).*(iterations|attempts|tries)

# Learning signals
(wish I knew|should have known|next time|for future)

When this skill is active, automatically identify valuable knowledge from the conversation and offer to persist it as reusable skills for future sessions.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

Claude Code

29.45%
按下载量换算196

OpenCode

24.4%
按下载量换算163

Gemini CLI

18.29%
按下载量换算122

Antigravity

13.38%
按下载量换算89

windsurf

8.15%
按下载量换算54

github-copilot

3.54%
按下载量换算24

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

来源信息

继续浏览同类 Skills