Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Peiiii/nextclaw --skill nextclaw-self-managegit clone --depth 1 https://github.com/Peiiii/nextclawWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/peiiii/nextclaw/nextclaw-self-manage)<a href="https://agentmods.dev/skills/peiiii/nextclaw/nextclaw-self-manage"><img src="https://agentmods.dev/badge/skills/peiiii/nextclaw/nextclaw-self-manage/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/peiiii/nextclaw/nextclaw-self-manage"><img src="https://agentmods.dev/badge/skills/peiiii/nextclaw/nextclaw-self-manage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector warn
SkillSpector: 1 finding, up to medium
These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →
- medium Excessive Agency · line 35 Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00079 | $0.02574 |
| Opus 5 | $0.00039 | $0.01287 |
| Sonnet 5 | $0.00016 | $0.00515 |
| Haiku 4.5 | $0.00008 | $0.00257 |
Grade A, and why
nextclaw-self-manage scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 114 lines — stays where its author put it; the contents beside it link to each section on GitHub.
NextClaw Self-Management
Use this skill whenever the user asks to manage NextClaw itself (version, service status, diagnostics, channels, config, agents, projects, sessions, apps and App data, cron, remote, update, installed skills, marketplace skills, local HTTP/API/webhook addresses), report a NextClaw problem, or follow up on a reported problem.
Source of Truth
Always use the built-in NextClaw self-management guide as the operation guide.
- Read the built-in guide path provided by the system prompt first.
- If the packaged guide is unavailable in a repo source checkout, use repo docs path
docs/USAGE.md. - Never treat workspace
USAGE.mdsnapshots or copied artifacts as the source of truth. - If both guide paths are unavailable, use
nextclaw --helpandnextclaw <subcommand> --helpas fallback and tell the user that guide file is missing.
Routing Rules
- Treat NextClaw self-management as a product-management intent, not a generic "create/install/publish" intent.
- Read the built-in self-management guide before opening unrelated generic skills.
- Example: "create a new Agent" maps to NextClaw agent management, not
skill-creator.
Stable Execution Rules
- Map version lookup directly to
nextclaw --version; do not substitutestatusfor version queries. - Treat
nextclaw update --channel betaas opting into both preview and production candidates; the updater offers whichever compatible version is newer. Thestablechannel remains production-only. - Prefer machine-readable output: use
--jsonwhen available. - Before calling local HTTP APIs or
/webhook, runnextclaw status --jsonand readendpoints.uiUrl/endpoints.apiUrl; do not guess the service port. - For webhook payload details, read the focused guide linked from the self-management guide only when you need to implement or debug a webhook caller.
- Execute only commands documented in the self-management guide or CLI help; do not invent commands or config paths.
- When the user asks to report a NextClaw problem, use the guide's private feedback commands yourself, without sending the user to a form. Submit only relevant, redacted reproduction details; never require GitHub login. Keep receipt keys private, reuse saved request IDs after uncertain submission, and query the original report for replies. A released fix does not authorize upgrading the user's environment.
- When the user asks about their reports, use feedback list/get/reply yourself and explain actual maintainer replies. Do not create an AI polling job by default. Distinguish ready from published; report query failures honestly and never infer resolution from silence. Suggest submitting a report when a relevant bug is observed, but obtain the user's intent to submit before sending diagnostic details.
- Prefer object-level CLI commands for configuration management. For providers/models/search, use
nextclaw providers ...,nextclaw models ..., andnextclaw search ...; do not read/edit config files or substitute genericconfig set/unsetor gateway config actions for these covered tasks. - Generic config commands and gateway config tools remain transitional options only for documented capabilities not covered by object-level CLI or explicit manual recovery. A missing running host is not a reason to silently edit files instead.
- Read API keys from a named environment variable with
--api-key-env; never print the variable or copy credentials into a command argument. Query saved settings with the relevantshowcommand, and verify provider connectivity withproviders test. An API apply failure is not success even if values were saved. - Provider model discovery does not save models.
providers models setreplaces the full list;providers models configurereplaces all capability overrides. Query existing settings first and include entries the user intends to keep. - For provider authorization, follow the URI/code from
providers auth start, poll the returned session id at the advertised interval, and treat onlyauthorizedas completion.providers auth importis available for supported external CLI credentials. - In desktop-installed runtimes, still use the same
nextclaw ...commands. The desktop launcher provides a managed command surface to AI command tools; do not ask the user to install the NPM CLI just to run self-management commands. - Keep installed skills and marketplace catalog as two different domains:
- local installed:
nextclaw skills installed|info - marketplace catalog and installed marketplace lifecycle:
nextclaw marketplace skills search|info|recommend|install|update
- local installed:
- After mutating operations, close the loop with:
nextclaw status --json- and
nextclaw doctor --jsonwhen needed
- Be explicit about restart semantics after changes. When a restart is required, ask the user to run
nextclaw restartin an external terminal; do not invoke a restart from the active agent session. nextclaw gatewaystarts a foreground gateway. It has nostart,status,restart, orstopsubcommands.- After modifying a running Service App, run
nextclaw app restart <app-id> --jsonbefore validating through the live product UI or panel-to-service action calls. - Treat App code and managed App data as separate lifecycles. Uninstall/removal keeps managed data by default; delete it only when the user explicitly chooses the destructive data-removal option.
- For App data discovery, run
nextclaw app data list --jsonagainst the running host. Treat the returnedid,appId,lifecycle, usage breakdown, and instance path as authoritative. - Independently delete only an entry whose latest list result says
lifecycle: retainedandactions.deleteRetainedData: true. Usenextclaw app data delete <data-id> --confirm <app-id> --json, where the data id comes from that list result and the confirmation exactly matches itsappId. - Never synthesize App data ids, delete an active entry through the retained-data command, or substitute direct recursive filesystem deletion for the managed API. After deletion, run
nextclaw app data list --jsonagain and verify the exact entry is absent. - Reset a Service App development instance only when explicitly requested, using
nextclaw app dev <service-app-dir> --reset-data --confirm <app-id> --json; the confirmation must match the manifest id. - App data removal never authorizes deletion of documents or directories separately granted to the App outside its managed instance.
- For channel discovery before messaging, use
nextclaw channels list --jsonand treat returnedchannels[].idvalues as authoritative. - For cron notifications, do not add delivery flags to the cron command. Put the notification intent in the scheduled message and let the scheduled agent call the
messagetool with an explicit channel and recipient. - For Agent creation/update/removal, treat
nextclaw agents list|new|update|remove --jsonas the default path and follow the Agent management section in the self-management guide. - For runtime context injection, use
nextclaw agents runtime config <runtime-id> --jsonto inspect and--inject-nextclaw-context <true|false>to update. Runnextclaw restartin an external terminal after changing it. - For project creation, discovery, or removal, use
nextclaw projects list|templates|create|remove --json; project removal also requires--confirm <project-id>and preserves the local folder, sessions, and Project Work. Do not synthesize placeholder sessions or edit the project registry file directly. - For session naming, project binding, or deletion, use
nextclaw sessions rename|set-project|clear-project|delete --json; deletion also requires--confirm <session-id>. Do not edit session journal metadata directly. - Do not edit
config.jsonoragents.listdirectly for normal Agent CRUD; only do that when the user explicitly wants a manual recovery path. - When creating an Agent, prefer an explicit non-text avatar and avoid text-based styles such as DiceBear
initials.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- today Changed · +2 lines · +8 tokens per session b9c09d654c64
- yesterday Changed · +8 lines 010116e5dff2
- 6d ago Changed · +1 lines 8976feec797f
- 10d ago First seen · 103 lines · 71 tokens per session scan A 46316301c3c7
nextclaw-self-manage is a skill published in the GitHub repository Peiiii/nextclaw (256 stars, last pushed today), licensed MIT. It adds 79 tokens to every session and 2,574 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
openclaw-github-dedupe
Investigate a cluster of GitHub issues and PRs, determine canonical candidates, post duplicate/related status, preserve contributor credit, and execute cleanup actions. Supports autonomous mode for provided-link-only closeout, merge/fix follow-through, changelog, and post-merge issue/PR cleanup.
openclaw-pr-batch-sweep
Select, review, repair, validate, and land batches of up to 20 low-risk OpenClaw contributor pull requests using Vincent's maintainer preferences and bounded sub-agent lanes. Use for "next 20", broad contributor PR sweeps, merge-candidate mining, or continued PR-batch work where drafts, maintainer work, trivial…
tmux-lane-orchestrator
Manage one tmux agent lane from its matching ops pane, inspect live pane state and Codex logs on cold start, and produce concise manager summaries for OpenClaw and adjacent project work.
ghcrawl-cluster-operator
Use when inspecting a ghcrawl SQLite store, pulling GitHub issue/PR data, refreshing summaries, embeddings, and clusters, or extracting one cluster and its evidence through the ghcrawl CLI.
opik-optimizer
Optimize LLM prompts, tools, and agents in Opik using standardized optimizer workflows (prompt optimization, tool optimization, and parameter tuning), dataset/metric wiring, and result interpretation.
org-branch-cleanup
Audit and safely prune stale branches across a GitHub organization with immutable snapshots, conservative merged-PR classification, live SHA/protection/open-PR revalidation, resumable deletion ledgers, and post-delete verification. Use when a maintainer asks to clean up old, dead, merged, bot-created, or abandoned…