Agent skill

Nextclaw Agent Instructions Governance

by Peiiii in Peiiii/nextclaw

当确定要修改 AGENTS.md、commands、项目 AI 规则、skill/references、治理脚本,或明确优化 AI 驱动开发体系时使用;普通规则讨论和一次性纠偏不提前触发。

MITAuto-check passedAgent Workflows

Install Nextclaw Agent Instructions Governance

skills CLI
$ npx skills add Peiiii/nextclaw --skill nextclaw-agent-instructions-governance -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Peiiii/nextclaw nextclaw-agent-instructions-governance --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Peiiii/nextclaw.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/nextclaw-agent-instructions-governance .claude/skills/nextclaw-agent-instructions-governance && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
nextclaw-agent-instructions-governance
GitHub stars
260
Token cost
~541 tokens
SKILL.md length
118 words
Files
6 (incl. references)
Skills in repo
70
Repo updated
First seen
Licence
MIT

At a glance

当确定要修改 AGENTS.md、commands、项目 AI 规则、skill/references、治理脚本,或明确优化 AI 驱动开发体系时使用;普通规则讨论和一次性纠偏不提前触发。

  • Works in 7 steps: AGENTS.md:每轮必须知道的安全与高层边界。 → .agents/skills/*/SKILL.md:需要参与初始发现的工作流、阶段… → skill references/:仅由一个入口拥有、在子场景成立时读取的合同。 → …
  • Tasks that involve Agent instruction files
  • SKILL.md covers 目标, 分层, 修改顺序 and 条件方法, plus 1 more section
  • Calls pnpm

What it does

Nextclaw Agent Instructions Governance is an agent skill from Peiiii/nextclaw. 当确定要修改 AGENTS.md、commands、项目 AI 规则、skill/references、治理脚本,或明确优化 AI 驱动开发体系时使用;普通规则讨论和一次性纠偏不提前触发。

Its SKILL.md is about 540 tokens, which your agent loads only when the skill is triggered. The skill folder holds 6 other files, including reference files (for example `references/context-token-governance.md`, `references/development-system-evolution.md` and `references/intent-macros.md`).

It sits in Agent Workflows, covering Agent instruction files. The repository describes itself as: A human-centered long-term AI partner—not a task-centered assistant. The licence is MIT.

When your agent uses it

  • Tasks that involve Agent instruction files

Example prompts

  • “/nextclaw-agent-instructions-governance”

Workflow steps

7 steps, taken from the first numbered list in SKILL.md.

  1. AGENTS.md:每轮必须知道的安全与高层边界。
  2. .agents/skills/*/SKILL.md:需要参与初始发现的工作流、阶段或独立任务入口。
  3. skill references/:仅由一个入口拥有、在子场景成立时读取的合同。
  4. .agents/wiki/skills///SKILL.md:按领域分组、被上层显式加载的完整下级 Skill;不参与初始发现。
  5. .agents/wiki/knowledge:事实、背景、案例与权威来源索引;不拥有流程或授权。
  6. scripts/ / tests:高信号、低误报、可确定执行的检查。
  7. docs/:人类设计、计划和历史;除非入口明确链接,不承担自动硬规则。

What it can do on your machine

Read from SKILL.md and the folder at commit 4d9d500. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • pnpm

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pnpm, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Nextclaw Agent Instructions Governance loads about 541 tokens when it runs, and up to ~4.1k if it reads all its reference files. Until then it costs about 33 tokens; SKILL.md has 118 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~33
When it runs · the whole SKILL.md, loaded when a task matches
~541
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Peiiii/nextclaw at commit 4d9d500, republished under its MIT licence (© Peiiii). 118 words, ~541 tokens.

Download SKILL.mdSave it as .claude/skills/nextclaw-agent-instructions-governance/SKILL.md (or your agent's skills folder). This skill also uses 5 other files; get the full folder from GitHub.
name
nextclaw-agent-instructions-governance
description
当确定要修改 AGENTS.md、commands、项目 AI 规则、skill/references、治理脚本,或明确优化 AI 驱动开发体系时使用;普通规则讨论和一次性纠偏不提前触发。

AI 指令系统治理

目标

保持规则可靠、单一 owner、渐进加载和低 token 成本。修改前先对齐 docs/VISION.md、检查工作区和当前规则体积,并识别真正根因是缺失、重复、过宽、过长、过期还是放错层。

本项目用户于 2026-09-18 明确授权:开发体系改动完成适用验证与 Review 后,自动按既有交付流程提交、合入 master 并推送 origin/master,无需逐次询问。范围限体系规则、流程、命名治理及其必要文档/测试;不因同批工作区存在产品候选而将其混入,也不自动授权产品部署。用户后续限定优先。

分层

  1. AGENTS.md:每轮必须知道的安全与高层边界。
  2. .agents/skills/*/SKILL.md:需要参与初始发现的工作流、阶段或独立任务入口。
  3. skill references/:仅由一个入口拥有、在子场景成立时读取的合同。
  4. .agents/wiki/skills/<group>/<skill>/SKILL.md:按领域分组、被上层显式加载的完整下级 Skill;不参与初始发现。
  5. .agents/wiki/knowledge:事实、背景、案例与权威来源索引;不拥有流程或授权。
  6. scripts/ / tests:高信号、低误报、可确定执行的检查。
  7. docs/:人类设计、计划和历史;除非入口明确链接,不承担自动硬规则。

每次触发 skill 都必需的内容保留在入口;单 owner 条件内容进 references;两个以上真实入口共享同一独立合同、或能力需要保留可复用 Skill 身份时进入分组 Wiki Skill。不要用 Wiki 隐藏默认必读合同,也不要把只被一个入口使用的材料升级为共享库。

修改顺序

  1. 区分个案、重复模式和稳定规则;沉淀层级不得高于证据。找 owner 和相邻规则,优先删除、合并、收窄或移动。
  2. 每个稳定工作域只有一个 workflow root;普通开发由唯一 lifecycle owner 管理。阶段不直接调用其它阶段或回链,独立 skill 不回链上游。
  3. description 只描述一个稳定意图,不堆“实现/方案/深入/最佳实践”等泛词抢占触发。
  4. 一个判断分支最多要求一个直接下游;阶段 Skill、下级 Wiki Skill 与知识都只在当前节点加载。
  5. 规则影响脚本或命令时同步更新;脚本变化也同步 owning 文本。
  6. 核心阶段使用统一的 development-<stage> 命名;只有深度依赖 NextClaw 产品、NCP、Kernel、仓库命令或发布合同的 skill 使用 nextclaw- 前缀。
  7. 大型重构写设计并在同批迭代记录中留痕,小措辞不建日志。

条件方法

  • 新增、修订、合并或退役意图宏时,读取意图宏维护;调用只读命中定义,不加载维护合同。
  • 用户明确要求优化 AI 驱动开发体系,或有效反馈暴露重复、系统性、高影响机制缺口时,读取开发体系演进闭环。
  • 修改、提升、下沉、合并或删除规则资产,或者要标记/复核模型能力补丁时,读取规则资产生命周期。
  • 任务明确涉及常驻上下文膨胀、渐进加载、重复读取或 Token 成本时,读取上下文与 Token 治理。
  • 新增、删除、合并、分组或下沉 Skill,或改变 workflow/阶段/独立入口拓扑时,读取Skill 拓扑与创建门。

普通局部措辞修正不机械加载多份参考;每次只读取当前判断确实需要的方法,不批量预读。

检查

完成前运行 pnpm check:skill-progressive-loading,确认发现预算、顶层/下级 Skill frontmatter、分组边界、Wiki 非发现性、链接、生命周期拓扑、依赖循环和已删除引用;再按改动风险运行治理 ratchet。纯指令 Markdown 不运行 build/tsc/产品冒烟。

最终报告 AGENTS、skill 数、description、discovery 字符和入口体积变化,说明 Wiki、command/script/baseline 是否适用,以及设计/迭代落点。

© Peiiii, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 5 other files (references) in .agents/skills/nextclaw-agent-instructions-governance of Peiiii/nextclaw.

  • SKILL.md
  • references/context-token-governance.md
  • references/development-system-evolution.md
  • references/intent-macros.md
  • references/rule-asset-lifecycle.md
  • references/skill-topology.md

Open the folder on GitHubat commit 4d9d500

Compare with similar skills

Nextclaw Agent Instructions Governance next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Nextclaw Agent Instructions Governance compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Nextclaw Agent Instructions Governance this skillPeiiii/nextclaw260—~541Automated safety check: PassMIT
Using Agent Skillsaddyosmani/agent-skills105k4 repos~2.4kAutomated safety check: PassMIT
Claude ReflectBayramAnnakov/claude-reflect1.8k2 repos~627Automated safety check: PassMIT
Writing For Agentsbestofjs/bestofjs3.1k20 repos~2.7kAutomated safety check: PassMIT
Neat-Freak Knowledge CloseoutKKKKhazix/khazix-skills21k—~1.9kAutomated safety check: PassMIT
Task Observerrebelytics/one-skill-to-rule-them-all3.2k1 repos~11kAutomated safety check: PassCC-BY-4.0

Similar skills

  • Using Agent Skills

    addyosmani/agent-skills

    Meta-skill for choosing which workflow skill fits the task at hand, plus always-on habits: surface assumptions, stop on confusion, push back, keep it simple and stay in scope.

    105k GitHub starsUsed in 4 repos~2.4k tokens
    Agent WorkflowsAuto-check passed
  • Claude Reflect

    BayramAnnakov/claude-reflect

    Self-learning system that captures corrections during sessions and reminds users to run /reflect to update CLAUDE.md.

    1.8k GitHub starsUsed in 2 repos~627 tokens
    Agent WorkflowsAuto-check passed
  • Writing For Agents

    bestofjs/bestofjs

    Writing documents for agents. An agent skill from bestofjs/bestofjs.

    3.1k GitHub starsUsed in 20 repos~2.7k tokens
    Agent WorkflowsAuto-check passed
  • Neat-Freak Knowledge Closeout

    KKKKhazix/khazix-skills

    Brings project docs, agent rule files, authorized memory and leftover workspace files back in line with what the code and runtime actually do at the end of a work session.

    21k GitHub stars~1.9k tokensUpdated 10 days ago
    Agent WorkflowsAuto-check passed
  • Task Observer

    rebelytics/one-skill-to-rule-them-all

    Monitors task execution for skill improvement opportunities.

    3.2k GitHub starsUsed in 1 repo~11k tokens
    Agent WorkflowsAuto-check passed
  • SkillOpt Sleep Cycle

    microsoft/SkillOpt

    Official

    Runs an on-demand or nightly sleep cycle that reviews past Claude Code sessions and proposes validated updates to CLAUDE.md and skills.

    18k GitHub stars~2.3k tokensUpdated 4 days ago
    Agent WorkflowsAuto-check passed

More from Peiiii/nextclaw

All 70 skills in this repo
  • Nextclaw Skin Studio

    Peiiii/nextclaw

    A skill your agent uses when a user wants to browse, apply, inspect, create, refine, switch, or remove a NextClaw skin; wants a personal skin with arbitrary CSS, JavaScript, images, SVG, DOM…

    260 GitHub stars~1.8k tokensUpdated yesterday
    Auto-check passed
  • A skill your agent uses when a development task needs visible phase tracing, task-level or phase-level Token measurement, model/effort comparison, or a deterministic usage report or local dashboard…

    260 GitHub stars~802 tokensUpdated yesterday
    Auto-check passed
  • 当 NextClaw 产品更新后需要生成、替换、挑毛病或检查官网、GitHub README、用户文档或社交传播中的真实截图、AI 宣传视觉、整页 HTML 宣传预览、社区二维码等对外视觉资产时使用;也用于“更新截图”“重新截一批图”“做宣传页”“生成 campaign 页面”“视觉审稿”“五星挑刺法”或发布前检查视觉资产。普通站点布局开发或只写文章不触发。

    260 GitHub stars~801 tokensUpdated yesterday
    Auto-check passed
  • UI UX Pro Max

    Peiiii/nextclaw

    A skill your agent uses when the user wants professional UI/UX design guidance, design-system generation, UX review, or stack-specific frontend guidance through a bundled local UI/UX Pro Max dataset…

    260 GitHub stars~2k tokensUpdated yesterday
    Auto-check passed
  • Impeccable

    Peiiii/nextclaw

    A skill your agent uses when the user wants distinctive, production-grade frontend design, anti-generic AI aesthetics, UX critique, technical UI audits, or final polish through bundled Impeccable…

    260 GitHub stars~2.5k tokensUpdated yesterday
    Auto-check passed
  • Curate NextClaw skill resources, including OpenClaw and community sources.

    260 GitHub stars~479 tokensUpdated yesterday
    Auto-check passed

Categories

Questions about Nextclaw Agent Instructions Governance

What does Nextclaw Agent Instructions Governance do?

当确定要修改 AGENTS.md、commands、项目 AI 规则、skill/references、治理脚本,或明确优化 AI 驱动开发体系时使用;普通规则讨论和一次性纠偏不提前触发。. Nextclaw Agent Instructions Governance is an agent skill from Peiiii/nextclaw.

When should I use Nextclaw Agent Instructions Governance?

Nextclaw Agent Instructions Governance fits situations like: tasks that involve Agent instruction files.

How do I install Nextclaw Agent Instructions Governance in Claude Code?

Run `npx skills add Peiiii/nextclaw --skill nextclaw-agent-instructions-governance -a claude-code`. Or copy the skill folder (.agents/skills/nextclaw-agent-instructions-governance in Peiiii/nextclaw) into .claude/skills/nextclaw-agent-instructions-governance in your project. Claude Code loads it when a task matches its description.

How do I install Nextclaw Agent Instructions Governance in Codex?

Run `npx skills add Peiiii/nextclaw --skill nextclaw-agent-instructions-governance -a codex`. Or copy the skill folder (.agents/skills/nextclaw-agent-instructions-governance in Peiiii/nextclaw) into .agents/skills/nextclaw-agent-instructions-governance in your project. Codex loads it when a task matches its description.

Can I use Nextclaw Agent Instructions Governance in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Peiiii/nextclaw --skill nextclaw-agent-instructions-governance -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/nextclaw-agent-instructions-governance, .gemini/skills/nextclaw-agent-instructions-governance, .github/skills/nextclaw-agent-instructions-governance and .opencode/skills/nextclaw-agent-instructions-governance in your project.

What does Nextclaw Agent Instructions Governance need to run?

Going by SKILL.md and its folder, Nextclaw Agent Instructions Governance needs the command-line tools its instructions call (pnpm).

Does Nextclaw Agent Instructions Governance access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Nextclaw Agent Instructions Governance safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Nextclaw Agent Instructions Governance use?

Nextclaw Agent Instructions Governance is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Nextclaw Agent Instructions Governance use?

About 541 tokens (SKILL.md is roughly 2.2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.5k tokens, read only when the agent opens those files.

What are the alternatives to Nextclaw Agent Instructions Governance?

Skills that share tags, products or a category with Nextclaw Agent Instructions Governance: Using Agent Skills (addyosmani/agent-skills, 105k stars), Claude Reflect (BayramAnnakov/claude-reflect, 1.8k stars), Writing For Agents (bestofjs/bestofjs, 3.1k stars) and Neat-Freak Knowledge Closeout (KKKKhazix/khazix-skills, 21k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Nextclaw Agent Instructions Governance?

Peiiii (a GitHub user) maintains it in Peiiii/nextclaw, which has 260 GitHub stars. The repository holds 70 skills in this directory. The repository was last updated on October 9, 2026.

Source: Peiiii/nextclaw on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.