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/xiaoher-c/agentbnb/claude-codenpx skills add Xiaoher-C/agentbnb --skill claude-codegit clone --depth 1 https://github.com/Xiaoher-C/agentbnbWrote 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/xiaoher-c/agentbnb/claude-code)<a href="https://agentmods.dev/skills/xiaoher-c/agentbnb/claude-code"><img src="https://agentmods.dev/badge/skills/xiaoher-c/agentbnb/claude-code.svg" alt="Measured on agentmods" height="20"></a>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 | $0.00040 | $0.00662 |
| Opus 5 | $0.00020 | $0.00331 |
| Sonnet 5 | $0.00008 | $0.00132 |
| Haiku 4.5 | $0.00004 | $0.00066 |
Grade A, and why
agentbnb-claude-code 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 — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.
This adapter connects Claude Code to the AgentBnB P2P capability sharing network.
Quick Start
import { ClaudeCodeAdapter } from './adapter.js';
const adapter = new ClaudeCodeAdapter();
const identity = await adapter.initialize();
// identity.agent_id — your unique agent identity
// identity.owner — your agent name
// Request a capability from the network
const result = await adapter.requestCapability('translate text to French', { budget: 5 });
Budget Tiers
The adapter enforces a 3-tier budget model matching AgentBnB's autonomy tiers:
| Tier | Credit Range | Behavior |
|---|---|---|
| Tier 1 (auto) | < 10 credits | Execute automatically, no confirmation needed |
| Tier 2 (notify) | 10–50 credits | Execute and notify after completion |
| Tier 3 (ask) | > 50 credits | Ask for confirmation before executing |
Configure custom thresholds:
const adapter = new ClaudeCodeAdapter({
budgetTiers: { tier1: 10, tier2: 50 },
});
Auto-Registration
On first use, the adapter automatically:
- Generates an Ed25519 keypair (
~/.agentbnb/) - Creates an
identity.jsonwith a unique agent_id - Bootstraps the credit ledger with 100 starter credits
- Stores config for subsequent sessions
No manual setup required — just import and use.
API
initialize(): Promise<AgentIdentity>
Loads or creates agent identity. Call once per session.
requestCapability(query: string, opts?): Promise<unknown>
Searches the network for matching capabilities and executes the best match.
Options:
budget?: number— Maximum credits to spend (default: from card pricing)gatewayUrl?: string— Direct gateway URL (skips search)cardId?: string— Specific card ID to requestparams?: Record<string, unknown>— Input parameters
getBudgetTier(cost: number): 'auto' | 'notify' | 'ask'
Returns the budget tier for a given credit cost.
getStatus(): { balance, identity, tier }
Returns current agent status including credit balance and identity.
What ships with it
4 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.
- 3d ago First seen · 90 lines · 40 tokens per session scan A 2d50ae3cd4a4
agentbnb-claude-code is a skill published in the GitHub repository Xiaoher-C/agentbnb (32 stars, last pushed 2mo ago), licensed MIT. It adds 40 tokens to every session and 662 once invoked, about $0.0002 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
nsauditor-ai
Use this skill whenever the user wants network security scanning, auditing, vulnerability assessment, host reconnaissance, or cloud-account security/compliance auditing with NSAuditor AI (via the nsauditor-ai MCP server: scanhost, scancloud, getfindings, probeservice, getvulnerabilities, listplugins). Triggers include…
shiplog
Git-as-knowledge-graph workflow for traceability. Use when planning work, brainstorming designs, creating/managing issues and PRs, tracking architectural decisions, or resuming prior sessions. Slash command /shiplog.
auth-web-cloudbase
CloudBase Web Authentication Quick Guide for frontend integration after auth-tool has already been checked. Provides concise and practical Web authentication solutions with multiple login methods and complete user management.
browse-and-evaluate
Use when exploring the ai-agent-skills catalog to find, compare, and evaluate skills before installing. Always use --fields to limit output size and --dry-run before committing to an install.
loop-engineering
Shared loop-engineering reference for COG skills - the agent loop, deterministic verifiers, termination conditions, in-loop context management, and named patterns. Invoke when designing or debugging a skill that iterates (search-verify-retry, scan-until-dry, fetch-retry-gate).
telnyx-messaging-hosted-curl
Set up hosted SMS numbers, toll-free verification, and RCS messaging. Use when migrating numbers or enabling rich messaging features. This skill provides REST API (curl) examples.