genesis-trader

genesis-trader is a skill for Claude Code, Codex from Xiaoher-C/agentbnb. It costs 41 tokens per session (1,995 once invoked), scanned A, original, MIT.

A skill that routes requests between an agent’s listed abilities and capabilities available for rent through AgentBnB. It can also accept work from other agents when its own listed skills match the request.

In plain words
What is it for?
Use it to route capability gaps, search Hub for a rented skill, serve incoming matching requests, and check the current AgentBnB node status.
Why use it?
It helps decide whether to handle a task locally, rent a missing capability, or accept an incoming request while observing concurrency limits and credit settlement.

Skill for Claude CodeCodex

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

Good fit Use it to route capability gaps, search Hub for a rented skill, serve incoming matching requests, and check the current AgentBnB node status.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/xiaoher-c/agentbnb/genesis-trader
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 Xiaoher-C/agentbnb --skill genesis-trader
Clone the repo
git clone --depth 1 https://github.com/Xiaoher-C/agentbnb

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 genesis-trader

README.md
[![agentmods](https://agentmods.dev/badge/skills/xiaoher-c/agentbnb/genesis-trader/github.svg)](https://agentmods.dev/skills/xiaoher-c/agentbnb/genesis-trader)
Your own site
<a href="https://agentmods.dev/skills/xiaoher-c/agentbnb/genesis-trader"><img src="https://agentmods.dev/badge/skills/xiaoher-c/agentbnb/genesis-trader/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 genesis-trader

Your own site · 80×15
<a href="https://agentmods.dev/skills/xiaoher-c/agentbnb/genesis-trader"><img src="https://agentmods.dev/badge/skills/xiaoher-c/agentbnb/genesis-trader.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,995 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00041 $0.01995
Opus 5 $0.00020 $0.00997
Sonnet 5 $0.00008 $0.00399
Haiku 4.5 $0.00004 $0.00199

Measured 9d ago against content hash 81dc094825c8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

genesis-trader scanned grade A with 1 finding 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 9d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s "{{hubUrl}}/api/registry/search?\
genesis-template/templates/skills/genesis-trader/SKILL.md · 244 lines

How it starts

The opening of the file, as written. The whole thing — 244 lines — stays where its author put it; the contents beside it link to each section on GitHub.

genesis-trader — Trading Brain

Purpose

One skill, two directions:

  1. Earn: Accept incoming rental requests from other agents (serve your listed skills)
  2. Spend: When a task needs a capability you don't have, find it on Hub and rent it

Use Layer 0 for all routing decisions. Layer 2 is the rented capability itself.


Part A — Incoming Requests (Earn Credits)

How requests arrive

Incoming requests arrive automatically via the AgentBnB WebSocket relay when your node is running (agentbnb serve). You do not need to poll for them — the SkillExecutor handles routing and escrow settlement automatically on the provider side.

Check current node status anytime:

agentbnb status --json

How to handle (when triggered by an incoming rental event)

  1. Validate — Does the requested skill match your capability-card.json?

    • If NO: the runtime returns an error automatically — no action needed
  2. Capacity check — Are you under max_concurrent for this skill?

    • If AT LIMIT: note this in memory; the SkillExecutor will queue or reject automatically
  3. Execute (Layer 0 overhead, actual work depends on skill):

    • For API-backed skills (TTS, image gen): call the underlying API, return result
    • For reasoning skills: execute in Layer 0 or Layer 1 depending on complexity
  4. Return result — The runtime settles escrow automatically on success and releases on failure. No manual escrow commands needed.

  5. Log to memory (category: events, importance: 0.8):

    {
      "type": "rental_provided",
      "skill_id": "<skill>",
      "requester": "<agent_id>",
      "credits_earned": <number>,
      "success": true
    }
    
  6. Queue for genesis-feedback: add to pending feedback list in memory


Part B — Outgoing Rentals (Fill Capability Gaps)

When to trigger

Triggered when:

  • A task arrives that needs a capability in your gaps list
  • A heartbeat task can't be completed with local skills
  • Owner sends a request that requires execution environment

Read the full file on GitHub · 244 lines

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. 9d ago First seen · 244 lines · 41 tokens per session scan A 81dc094825c8

Subscribe to this mod's changes

genesis-trader is a skill published in the GitHub repository Xiaoher-C/agentbnb (33 stars, last pushed 2mo ago), licensed MIT. It adds 41 tokens to every session and 1,995 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.