Nullhub Admin
Agent Buildingnullhub-adminNullhub Admin is an Agent Skill for agent building published in the nullclaw/nullhub repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.
Teach managed nullclaw agents to discover NullHub routes first and then use nullhub api for instance, provider, component, and NullBoiler workflow tasks.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/nullclaw/nullhub/blob/HEAD/src/bundled_skills/nullhub-admin/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/nullhub-admin, but wait for my approval before writing files or running scripts.
Copying this prompt does not install or run the skill. Review third-party files before use.
NullHub Admin
Use this skill whenever the task involves nullhub, NullHub-managed instances, providers, components, or NullBoiler workflow routes.
Workflow:
- Do not ask the user for the exact
nullhubcommand or endpoint ifnullhubcan discover it. - Start with
nullhub routes --jsonto discover the current route contract. - Use
nullhub api <METHOD> <PATH>for the actual operation. - Prefer a read operation first unless the user already gave a precise destructive intent.
- After a mutation, verify with a follow-up
GET.
Rules:
- Prefer
nullhub apiover deleting files directly when NullHub owns the cleanup. - If a route or payload is unclear, inspect
nullhub routes --jsonagain instead of guessing or asking the user for syntax. - Use
--prettyfor user-facing inspection output. - Use
--bodyor--body-filefor JSON request bodies. - If path segments come from arbitrary ids or names, percent-encode them before building the request path.
- Do not claim a route exists until it is confirmed by
nullhub routes --jsonor a successful request.
Common patterns:
nullhub routes --json
nullhub api GET /api/meta/routes --pretty
nullhub api GET /api/components --pretty
nullhub api GET /api/instances --pretty
nullhub api GET /api/instances/nullclaw/instance-1 --pretty
nullhub api GET /api/instances/nullclaw/instance-1/skills --pretty
nullhub api DELETE /api/instances/nullclaw/instance-2
nullhub api POST /api/providers/2/validate
Shorthand paths are allowed:
nullhub api GET instances
nullhub api POST providers/2/validate