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

auto-skill-guide自动技能指南

Agent Skill

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

总安装

396

周安装

17

GitHub Stars

20

下载量

139
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/matrixy/auto-skill --skill auto-skill-guide

简介

auto-skill-guide 可自动检测编码会话中的工作流程模式,并生成可复用的技能模块,支持动态加载以增强 Agent 能力。

  • 它适用于希望将常见操作封装为独立技能的场景,提升 Agent 的自主性与效率。
  • 提供 CLI 工具支持初始化、发现和管理技能,可通过 npm 或 npx 方式安装使用。
  • 首次使用前需运行安装脚本或全局安装 npm 包,并注意浏览器自动化可能涉及的登录与 Cookie 管理。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Auto-Skill Plugin

This plugin automatically detects workflow patterns from your coding agent sessions, generates reusable skills, and can load them dynamically mid-session.

CLI Tool Installation

The agent skills are now installed, but to use CLI commands like auto-skill init, auto-skill discover, etc., you need to install the npm package.

Quick Install:

# Option 1: Run the included install script
bash ~/.agents/skills/auto-skill-guide/install-cli.sh

# Option 2: Install globally via npm
npm install -g @matrixy/auto-skill

# Option 3: Use without installing (via npx)
npx @matrixy/auto-skill init

Verify: auto-skill version


How It Works

Session 1: Grep → Read → Edit    ─┐
Session 2: Grep → Read → Edit     ├──▶ Pattern Detected → SKILL.md
Session 3: Grep → Read → Edit    ─┘
  1. Observation: Every tool call is recorded via PostToolUse hook
  2. Detection: Patterns are analyzed for repetition (3+ occurrences)
  3. Generation: Approved patterns become SKILL.md files with proper frontmatter
  4. Discovery: Claude proactively offers relevant skills for your tasks
  5. Loading: Skills can be loaded mid-session without restart

Commands

/auto-skill:review

Review and approve detected patterns:

/auto-skill:review              # List all detected patterns
/auto-skill:review preview ID   # Preview a pattern as a skill
/auto-skill:review approve ID   # Generate skill from pattern
/auto-skill:review reject ID    # Dismiss a pattern

/auto-skill:load

Load a generated skill into the current session:

/auto-skill:load                # List available skills
/auto-skill:load <name>         # Load specific skill immediately

Skills loaded this way become active immediately without requiring a session restart.

/auto-skill:status

Show system diagnostics:

/auto-skill:status              # Display stats, patterns, and config

Pattern Detection

Patterns are detected when:

  • Same tool sequence appears 3+ times across sessions
  • Sequence is 2-10 tools long
  • Pattern has occurred within the last 7 days

Confidence Scoring

FactorWeightDescription
Occurrences40%More occurrences = higher confidence
Length20%3-5 tools is ideal
Success Rate25%Successful patterns score higher
Recency15%Recent patterns are prioritized

Example Patterns

Grep → Read → Edit        # Search, read context, make changes
Glob → Read → Write       # Find files, read, create new file
Read → Edit → Bash        # Read file, edit, run tests

Dynamic Skill Loading

Unlike standard Claude Code skills (loaded at session start), auto-generated skills can be loaded mid-session using a registry system.

How It Works

  1. A lightweight registry indexes all skills (~metadata only)
  2. Scripts retrieve and format skill content on demand
  3. Output uses clear delimiters that signal active instructions:
======================================================================
SKILL LOADED: <name>
Confidence: <score>
Allowed tools: <tools>
======================================================================

<skill instructions>

======================================================================
END OF SKILL - INSTRUCTIONS ARE NOW ACTIVE
======================================================================

Proactive Discovery

Claude can automatically discover relevant skills using the skill-discovery skill:

  1. User requests a multi-step task
  2. Claude searches for matching skills
  3. If found, Claude asks: "Would you like me to load this skill?"
  4. User approves → skill is loaded and followed

CLI Commands

auto-skill discover             # Discover skill patterns
auto-skill stats                # Show adoption statistics
auto-skill graduate             # Manage skill graduation
auto-skill agents list          # List known agents
auto-skill agents detect        # Detect installed agents

To search for community skills, use Skills CLI:

npx skills find "query"         # Interactive search
npx skills add owner/repo       # Install skill

Execution Contexts

Generated skills automatically get appropriate execution settings:

Pattern TypeContextAgentWhy
Grep → ReadInlineExploreRead-only, safe
Read → Edit → BashForkgeneral-purposeHas side effects

Inline: Runs in current conversation context.

Fork (context: fork): Runs in isolated subagent. Use for:

  • Tasks with side effects (deployments, builds)
  • Workflows that shouldn't pollute conversation history
  • Long-running operations

Tool Restrictions

Generated skills include allowed-tools based on the pattern:

allowed-tools: Grep, Read, Edit

This prevents scope creep and ensures predictable behavior.

Generated Skills

Auto-generated skills are saved to:

~/.claude/skills/auto/<skill-name>/SKILL.md

Each skill includes:

  • YAML frontmatter with metadata
  • auto-generated: true flag
  • context: fork if appropriate
  • allowed-tools restrictions
  • Confidence score and source sessions
  • Procedural steps derived from the pattern

Configuration

Detection thresholds (in ~/.claude/auto-skill.local.md):

---
detection:
  min_occurrences: 3      # Minimum pattern repetitions
  min_sequence_length: 2  # Shortest pattern
  max_sequence_length: 10 # Longest pattern
  lookback_days: 7        # Analysis window
  min_confidence: 0.7     # Suggestion threshold
---

Data Storage

DataLocation
Events~/.claude/auto-skill/events.db
Skills~/.claude/skills/auto/
Tracking~/.claude/auto-skill/skills_tracking.db

Privacy

  • All data is stored locally
  • No data is sent to external services
  • Anonymous telemetry can be disabled via AUTO_SKILL_NO_TELEMETRY=1 or DO_NOT_TRACK=1

Troubleshooting

No patterns detected?

  • Need 3+ occurrences of the same sequence
  • Check the lookback period (default: 7 days)
  • Run /auto-skill:status to see event counts

Skill not loading?

  • Run auto-skill discover to refresh
  • Check the skill exists in ~/.claude/skills/auto/

Hooks not working?

  • Verify plugin is installed correctly
  • Check hooks/hooks.json configuration
  • Ensure Node.js 18+ is available

Want to reset?

  • Delete ~/.claude/auto-skill/events.db
  • Remove skills from ~/.claude/skills/auto/

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

33.87%
按下载量换算47

Claude

32.08%
按下载量换算45

Cursor

17.46%
按下载量换算24

Gemini CLI

9.35%
按下载量换算13

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills