Skip to content

Commit 458a4f6

Browse files
committed
chore: snapshot before jules bug-smash session
1 parent f70ed0b commit 458a4f6

131 files changed

Lines changed: 5481 additions & 6494 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
- **Framework**: Do not use legacy local Node.js proxies (`workers-mcp` or `mcp-remote`). We are building a native Remote MCP Server. Use `McpServer` from `@modelcontextprotocol/sdk/server/mcp.js` and export it using `createMcpHandler(server)` from `agents/mcp`.
2+
- **No Node execution in Workers**: You cannot use `child_process`, `exec`, or `npx` inside a Cloudflare Worker. Any MCP server requiring a local Node process must be reverse-engineered into native `server.tool(...)` calls or hosted externally.
3+
- **SSE Client Transport**: When connecting to remote MCPs (like `docs.mcp.cloudflare.com`), always use `SSEClientTransport` instead of `StdioClientTransport`. Wrap the client connection in a try/finally block to ensure `.close()` is called, preventing hanging sockets on the edge.
4+
- **AI Gateway Binding**: Never hardcode standard `fetch` AI calls. Always use configuration suitable for Cloudflare's ecosystem to maintain multi-provider AI Gateway compliance.
5+
- **Completeness**: Provide full files start-to-finish without truncation or using `// ... rest of code` shortcuts.
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# honi-skill
2+
3+
A Claude skill for building AI agents with [Honi](https://honi.dev) (`honidev`) on Cloudflare Workers.
4+
5+
Install this skill to give Claude deep knowledge of the Honi API — tools, memory tiers, MCP servers, multi-agent routing, and all supported providers.
6+
7+
## Install with OpenClaw
8+
9+
```bash
10+
mkdir -p ~/clawd/skills/honi
11+
curl -o ~/clawd/skills/honi/SKILL.md \
12+
https://raw.githubusercontent.com/stukennedy/honi/main/claude-skill/SKILL.md
13+
```
14+
15+
OpenClaw will auto-discover the skill. Claude will use it whenever you ask it to build Honi agents.
16+
17+
## Install with Claude Code
18+
19+
```bash
20+
# Copy into your project root as CLAUDE.md
21+
curl -o CLAUDE.md \
22+
https://raw.githubusercontent.com/stukennedy/honi/main/claude-skill/SKILL.md
23+
```
24+
25+
Or reference it from an existing `CLAUDE.md`:
26+
27+
```markdown
28+
# My Project
29+
30+
@https://raw.githubusercontent.com/stukennedy/honi/main/claude-skill/SKILL.md
31+
```
32+
33+
## What's Covered
34+
35+
- `createAgent` config — all options
36+
- `tool()` helper — params, ToolContext, accessing env bindings
37+
- HTTP API — `/chat`, `/history`, `/memory`, `/reset`, `/mcp`
38+
- Streaming responses
39+
- Memory tiers — working (DO), episodic (D1), semantic (Vectorize), graph (edgraph)
40+
- Multi-agent routing — multiple agents in one Worker
41+
- MCP server — local + remote auth via Bearer token
42+
- All supported model providers and their env var names
43+
- `wrangler.toml` bindings for each memory tier
44+
- Common patterns — external API calls, D1 writes, graph memory
45+
46+
## Links
47+
48+
- **Docs:** [honi.dev](https://honi.dev)
49+
- **npm:** [honidev](https://npmjs.com/package/honidev)
50+
- **GitHub:** [stukennedy/honi](https://github.com/stukennedy/honi)
51+
- **This skill:** [claude-skill/SKILL.md](https://github.com/stukennedy/honi/blob/main/claude-skill/SKILL.md)

0 commit comments

Comments
 (0)