nanobot is a small, self-hosted personal AI agent framework written in Python, providing an agent runtime that can operate through a WebUI, terminal, or chat applications. Users use it to connect language models with tools, memory, MCP integrations, scheduled automation, and multi-agent workflows. The catalogue add-ons provide skills and instructions for working with nanobot.
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 skills add HKUDS/nanobot --skill mygit clone --depth 1 https://github.com/HKUDS/nanobotWrote 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/hkuds/nanobot/my)<a href="https://agentmods.dev/skills/hkuds/nanobot/my"><img src="https://agentmods.dev/badge/skills/hkuds/nanobot/my/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.
<a href="https://agentmods.dev/skills/hkuds/nanobot/my"><img src="https://agentmods.dev/badge/skills/hkuds/nanobot/my.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.1 | $0.00021 | $0.00646 |
| Opus 5.5 | $0.00008 | $0.00258 |
| Sonnet 5.5 | $0.00004 | $0.00129 |
| Haiku 4.5 | $0.00002 | $0.00065 |
Grade A, and why
my 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 1mo 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 — 75 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Self-Awareness
How to use
- Identify the situation from the categories below
- Call the my tool with the appropriate action
- If set, warn the user before changing impactful settings such as the model or runtime limits
- For detailed examples, read references/examples.md
When to check
When to set
| Situation | Command |
|---|---|
| Check capacity for a large task | my(action="check", key="context_window_tokens") |
| Switch model or context capacity | my(action="set", key="model_preset", value="<preset-name>") |
| Long multi-step task | my(action="set", key="max_iterations", value=80) |
Tradeoff: Bias toward stability. Only set when defaults are genuinely insufficient.
Anti-patterns
Constraints
model_presetis saved for the current session; other modifications are in-memory only- Scratchpad values survive across turns until the agent runtime restarts and are shared by its sessions; do not treat them as private per-session storage.
- Use
my(action="check", key="workspace_sandbox")for the current project and file restriction.workspaceis only a legacy agent-directory display. - Direct
modelandcontext_window_tokenswrites are rejected during active sessions because they would change the shared instance default. Use a configuredmodel_presetinstead. - Protected params have type/range validation:
max_iterations(1–100),context_window_tokens(4096–1M),model(non-empty str) - If
tools.my.allow_setis false, check only
What ships with it
1 file 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.
- 1mo ago Changed · +2 lines e4f49beb51d5
- 1mo ago Changed · -43 tokens per session 12ae8d94544c
- 1mo ago Changed · -4 tokens per session 51d04bd5aa75
- 3mo ago First seen · 73 lines · 68 tokens per session scan A 9352352e37f8
my is a skill published in the GitHub repository HKUDS/nanobot (50,443 stars, last pushed today), licensed MIT. It adds 21 tokens to every session and 646 once invoked, about $0.0001 per session on Opus 5.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.
my compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| myHKUDS/nanobot | Skill | 50k | today | MIT | A | 21 | Claude Code, Codex |
| agenticx-custom-projectDemonDamon/AgenticX | Skill | 1.3k | yesterday | Apache-2.0 | A | 134 | Claude Code, Codex |
| connector-assistantDemonDamon/AgenticX | Skill | 1.3k | yesterday | Apache-2.0 | A | 110 | Claude Code, Codex |
| agenticx-a2a-connectorDemonDamon/AgenticX | Skill | 1.3k | yesterday | Apache-2.0 | A | 73 | Claude Code, Codex |
| agenticx-query-data-sourceDemonDamon/AgenticX | Skill | 1.3k | yesterday | Apache-2.0 | A | 49 | Claude Code, Codex |
| agenticx-memory-architectDemonDamon/AgenticX | Skill | 1.3k | yesterday | Apache-2.0 | A | 67 | Claude Code, Codex |
| agenticx-skill-managerDemonDamon/AgenticX | Skill | 1.3k | yesterday | Apache-2.0 | A | 62 | Claude Code, Codex |