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.03167 |
| Opus 5.5 | $0.00032 | $0.01267 |
| Sonnet 5.5 | $0.00016 | $0.00633 |
| Haiku 4.5 | $0.00008 | $0.00317 |
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 1mo ago.
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 — 124 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 CLI/runtime version lookup to
nextclaw --version. When the question is about the process currently serving NextClaw, usenextclaw status --jsonand readruntime.version; do not substitute the CLI version, launcher version, or bundle pointer. - Treat
nextclaw update --channel betaas opting into both preview and production candidates; the updater offers whichever compatible version is newer. Thestablechannel remains production-only. - For an explicitly authorized self-update, run
nextclaw updatethrough the ordinary exec/CLI path. If its result requires a restart, then runnextclaw restart; never look for or invent an agent-only update tool. - Same-machine CLI restart/status authenticate through the local bridge when web login protection is enabled. Do not request browser cookies or disable protection. Report an update as complete only after the serving
runtime.versionmatches the target; if authentication or a custom launcher override blocks the transition, report the installed and running states separately. - Prefer machine-readable output: use
--jsonwhen available. - For questions about the current installation kind, data directory, runtime home, Desktop data, logs, config path, or workspace, run
nextclaw status --jsonand readinstance/storage. Documentation paths are defaults or examples, never proof of the current instance. If status is unavailable or a field is unknown, say that the current value cannot be verified; only then describe a default conditionally. - 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 the user has authorized a required restart, invoke
nextclaw restartdirectly. The active connection can briefly disconnect; the controlled-restart handoff continues eligible interrupted sessions after the replacement host is ready. If the running host is unavailable or predates recovery support, use an external-terminal restart and disclose that automatic continuation is unavailable for that transition. 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. Apply the authorized restart using the lifecycle guidance above. - Automatic continuation requires a supported managed/foreground host or NextClaw systemd service and plain
nextclaw restart, without port/open/timeout overrides. Desktop/other-supervisor exits and legacy stop/start transitions do not carry this handoff. If the restart request times out, inspect status before retrying; an interrupted tool result is not proof that the restart failed. - For project creation, existing-directory registration, discovery, or removal, use
nextclaw projects list|templates|create|register|remove --json;register <directory>preserves directory contents and accepts optional--name, while project removal 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, pinning, project binding, or deletion, use
nextclaw sessions rename|pin|unpin|set-project|clear-project|delete --json; pin and unpin persist on the instance. 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.
- 1mo ago Changed 7476d3b40948
- 2mo ago Changed 151a7e089e63
- 2mo ago Changed · +7 lines 08d5b51689c0
- 2mo ago Changed · +1 lines 9edeffb2e4af
- 2mo ago Changed · +2 lines cc7a2270617c
- 2mo ago Changed · +2 lines · +8 tokens per session b9c09d654c64
- 2mo ago Changed · +8 lines 010116e5dff2
- 2mo ago Changed · +1 lines 8976feec797f
- 3mo 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 (266 stars, last pushed today), licensed MIT. It adds 79 tokens to every session and 3,167 once invoked, about $0.0003 per session on Opus 5.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.
nextclaw-self-manage compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| nextclaw-self-managePeiiii/nextclaw | Skill | 266 | today | MIT | A | 79 | Claude Code, Codex |
| ha-skill-creatorshiwenwen/hope-agent | Skill | 1.9k | today | MIT | A | 106 | Claude Code |
| ha-browsershiwenwen/hope-agent | Skill | 1.9k | today | MIT | A | 140 | Claude Code |
| ha-logsshiwenwen/hope-agent | Skill | 1.9k | today | MIT | A | 183 | Claude Code, Codex |
| ha-pet-importshiwenwen/hope-agent | Skill | 1.9k | today | MIT | A | 109 | Codex |
| ha-skill-installershiwenwen/hope-agent | Skill | 1.9k | today | MIT | A | 82 | Claude Code, Codex |
| email-draftshiwenwen/hope-agent | Skill | 1.9k | today | MIT | A | 46 | Claude Code, Codex |