Token导航 LogoToken导航

Agent Skill · AI 工具

autoskill(auto 技能)

autoskill 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

autoskill 是AI 工具类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证为 MIT,第三方扫描已通过,按安装量在AI 工具类的 2,536 个 Skill 里排第 881。

总安装 1,738周安装 71GitHub Stars 79下载 557核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/nicknisi/claude-plugins --skill autoskill

这个 Skill 是做什么的

AI 工具类 Skill 用来扩展助手本身的能力,例如接模型、接检索、接外部服务。

autoskill 分析编码会话中的修正与批准信号,提取持久偏好并建议技能更新,形成跨会话的学习闭环。适用于希望 Claude 基于反馈持续改进技能行为的用户,尤其在复杂任务中提升一致性。默认聚焦当前会话活动技能,过滤高质量信号后生成最小化、可逆的编辑提案。使用前需明确技能作用范围,避免在非预期上下文中触发修改。

autoskill 属于AI 工具类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/autoskill

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/nicknisi/claude-plugins --skill autoskill;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

autoskill 怎么安装?

在终端执行 npx skills add https://github.com/nicknisi/claude-plugins --skill autoskill。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

autoskill 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

autoskill 需要什么权限?

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

autoskill 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

autoskill 用的人多吗?

公开数据是累计安装 1,738 次,近一周安装 71 次,下载 557 次,GitHub 79 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

autoskill 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理AI 工具类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

AI 工具类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
executing-plans

执行计划 · Codex、Claude

1,515,336173,110只读MIT通过
verification-before-completion

完成前的验证 · Codex、Claude

1,319,472173,121权限未标注MIT通过
subagent-driven-development

子 Agent 驱动开发 · Codex、Claude

1,312,416173,138只读MIT通过
copy-editing

复制编辑 · Codex、Claude

1,209,57625,632只读MIT通过
paywall-upgrade-cro

付费专区升级 cro · Codex、Claude

1,030,17625,617只读MIT通过
autoskill

auto 技能 · 本页

1,73879需要联网MIT通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

This skill analyzes coding sessions to extract durable preferences from corrections and approvals, then proposes targeted updates to Skills that were active during the session. It acts as a learning mechanism across sessions, ensuring Claude improves based on feedback.

The user triggers autoskill after a session where Skills were used. The skill detects signals, filters for quality, maps them to the relevant Skill files, and proposes minimal, reversible edits for review.

Session scope

By default, analyze only the current session (from SessionStart to now). This ensures fresh, relevant feedback without noise from old sessions.

To analyze patterns across multiple sessions, user must explicitly request: "analyze my last 5 sessions" or "look for patterns across this week".

When to activate

Trigger on explicit requests:

  • "autoskill", "learn from this session", "update skills from these corrections"
  • "remember this pattern", "make sure you do X next time"

Do NOT activate for one-off corrections or when the user declines skill modifications.

Where to apply changes

Distinguish between skill-specific behavior and project-wide conventions:

Update Skills when:

  • Signal relates to how a specific skill should behave
  • Preference affects skill trigger conditions or outputs
  • Pattern is about the skill's decision-making process

Update CLAUDE.md when:

  • Project-wide conventions (naming, file structure, architecture)
  • Tool/library preferences that span multiple skills
  • Team style preferences (spacing, comments, error handling)
  • Domain-specific terminology used across the codebase

Example:

  • "Don't add error handling for internal functions" → code-simplifier skill (how to simplify)
  • "We use cn() utility for className merging" → CLAUDE.md (project convention)
  • "Auth logic lives in middleware, not components" → CLAUDE.md (architecture decision)

Signal detection

Scan the session for:

Corrections (highest value)

  • "No, use X instead of Y"
  • "We always do it this way"
  • "Don't do X in this codebase"

Repeated patterns (high value)

  • Same feedback given 2+ times
  • Consistent naming/structure choices across multiple files

Approvals (supporting evidence)

  • "Yes, that's right"
  • "Perfect, keep doing it this way"

Ignore:

  • Context-specific one-offs ("use X here" without "always")
  • Ambiguous feedback

Conflict resolution

When signals contradict each other, resolve using this priority order:

  1. Recency: More recent signals override older ones (current session > past sessions)
  2. Explicitness: Direct corrections ("No, do X instead") outweigh approvals ("looks good")
  3. Repetition: Patterns repeated 3+ times outweigh single corrections
  4. Confidence scoring:

- Explicit correction with "always/never": 5 points - Repeated pattern (2+ occurrences): 3 points - Single correction: 2 points - Approval/confirmation: 1 point

If contradictory signals have equal scores, ask user for clarification before proposing changes.

Example conflict:

  • Session 1: "Add error handling everywhere" (2 points)
  • Session 3 (current): "Don't add error handling for internal functions" (5 points - explicit + "don't")
  • Resolution: Use current session's explicit rule

Signal quality filter

Before proposing any change, ask:

  1. Was this correction repeated, or stated as a general rule?
  2. Would this apply to future sessions, or just this task?
  3. Is it specific enough to be actionable?
  4. Is this new information I wouldn't already know?

Only propose changes that pass all four.

What counts as "new information"

Worth capturing:

  • Project-specific conventions ("we use cn() not clsx() here")
  • Custom component/utility locations ("buttons are in @/components/ui")
  • Team preferences that differ from defaults ("we prefer explicit returns")
  • Domain-specific terminology or patterns
  • Non-obvious architectural decisions ("auth logic lives in middleware, not components")
  • Integrations and API quirks specific to this stack

NOT worth capturing (I already know this):

  • General best practices (DRY, separation of concerns)
  • Language/framework conventions (React hooks rules, TypeScript basics)
  • Common library usage (standard Tailwind classes, typical Next.js patterns)
  • Universal security practices (input validation, SQL injection prevention)
  • Standard accessibility guidelines

If I'd give the same advice to any project, it doesn't belong in a skill.

Mapping signals to Skills

Match each signal to the Skill that was active and relevant during the session:

Update existing Skill when:

  • Signal relates to a Skill that was used in the session
  • Total confidence score for that Skill ≥ 3 points
  • Signal affects how the skill should behave or trigger

Propose new Skill when:

  • Multiple related signals (total score ≥ 5 points) don't fit any active Skill
  • Pattern spans multiple sessions with consistent behavior
  • Signals describe a reusable, well-defined capability

Update CLAUDE.md instead when:

  • Signals describe project conventions, not skill behavior
  • Total score < 5 points for new skill creation
  • Pattern is too specific to one context

Ignore signals when:

  • Don't map to any Skill used in the session
  • Total confidence score < 2 points
  • Contradict existing, well-established patterns without strong justification

Scoring example:

  • 2 explicit corrections about error handling (2×2=4 points) → Update code-simplifier
  • 1 approval + 1 pattern about naming (1+3=4 points) → Needs one more signal or higher confidence
  • 3 corrections about auth flow (3×2=6 points) → Could propose new auth-specialist skill

Proposing changes

For each proposed edit, provide:

File: path/to/SKILL.md
Section: [existing section or "new section: X"]
Confidence: HIGH | MEDIUM
Score: [confidence points]

Signal: "[exact user quote or paraphrase]"

Current text (if modifying):
> existing content

Proposed text:
> updated content

Rationale: [one sentence]

Group proposals by file. Present HIGH confidence changes first.

Concrete example

Session context: User corrected error handling twice during code-simplifier usage

Detected signals:

  1. "Don't add try-catch blocks for internal functions" (explicit correction: 5 points)
  2. Removed error handling from internal utility functions (pattern: 3 points)
  3. Total: 8 points → HIGH confidence

Proposed change:

File: plugins/essentials/skills/code-simplifier/SKILL.md
Section: ## When NOT to simplify
Confidence: HIGH
Score: 8 points (5 + 3)

Signal: "Don't add try-catch blocks for internal functions" + pattern of removing such blocks

Current text:
> - Don't add error handling, fallbacks, or validation for scenarios that can't happen

Proposed text:
> - Don't add error handling, fallbacks, or validation for scenarios that can't happen
> - Don't add try-catch blocks for internal functions that are called by trusted code

Rationale: User explicitly corrected this twice; it's a specific, actionable rule for this project

Review flow

Always present changes for review before applying. Format:

## autoskill summary

Detected [N] durable preferences from this session.

### HIGH confidence (recommended to apply)
- [change 1] - Score: X points
- [change 2] - Score: X points

### MEDIUM confidence (review carefully)
- [change 3] - Score: X points

Apply high confidence changes? [y/n/selective]

Wait for explicit approval before editing any file.

Processing order when multiple updates needed

When proposing changes to multiple files:

  1. Process HIGH confidence first (score ≥ 7 points)
  2. Group by file to minimize context switches
  3. Flag potential conflicts between proposed changes
  4. CLAUDE.md updates before Skill updates (project context first)
  5. Skill updates in order of usage frequency (most-used skills first)

Example order:

  1. CLAUDE.md: Add cn() utility convention (HIGH, 8 points)
  2. code-simplifier: Error handling rule (HIGH, 8 points)
  3. code-simplifier: Variable naming pattern (MEDIUM, 4 points)
  4. typescript-pro: Type annotation preference (MEDIUM, 5 points)

Applying changes

When approved:

  1. Edit the target file with minimal, focused changes
  2. If git is available, commit with message: chore(autoskill): [brief description]
  3. Report what was changed

Rollback guidance

All autoskill changes are reversible:

If git is available:

  1. Find commit: git log --grep="autoskill" --oneline
  2. Revert specific commit: git revert <commit-hash>
  3. Or revert all autoskill changes: git log --grep="autoskill" --format="%H" | xargs -n1 git revert

Manual rollback:

  1. Each edit is minimal and focused (easy to identify)
  2. Use git diff to see exact changes: git show <commit-hash>
  3. Manually undo the specific section that caused issues

Prevention:

  • Always commit each skill change separately (never batch)
  • Use descriptive commit messages: chore(autoskill): add error handling rule to code-simplifier
  • Test after each change before proceeding to next

When to ask for clarification

Use the AskUserQuestion tool when:

Ambiguous signals:

  • Correction doesn't clearly specify what to do instead
  • Pattern observed but unclear if intentional or coincidental
  • Signal could apply to multiple skills

Contradictory feedback:

  • Equal confidence scores for contradicting signals
  • User's recent correction conflicts with established pattern
  • Unclear which rule should take precedence

Boundary decisions:

  • Uncertain whether change belongs in CLAUDE.md or Skill
  • Score is near threshold (4-6 points for new skill creation)
  • Signal could be project-wide convention OR skill-specific behavior

Scope uncertainty:

  • Unclear if correction applies to all cases or specific context
  • Signal mentions "here" or "this case" without "always/never"
  • Need to verify if pattern should be generalized

Example questions:

"I detected two corrections about error handling:
1. 'Don't add try-catch for internal functions'
2. 'Always validate user input'

These seem contradictory. Should I:
- Add both rules with specific contexts?
- Apply different rules to internal vs external code?
- Something else?"

Never guess or assume - when in doubt, downgrade to MEDIUM confidence and ask.

Constraints

  • Never delete existing rules without explicit instruction
  • Prefer additive changes over rewrites
  • One concept per change (easy to revert)
  • Preserve existing file structure and tone
  • When uncertain, downgrade to MEDIUM confidence and ask

平台分布

Claude Code

30.1%
按下载量换算168

trae

22.57%
按下载量换算126

Antigravity

19.25%
按下载量换算107

windsurf

11.56%
按下载量换算64

Codex

7.94%
按下载量换算44

Gemini CLI

3.21%
按下载量换算18

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

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

安装前确认

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

继续浏览同类 Skills