nextclaw-self-manage

nextclaw-self-manage is a skill for Claude Code, Codex from Peiiii/nextclaw. It costs 79 tokens per session (2,574 once invoked), scanned A, original, MIT.

A command-line guide for managing the NextClaw runtime, the software environment that runs NextClaw agents and apps. It covers installation, services, configuration, projects, sessions, channels, apps, scheduled jobs, updates, and diagnostics.

In plain words
What is it for?
Use it to inspect versions and status, run diagnostics, manage agents and projects, configure channels, operate apps, handle scheduled jobs, and update NextClaw.
Why use it?
It gives the correct procedure for checking and changing NextClaw itself, including investigating crashes, background exits, and connection addresses.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to inspect versions and status, run diagnostics, manage agents and projects, configure channels, operate apps, handle scheduled jobs, and update NextClaw.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/peiiii/nextclaw/nextclaw-self-manage
Install

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.

Any agent
npx skills add Peiiii/nextclaw --skill nextclaw-self-manage
Clone the repo
git clone --depth 1 https://github.com/Peiiii/nextclaw

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for nextclaw-self-manage

README.md
[![agentmods](https://agentmods.dev/badge/skills/peiiii/nextclaw/nextclaw-self-manage/github.svg)](https://agentmods.dev/skills/peiiii/nextclaw/nextclaw-self-manage)
Your own site
<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.

agentmods 80×15 button for nextclaw-self-manage

Your own site · 80×15
<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>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,574 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
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.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured today against content hash b9c09d654c64, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

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.

packages/nextclaw-core/src/features/agent/shared/skills/nextclaw-self-manage/SKILL.md · 114 lines

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.

  1. Read the built-in guide path provided by the system prompt first.
  2. If the packaged guide is unavailable in a repo source checkout, use repo docs path docs/USAGE.md.
  3. Never treat workspace USAGE.md snapshots or copied artifacts as the source of truth.
  4. If both guide paths are unavailable, use nextclaw --help and nextclaw <subcommand> --help as 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 substitute status for version queries.
  • Treat nextclaw update --channel beta as opting into both preview and production candidates; the updater offers whichever compatible version is newer. The stable channel remains production-only.
  • Prefer machine-readable output: use --json when available.
  • Before calling local HTTP APIs or /webhook, run nextclaw status --json and read endpoints.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 ..., and nextclaw search ...; do not read/edit config files or substitute generic config set/unset or 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 relevant show command, and verify provider connectivity with providers test. An API apply failure is not success even if values were saved.
  • Provider model discovery does not save models. providers models set replaces the full list; providers models configure replaces 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 only authorized as completion. providers auth import is 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
  • After mutating operations, close the loop with:
    • nextclaw status --json
    • and nextclaw doctor --json when needed
  • Be explicit about restart semantics after changes. When a restart is required, ask the user to run nextclaw restart in an external terminal; do not invoke a restart from the active agent session.
  • nextclaw gateway starts a foreground gateway. It has no start, status, restart, or stop subcommands.
  • After modifying a running Service App, run nextclaw app restart <app-id> --json before 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 --json against the running host. Treat the returned id, appId, lifecycle, usage breakdown, and instance path as authoritative.
  • Independently delete only an entry whose latest list result says lifecycle: retained and actions.deleteRetainedData: true. Use nextclaw app data delete <data-id> --confirm <app-id> --json, where the data id comes from that list result and the confirmation exactly matches its appId.
  • 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 --json again 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 --json and treat returned channels[].id values 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 message tool with an explicit channel and recipient.
  • For Agent creation/update/removal, treat nextclaw agents list|new|update|remove --json as 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> --json to inspect and --inject-nextclaw-context <true|false> to update. Run nextclaw restart in 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.json or agents.list directly 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.

Read the full file on GitHub · 114 lines

Files

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.

Changes

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.

  1. today Changed · +2 lines · +8 tokens per session b9c09d654c64
  2. yesterday Changed · +8 lines 010116e5dff2
  3. 6d ago Changed · +1 lines 8976feec797f
  4. 10d ago First seen · 103 lines · 71 tokens per session scan A 46316301c3c7

Subscribe to this mod's changes

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.

Related

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.

vincentkoc/dotskills · 68 tokens

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…

vincentkoc/dotskills · 95 tokens

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.

vincentkoc/dotskills · 46 tokens

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.

vincentkoc/dotskills · 45 tokens

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.

vincentkoc/dotskills · 41 tokens

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…

vincentkoc/dotskills · 91 tokens