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 agentmods add skills/lance0/nbox/searchnpx skills add lance0/nbox --skill searchgit clone --depth 1 https://github.com/lance0/nboxWhat 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 | $0.00079 | $0.01078 |
| Opus 5 | $0.00039 | $0.00539 |
| Sonnet 5 | $0.00016 | $0.00216 |
| Haiku 4.5 | $0.00008 | $0.00108 |
Grade A, and why
nbox-search 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 3d 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 — 87 lines — stays where its author put it; the contents beside it link to each section on GitHub.
nbox search
nbox search <query> runs one parallel, full-text search across every object
kind — devices, sites, racks, rack-groups, IPs, prefixes, VLANs, circuits,
virtual-circuits, aggregates, ASNs, IP-ranges, tenants, contacts, providers,
VMs, VM-types, clusters, VRFs, route-targets — and returns one ranked, deduped
result set. It is the entry point when the exact kind or reference isn't known
yet: search first, then feed a hit into a detail lookup.
nbox --no-tui search edge01 --json --envelope
nbox --no-tui search edge --status active --site DC1 -o csv --cols kind,display,url
For the exact flags, run nbox search --help. This skill is flag-free by
design — it describes what each flag answers, not its semantics, so it can't
drift as the CLI evolves.
What it answers
"What objects in NetBox match this string, and what kind is each?" Each hit
carries a kind (e.g. device, ip_address, prefix), a display, and a
url. Search is REST-canonical — NetBox's GraphQL has no full-text q, so a
search = "graphql" profile preference transparently falls back to REST.
Narrowing the result set
- One scope filter at a time. The scope flags —
--site/--region/--site-group/--location/--tenant/--role/--tag/--status/--owner/--owner-group/--vrf— narrow the search per-endpoint. The geographic scopes (--site/--region/--site-group/--location) are mutually exclusive: NetBox's polymorphic prefixscopeis a single type+id, so passing more than one geographic scope is a usage error (exit 2).--vrfis orthogonal and may combine with a geographic scope. - Endpoints that can't honor a filter are skipped, not errored — a VRF
filter drops devices/sites/VLANs; a
--sitefilter drops VRFs. The remaining kinds still return. - An unknown reference is a not-found error (exit 4), not a silent empty
result — a typo'd
--siteor--vrfis caught. --limitcaps the result count;--colsselects the columns for-o csvoutput.
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.
- 3d ago First seen · 87 lines · 79 tokens per session scan A e44d74f66658
nbox-search is a skill published in the GitHub repository lance0/nbox (11 stars, last pushed 21d ago), licensed Apache-2.0. It adds 79 tokens to every session and 1,078 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
dcim-interfaces
NetBox DCIM interface CRUD with composite addressing, VLAN/LAG name resolution, and cable trace.
generic-resource-actions
Shared CRUD pattern for NetBox resources whose entire CLI surface is generated from the OpenAPI schema.
dcim-devices
NetBox DCIM device CRUD with foreign-key name resolution and bulk operations.
ipam-prefixes
NetBox IPAM prefix CRUD plus available-ips and available-prefixes allocation helpers.
raw
Authenticated passthrough to any NetBox /api/ path that does not yet have a typed nbx command.
config
Manage nbx NetBox URL, token, and named contexts in /.config/nbx/config.toml.