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

skill-forge技能锻造

Agent Skill

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

总安装

285

周安装

12

GitHub Stars

1

下载量

1
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/spm1001/claude-suite --skill skill-forge

简介

skill-forge 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中快速定位目标内容。

  • 适用于基于关键词或任务场景的信息检索与筛选需求。
  • 通过 npx skills add 命令从 GitHub 仓库安装并调用。
  • 建议确认权限范围和维护状态,避免不必要的联网或文件访问。
  • 可结合原始文档进一步验证功能细节和使用方式。

SKILL.md

Skill Forge

Unified skill development toolkit. Supersedes skill-creator — combines its creation process with quality validation, description optimization, and testing.

Iron Law: Skills must be discovered to be useful. The description is everything.

When to Use

  • BEFORE writing any SKILL.md file
  • When creating a new skill from scratch
  • When improving an existing skill's discovery rate
  • When validating skill quality before deployment
  • When scanning a skill/repo before sharing publicly

When NOT to Use

  • One-off instructions (put in CLAUDE.md instead)
  • Simple tool usage Claude already knows
  • Tasks that don't repeat across sessions

Rationalizations to Block

Claude frequently skips this skill by reasoning:

  • "I already know how to create skills" — You know the generic pattern. This skill adds CSO scoring, lint, and project-specific conventions you don't have in training.
  • "skill-creator covers this" — skill-forge supersedes skill-creator. Use forge, not creator.
  • "I'll validate later" — Validation after writing is expensive rework. Forge-first, always.
  • "This is just a small edit to an existing skill" — Small edits to descriptions are exactly where CSO scoring matters most.

Quick Start

# 1. Initialize new skill
scripts/init_skill.py my-skill --path ~/.claude/skills

# 2. Edit SKILL.md (see Workflow below)

# 3. Lint for structure issues
scripts/lint_skill.py ~/.claude/skills/my-skill

# 4. Score description quality (CSO)
scripts/score_description.py ~/.claude/skills/my-skill

# 5. Test with subagent (optional but recommended)
scripts/test_skill.py ~/.claude/skills/my-skill

# 6. Package for distribution (optional)
scripts/package_skill.py ~/.claude/skills/my-skill

Workflow: 6-Step Process

Step 1: Understand with Concrete Examples

Goal: Know exactly how the skill will be used before building.

Questions to answer:

  • "What would a user say that should trigger this skill?"
  • "Can you give examples of how this skill would be used?"
  • "What should happen after the skill triggers?"

Exit criterion: Clear list of trigger phrases and expected behaviors.

Step 2: Plan Reusable Contents

Analyze each example to identify:

Content TypeWhen to IncludeExample
scripts/Same code rewritten repeatedlyrotate_pdf.py
references/Documentation Claude should referenceschema.md
assets/Files used in output (not loaded)template.pptx

Exit criterion: List of scripts/references/assets to create.

Step 3: Initialize

scripts/init_skill.py <skill-name> --path <directory>

Creates SKILL.md template, example scripts/references/assets. Delete unneeded files.

Step 4: Edit

Order matters:

  1. Create scripts/references/assets first
  2. Test scripts actually work
  3. Write SKILL.md last (it references the resources)

SKILL.md Structure

---
name: kebab-case-name
description: [See CSO Patterns below]
---

Body sections:

  • Core principle / Iron Law
  • When to Use / When NOT to Use
  • Workflow with success criteria
  • Anti-patterns
  • Quick reference
  • Integration with other skills

Naming

  • Lowercase letters, numbers, hyphens only. Max 64 chars.
  • Must match directory name exactly.
  • Gerund or capability form preferred.
GoodBadWhy
systematic-debuggingdebugVerb, not capability
workspace-fluencyutilsGeneric, no information
test-driven-developmentpdf-helper"helper" is meaningless
desired-outcomesmy-skillDoesn't describe purpose

CSO Patterns (Critical)

The description determines discovery. Pattern: [ACTION TYPE] + [SPECIFIC TRIGGER] + [METHOD/VALUE PREVIEW]

Best: MANDATORY gate with BEFORE condition

description: MANDATORY gate before writing any SKILL.md file. Invoke FIRST when building new skills - provides structure, naming, and quality checklist that MUST be validated before deployment.

Why: "MANDATORY gate" not optional, "before writing" timing, "FIRST" positioning, "MUST" imperative.

Good: Specific trigger with method preview

description: Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes - four-phase framework (root cause, pattern analysis, hypothesis testing, implementation) ensures understanding before solutions.

Why: specific trigger + timing gate + method preview + value statement.

Good: Natural phrase triggers

description: Coach on outcome quality. Triggers on 'check my outcomes', 'is this a good outcome', 'review my Todoist' when discussing strategic work.

Why: explicit phrases in quotes, context qualifier.

Good: Negative triggers to prevent over-triggering

description: Advanced data analysis for CSV files — statistical modelling, regression, clustering. Do NOT use for simple data exploration (use data-viz skill instead).

Why: "Do NOT use for..." in the description itself steers Claude away at trigger-decision time, before the body loads. Anti-patterns in the body come too late — by then, the skill is already loaded and consuming tokens.

When to add negative triggers:

  • Skill overlaps with another skill's domain
  • Skill triggers on common words that appear in unrelated requests
  • Users report the skill loading when it shouldn't

Bad patterns to avoid:

PatternProblemFix
"Helps with..."Vague, no triggerSpecific phrases in quotes
"Use when creating..."Too generic"MANDATORY gate before..."
No timing conditionOptional invocationAdd BEFORE/FIRST/MANDATORY
Generic actionsClaude "knows" without loadingDomain-specific phrases
Command doesn't name skillNot discoverable"Invoke the name skill"
Over-triggers on related topicsLoads when it shouldn'tAdd "Do NOT use for..." in description

Run scripts/score_description.py to validate. See references/cso-guide.md for full guidance.

Step 5: Validate

# Automated lint (structure, naming, frontmatter)
scripts/lint_skill.py <skill-path>

# CSO score (description quality)
scripts/score_description.py <skill-path>

# Subagent test (discovery + workflow)
scripts/test_skill.py <skill-path>

All checks must pass before Step 6.

Step 6: Package (Optional)

scripts/package_skill.py <skill-path> [output-dir]

Creates .skill file (zip format) for distribution.

Quality Checklist

Structure

  • SKILL.md under 500 lines
  • Name matches directory exactly (kebab-case)
  • Name is gerund/capability form
  • Description is third-person ("Orchestrates", not "Use")
  • Description includes trigger AND method AND timing
  • Description ends with (user) tag for user-defined skills
  • References one level deep from SKILL.md
  • YAML frontmatter has name and description only

Content

  • No time-sensitive information
  • Consistent terminology throughout
  • Concrete examples, not abstract rules
  • Configuration values justified
  • Error handling documented
  • Dependencies explicitly listed
  • Anti-patterns section present

Workflow

  • Clear phases/steps with success criteria
  • When to Use AND When NOT to Use sections
  • Integration points with other skills explicit
  • Verification/validation included
  • Quick reference for common operations

Discovery

  • BEFORE/MANDATORY/FIRST patterns used appropriately
  • Trigger phrases are natural language in quotes
  • Context qualifiers included (when appropriate)
  • Method preview gives Claude enough to decide relevance
  • If paired with command, command names the skill explicitly
  • Negative triggers ("Do NOT use for...") added if skill overlaps with others

Skill Patterns

See references/skill-patterns.md for full taxonomy. Summary:

TypeKey FeatureDescription Pattern
ProcessPhases with gatesBEFORE condition
FluencyTool best practicesSpecific trigger phrases
CoachingQuality criteriaNatural language triggers
GateChecklist validationMANDATORY language
Skill+CLIOrchestrates CLI toolBEFORE any cli command

Skill+CLI Pattern (Most Powerful)

When skill orchestrates a CLI tool. See references/skill-cli-pattern.md for full template.

# {skill-name}
Orchestrates {domain} using `{cli}` command.
## CLI Reference
## Workflows
## When Skill Extends CLI (coaching, quality criteria)
## Error Recovery

What High-Invocation Skills Share

  1. BEFORE conditions in description
  2. Specific trigger phrases in quotes
  3. Method preview that's actionable
  4. Clear anti-patterns that catch mistakes
  5. Integration points that compose with other skills

What Low-Invocation Skills Suffer From

  1. Generic "Use when..." descriptions
  2. Vague propositions ("helps with", "guides", "assists")
  3. Missing timing gates
  4. Documenting what Claude already knows

Anti-Patterns

Discovery Failures

Anti-PatternSymptomFix
"Use when creating..."Claude bypasses skill"MANDATORY gate before..."
"Helps with..."Never invokedSpecific trigger phrases
No timing gateOptional invocationAdd BEFORE/FIRST
Generic actionsClaude "knows" without loadingDomain-specific phrases

Structure Failures

Anti-PatternSymptomFix
SKILL.md > 500 linesToken bloatSplit into references/
Name doesn't match dirSkill not foundKeep synchronized
Deeply nested refsDiscovery failsOne level deep max

Content Failures

Anti-PatternSymptomFix
Explaining known thingsWastes tokensDomain-specific only
Magic constantsUnclear reasoningJustify all values
Many options, no defaultAnalysis paralysisRecommend one path

Quick Reference

Minimum Viable Skill

---
name: kebab-case-name
description: [TIMING] + [TRIGGER] + [METHOD/VALUE]. Triggers on 'phrase1', 'phrase2'. (user)
---

# Skill Title

[Core principle]

## When to Use
[Specific triggers with examples]

## When NOT to Use
[Clear boundaries]

## Workflow
[Steps with success criteria]

## Anti-Patterns
[What to avoid with fixes]

Files to Include

FilePurposeWhen Required
SKILL.mdCore instructionsAlways
references/*.mdDetailed guidesWhen SKILL.md > 500 lines
scripts/*.pyUtility scriptsWhen deterministic code needed
assets/*Output templatesWhen Claude uses files in output

Before Sharing

Run the sharing scanner:

scripts/scan.py <skill-path>
scripts/scan.py --risk high <skill-path>  # High-risk only

Detects: emails, paths with usernames, secrets, company terms. See references/sharing-scan.md for triage guidelines.

Integration

Anthropic scripts (symlinked from skill-creator):

  • init_skill.py — generate template
  • package_skill.py — create.skill file

Forge scripts:

  • lint_skill.py — automated structure validation
  • score_description.py — CSO quality scoring
  • test_skill.py — subagent pressure testing
  • scan.py — PII/secrets scanner for sharing
  • render_graphs.py — DOT workflow diagrams to SVG

References

  • references/cso-guide.md — Claude Search Optimization principles
  • references/skill-cli-pattern.md — Skill+CLI template
  • references/skill-patterns.md — Pattern taxonomy with examples
  • references/rationalization-table.md — Common excuses to block
  • references/sharing-scan.md — Sharing triage guidelines
  • references/dot-graphs.md — DOT graph syntax for workflow diagrams

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

34.88%
按下载量换算0

Claude

30.53%
按下载量换算0

Cursor

20.41%
按下载量换算0

Gemini CLI

10.06%
按下载量换算0

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

来源信息

继续浏览同类 Skills