Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/aaronbassett/agent-foundrynpx agentmods add skills/aaronbassett/agent-foundry/hashbrown-coreWrote 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/aaronbassett/agent-foundry/hashbrown-core)<a href="https://agentmods.dev/skills/aaronbassett/agent-foundry/hashbrown-core"><img src="https://agentmods.dev/badge/skills/aaronbassett/agent-foundry/hashbrown-core/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/aaronbassett/agent-foundry/hashbrown-core"><img src="https://agentmods.dev/badge/skills/aaronbassett/agent-foundry/hashbrown-core.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00175 | $0.02274 |
| Opus 5.5 | $0.00070 | $0.00910 |
| Sonnet 5.5 | $0.00035 | $0.00455 |
| Haiku 4.5 | $0.00017 | $0.00227 |
Grade A, and why
dev-specialisms:hashbrown-core 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 3mo 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 — 235 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Hashbrown Development Skill
Overview
Hashbrown is a React library for building LLM-powered applications with generative UI, client-side tool calling, streaming, and sandboxed JavaScript execution. It provides React hooks (useChat, useUiChat, etc.) that connect to a Node.js backend adapter, which securely communicates with LLM providers (OpenAI, Anthropic, Google, Azure, Bedrock, Ollama).
Architecture: React frontend (using Hashbrown hooks) + Node.js backend adapter (proxies LLM API requests)
Quick Start Workflow
1. Choose the Right Hook
| Hook | Multi-turn Chat | Single Input | Structured Output | Tool Calling | Generate UI |
|---|---|---|---|---|---|
useChat |
✅ | ❌ | ❌ | ✅ | ❌ |
useStructuredChat |
✅ | ❌ | ✅ | ✅ | ❌ |
useCompletion |
❌ | ✅ | ❌ | ✅ | ❌ |
useStructuredCompletion |
❌ | ✅ | ✅ | ✅ | ❌ |
useUiChat |
✅ | ❌ | ✅ | ✅ | ✅ |
2. Generate Boilerplate
Use the scripts to scaffold components and servers:
# List available templates
python scripts/list-templates.py
# Generate a component
python scripts/generate-component.py simple-chat ./src/components
# Generate a backend server
python scripts/generate-server.py basic-chat-server ./backend
Available component templates:
simple-chat- Basic text-only chat withuseChatui-chat-with-components- Generative UI withuseUiChatandexposeComponentclient-side-tool-calling- Tool calling withuseTooljs-runtime-chart-generator- Sandboxed JS execution for data visualizationstructured-data-form- Form generation from natural language with Skillet schemasstreaming-chat-ui- Streaming responses with loading statesmulti-threaded-chat-ui- Multi-conversation management with threadspredictive-text-input- Autocomplete/suggestions powered by LLMchat-with-voice-input- Voice input with speech recognition
What ships with it
54 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.
- assets/components/chat-with-voice-input/ChatWithVoiceInput.tsx 926 B
- assets/components/chat-with-voice-input/README.md 530 B
- assets/components/client-side-tool-calling/ClientTool.tsx 3.5 KB
- assets/components/client-side-tool-calling/README.md 2.3 KB
- assets/components/js-runtime-chart-generator/ChartGenerator.tsx 4.5 KB
- assets/components/js-runtime-chart-generator/README.md 2.6 KB
- assets/components/multi-threaded-chat-ui/hooks/useThreads.ts 1.0 KB runs code
- assets/components/multi-threaded-chat-ui/MultiThreadedChatUI.tsx 1.4 KB
- assets/components/multi-threaded-chat-ui/README.md 565 B
- assets/components/predictive-text-input/PredictiveTextInput.tsx 2.4 KB
- assets/components/predictive-text-input/README.md 2.0 KB
- assets/components/simple-chat/README.md 1.6 KB
- assets/components/simple-chat/SimpleChat.tsx 2.5 KB
- assets/components/streaming-chat-ui/README.md 550 B
- assets/components/streaming-chat-ui/StreamingChatUI.tsx 604 B
- assets/components/structured-data-form/README.md 2.1 KB
- assets/components/structured-data-form/schema.ts 265 B runs code
- assets/components/structured-data-form/StructuredDataForm.tsx 2.6 KB
- assets/components/ui-chat-with-components/components/CustomCard.tsx 552 B
- assets/components/ui-chat-with-components/README.md 2.1 KB
- assets/components/ui-chat-with-components/UIChat.tsx 3.1 KB
- assets/servers/basic-chat-server/package.json 439 B
- assets/servers/basic-chat-server/README.md 1.4 KB
- assets/servers/basic-chat-server/src/index.ts 984 B runs code
- assets/servers/basic-chat-server/tsconfig.json 225 B
- assets/servers/chat-server-with-data/package.json 443 B
- assets/servers/chat-server-with-data/README.md 1.3 KB
- assets/servers/chat-server-with-data/src/data.json 296 B
- assets/servers/chat-server-with-data/src/index.ts 1.1 KB runs code
- assets/servers/chat-server-with-data/tsconfig.json 256 B
- assets/servers/chat-server-with-threads/package.json 446 B
- assets/servers/chat-server-with-threads/README.md 2.1 KB
- assets/servers/chat-server-with-threads/src/database.ts 464 B runs code
- assets/servers/chat-server-with-threads/src/index.ts 1.4 KB runs code
- assets/servers/chat-server-with-threads/tsconfig.json 225 B
- assets/servers/server-with-authentication/package.json 580 B
- assets/servers/server-with-authentication/README.md 853 B
- assets/servers/server-with-authentication/src/index.ts 544 B runs code
- assets/servers/server-with-authentication/src/middleware.ts 360 B runs code
- assets/servers/server-with-authentication/tsconfig.json 170 B
- assets/servers/streaming-chat-server/package.json 579 B
- assets/servers/streaming-chat-server/README.md 782 B
- assets/servers/streaming-chat-server/src/index.ts 873 B runs code
- assets/servers/streaming-chat-server/tsconfig.json 170 B
- references/advanced-guides.md 5.5 KB
- references/best-practices.md 4.3 KB
- references/core-concepts.md 5.7 KB
- references/getting-started.md 4.1 KB
- references/INDEX.md 2.9 KB
- references/platform-integration.md 5.9 KB
- references/structured-data.md 4.3 KB
- scripts/generate-component.py 2.1 KB runs code
- scripts/generate-server.py 2.3 KB runs code
- scripts/list-templates.py 2.5 KB runs code
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.
- 3mo ago First seen · 235 lines · 175 tokens per session scan A de87a14e3841
dev-specialisms:hashbrown-core is a skill published in the GitHub repository aaronbassett/agent-foundry (4 stars, last pushed 3mo ago), licensed MIT. It adds 175 tokens to every session and 2,274 once invoked, about $0.0007 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-31.
dev-specialisms:hashbrown-core compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dev-specialisms:hashbrown-coreaaronbassett/agent-foundry | Skill | 4 | 3mo ago | MIT | A | 175 | Claude Code |
| build-ghost-appTryGhost/Ghost | Skill | 56k | today | MIT | A | 44 | Claude Code, Codex |
| material-ui-tailwindmui/material-ui | Skill | 99k | today | MIT | A | 67 | Claude Code, Codex |
| fuzzy-rankingTanStack/table | Skill | 29k | 8d ago | MIT | A | 62 | Claude Code, Codex |
| r3f-best-practiceszebbern/claude-code-guide | Skill | 4.7k | today | MIT | A | 74 | Claude Code, Codex |
| git-safetytamagui/tamagui | Skill | 14k | yesterday | MIT | A | 42 | Claude Code |
| onchainkitalsk1992/CloddsBot | Skill | 3.1k | 18d ago | MIT | A | 24 | Claude Code, Codex |