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

init初始化

Agent Skill

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

总安装

9,979

周安装

420

GitHub Stars

1,827

下载量

3,494
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/mcollina/skills --skill init

简介

init 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词快速定位候选结果。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装,需确认权限与维护状态。
  • 使用前建议核验具体用法,避免触发不必要的联网或文件操作。
  • 涉及敏感数据时应先确认脱敏边界与最小权限原则。

SKILL.md

When to use

Use this skill when creating or updating AGENTS.md for a repository.

Use it especially when:

  • the current AGENTS.md is long, generic, or stale
  • agents repeatedly make the same avoidable mistakes
  • repository workflows changed and agent guidance needs pruning

Instructions

Treat AGENTS.md as a living list of non-discoverable landmines and workflow gotchas, not a codebase overview.

Core rule: discoverability filter

Before adding any line, ask:

Can an agent discover this by reading the repo (README, code, config, scripts, directory tree)?
  • If yes: do not include it in AGENTS.md.
  • If no, and it materially affects task success/cost/safety: include it.

What earns a line

Include only guidance that is:

  1. Non-discoverable from repository files alone
  2. Operationally significant (changes commands, outcomes, or safety)
  3. Actionable (specific enough to execute)

Typical examples:

  • Non-standard tooling choices (e.g. use uv instead of pip)
  • Command caveats (e.g. tests must run with --no-cache due to fixture behavior)
  • Hidden constraints/landmines (deprecated directories still imported in production)
  • Critical local conventions that are not encoded in lint/tests/config

What to remove or avoid

Do not include:

  • Tech stack summaries
  • Directory structure overviews
  • Architecture descriptions agents can infer from code
  • Generic best-practice advice
  • Rules already enforced by tooling (linters, typecheck, tests, CI)
  • Mandatory boilerplate headers unless the repo explicitly requires one

Recommended structure

Prefer short, high-signal sections such as:

  • Scope & routing (which areas need separate/module-local AGENTS files)
  • Non-discoverable commands
  • Landmines / do-not-touch areas
  • Task-specific constraints

For large repos, recommend hierarchical AGENTS.md files near relevant modules instead of one monolithic root file.

Source files to check first

  • Existing AGENTS.md
  • README.md
  • PROJECT.md (if present)
  • Cursor rules (.cursor/rules/ or .cursorrules)
  • Copilot instructions (.github/copilot-instructions.md)
  • GEMINI.md
  • CI/workflow files and package manager config (for command/tooling mismatches)

If AGENTS.md exists, improve it incrementally instead of replacing it blindly.

Maintenance mindset

AGENTS.md is temporary guidance, not permanent configuration.

When recurring issues appear:

  1. Prefer fixing the root cause in code/tooling (lint rule, test, script, structure)
  2. Keep only the minimum instruction needed until the root cause is solved
  3. Prune stale instructions aggressively

Quality gate before finalizing

For each line in AGENTS.md, verify:

  • Is it non-discoverable?
  • Is it still accurate today?
  • Does it materially reduce mistakes/cost/time?

Delete any line that fails one of these checks.

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.3%
按下载量换算1,233

Claude

32.1%
按下载量换算1,122

Cursor

18.92%
按下载量换算661

Gemini CLI

9.8%
按下载量换算342

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

只读

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

安装前确认

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

来源信息

继续浏览同类 Skills