[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M74XW1MG3DEG7CNJWMQ3WWHX":3,"skill-same:01M74XW1MG3DEG7CNJWMQ3WWHX":43},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":14,"categories":15,"keywords":16,"publishedAt":17,"linkOnly":18,"markdownContent":19,"markdownBody":19,"frontMatter":20,"refName":21,"commitSha":22,"skillDirectory":23,"forksCount":24,"repositoryHtmlUrl":25,"repositoryHomepageUrl":26,"ownerHtmlUrl":27,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":28,"install":29,"resources":42},"01M74XW1MG3DEG7CNJWMQ3WWHX","arena-bridge",null,"IvanSkainet\u002Farena-agent","IvanSkainet","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F287795051?v=4","01M74XVRMFENWRF1C7VTRHRPKR","01M74XVRN2W4RNW57QGE1JEHG0",9,"MIT","https:\u002F\u002Fgithub.com\u002FIvanSkainet\u002Farena-agent\u002Fblob\u002Fmaster\u002Fskills\u002Farena-bridge\u002FSKILL.md",[],[],"2026-11-12 13:55:43",false,"# arena-bridge (Skainet Bridge Skill)\n\nSkill and protocol specification for AI agents (Arena.ai Agent Mode, Claude Code,\nCodex, Cursor, and custom agentic frameworks) interacting with **Skainet Bridge**.\n\n---\n\n## 1. Overview & Purpose\n\n**Skainet Bridge** is an authenticated, local-first bridge that breaks AI agents out\nof restrictive sandboxes (such as Arena.ai's 128 MB snapshot cap and GPU\u002FX11 absence)\nand connects them directly to the operator's real machine, local tools, file system,\nand hardware.\n\nThis skill equips agents with the exact operational protocol:\n1. Connecting to the bridge (Local loopback, Tailscale Funnel, Cloudflare, ngrok, bore);\n2. Bypassing sandbox filesystem limits (persistent storage on host, >128 MB);\n3. Offloading heavy compute, game engines (e.g. Godot), and GPU tasks to the host;\n4. Executing MCP tools and managing long-running background processes;\n5. Structured task execution via Spec-Kit (T0..Tn) and Serena session recall.\n\n---\n\n## 2. Discovery & Connection\n\n### Connection Transports\nThe bridge exposes an HTTP\u002FREST API and an MCP (Model Context Protocol) endpoint:\n- **Local host:** `http:\u002F\u002F127.0.0.1:8765`\n- **Tailscale Funnel:** `https:\u002F\u002F\u003Cnode-name>.ts.net`\n- **Public Tunnels:** ngrok (`https:\u002F\u002F\u003Cid>.ngrok-free.dev`), Cloudflare Quick Tunnels, or bore.\n\n### Authentication\nEvery request requires the master token in the Authorization header:\n```http\nAuthorization: Bearer \u003CTOKEN>\n```\n*Tip:* On first launch, `start.bat` \u002F `start.sh` automatically generates `token.txt`\nand copies the token to the clipboard.\n\n### Diagnostics & Handshake\nTo verify connectivity from inside the agent sandbox:\n```bash\npython scripts\u002Fcheck_bridge.py\n```\nOr query endpoints directly:\n```bash\n# 1. Check health & version\ncurl -s http:\u002F\u002F127.0.0.1:8765\u002Fhealth\n\n# 2. Authenticated self-descriptor (profile & active tools)\ncurl -s -H \"Authorization: Bearer $(cat token.txt)\" http:\u002F\u002F127.0.0.1:8765\u002Fv1\u002Fself\n\n# 3. Active tunnel & external URL status\ncurl -s -H \"Authorization: Bearer $(cat token.txt)\" http:\u002F\u002F127.0.0.1:8765\u002Fv1\u002Ftunnels\u002Fstatus\n```\n\n---\n\n## 3. Sandbox Escape & Large Storage Protocol\n\nIn sandboxed environments (like Arena.ai Agent Mode), the root directory `\u002Fhome\u002Fuser`\nis strictly capped at **128 MB and 10,000 files** between messages. Exceeding this budget\ncauses catastrophic session truncation.\n\n### The Bridge Storage Solution:\n- **Workspace Isolation:** Temporary files during the session are written to `\u002Ftmp` (1 GB tmpfs).\n- **Persistent Artifacts on Host:** Heavy files (large datasets, media assets, Godot game binaries, APKs)\n  are streamed to the host machine via Bridge `\u002Fv1\u002Ffiles\u002F*` or MCP filesystem tools.\n- **Host Workspace Path:** Default host storage is located under `~\u002Farena-bridge\u002F` on the operator's PC.\n\n```\n+---------------------------+             +-------------------------------+\n|  Arena.ai Sandbox         |             |  Operator Host Machine        |\n|  (128 MB ephemeral snapshot|  HTTP \u002F MCP |  (Unlimited disk, real GPU,   |\n|   \u002Ftmp for tooling)       | ----------> |   Godot engine, hardware)     |\n+---------------------------+             +-------------------------------+\n```\n\n---\n\n## 4. Godot Game Production via Bridge\n\nWhen building games with Godot (e.g. using `godot-game-production-skill`):\n1. **Engine Execution:** Godot runs on the host machine where real display\u002FGPU or headless binaries reside.\n2. **Headless Harness:** The agent sends GDScript files to the host via Bridge, runs headless unit\u002Fsmoke tests,\n   and collects structured game state.\n3. **Visual Frame Verification:** Visual frames and game screenshots are captured via Bridge desktop\u002Fwindow\n   probes (`\u002Fv1\u002Fdesktop\u002Fscreenshot` or `\u002Fv1\u002Fdesktop\u002Fwindow\u002F*`) and returned to the agent.\n4. **Asset Management:** 3D models (.gltf), sound banks, and texture packs live entirely on the host\n   filesystem under `~\u002Farena-bridge\u002Fprojects\u002F\u003Cgame_name>\u002F`, never bloating the 128 MB sandbox.\n\n---\n\n## 5. Agent Workflow & Discipline (Spec-Kit & DoD)\n\nWhen acting as an autonomous maintainer or feature builder:\n\n1. **Task Board First:** Every task is assigned an identifier from `T0` to `Tn` in `docs\u002FTASK_BOARD.md`.\n2. **Strict Definition of Done (DoD):**\n   - **Root-Cause Fix:** Never silence errors with `|| true` or blanket suppressions.\n   - **Isolated Parity Suite:** Deterministic unit\u002Fintegration tests with mocks for external processes and sockets.\n   - **Zero Mutation Survivors:** Tested against `mutmut` with 0 surviving mutants.\n   - **Mandatory Bilateral Sabotage:** Intentionally breaking the fix fails tests; healthy code is 100% green.\n   - **Preflight Pass:** `python scripts\u002Fpreflight.py` (21 local gates) must be completely green before push.\n3. **Serena Session Memory:**\n   - Use Serena MCP (`serena start-mcp-server`) or session recall (`arena\u002Fagentctl_cli\u002Fagentctl_memory.py`)\n     to persist architectural decisions and context across session boundaries.\n   - Read `AGENTS.md` and `docs\u002FTASK_BOARD.md` at the beginning of every turn.\n",{},"master","aec7800d34c43eb6add78b895729c833ae4f4e0a","skills\u002Farena-bridge",4,"https:\u002F\u002Fgithub.com\u002FIvanSkainet\u002Farena-agent","https:\u002F\u002Fgithub.com\u002FIvanSkainet\u002Farena-agent#readme","https:\u002F\u002Fgithub.com\u002FIvanSkainet","2026-11-08 18:56:52",{"source":7,"skillName":5,"commands":30,"prompt":40,"zipAvailable":41},[31,34,37],{"tool":32,"command":33},"npx","npx skills add IvanSkainet\u002Farena-agent --skill arena-bridge",{"tool":35,"command":36},"bunx","bunx skills add IvanSkainet\u002Farena-agent --skill arena-bridge",{"tool":38,"command":39},"pnpm","pnpm dlx skills add IvanSkainet\u002Farena-agent --skill arena-bridge","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FIvanSkainet\u002Farena-agent\u002Fblob\u002Fmaster\u002Fskills\u002Farena-bridge\u002FSKILL.md",true,[],[44,50,56,63,70,77],{"skillNo":45,"name":46,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":47,"categories":48,"keywords":49,"publishedAt":17},"01M74XY53ATA7H7BC8RFW0Y2RB","research","https:\u002F\u002Fgithub.com\u002FIvanSkainet\u002Farena-agent\u002Fblob\u002Fmaster\u002Fskills\u002Fweb\u002Fresearch\u002FSKILL.md",[],[],{"skillNo":51,"name":52,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":53,"categories":54,"keywords":55,"publishedAt":17},"01M74XY3T5VA5CY1PJ16QREV80","sys-snapshot","https:\u002F\u002Fgithub.com\u002FIvanSkainet\u002Farena-agent\u002Fblob\u002Fmaster\u002Fskills\u002Fsystem\u002Fsys-snapshot\u002FSKILL.md",[],[],{"skillNo":57,"name":58,"nameZh":6,"description":59,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":60,"categories":61,"keywords":62,"publishedAt":17},"01M74XY01Y267B2KANVRNPYBAF","writing-skills","Use when creating new skills, editing existing skills, or verifying skills work before deployment","https:\u002F\u002Fgithub.com\u002FIvanSkainet\u002Farena-agent\u002Fblob\u002Fmaster\u002Fskills\u002Fsuperpowers\u002Fskills\u002Fwriting-skills\u002FSKILL.md",[],[],{"skillNo":64,"name":65,"nameZh":6,"description":66,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":67,"categories":68,"keywords":69,"publishedAt":17},"01M74XXY25GZMBMQBPREMDE2V0","writing-plans","Use when you have a spec or requirements for a multi-step task, before touching code","https:\u002F\u002Fgithub.com\u002FIvanSkainet\u002Farena-agent\u002Fblob\u002Fmaster\u002Fskills\u002Fsuperpowers\u002Fskills\u002Fwriting-plans\u002FSKILL.md",[],[],{"skillNo":71,"name":72,"nameZh":6,"description":73,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":74,"categories":75,"keywords":76,"publishedAt":17},"01M74XXVKV5EJ8C7D74Y847FKM","verification-before-completion","Use when about to claim work is complete, fixed, or passing, before committing or creating PRs - requires running verification commands and confirming output before making any success claims; evidence before assertions always","https:\u002F\u002Fgithub.com\u002FIvanSkainet\u002Farena-agent\u002Fblob\u002Fmaster\u002Fskills\u002Fsuperpowers\u002Fskills\u002Fverification-before-completion\u002FSKILL.md",[],[],{"skillNo":78,"name":79,"nameZh":6,"description":80,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":6,"repositoryNo":11,"starsCount":12,"licenseSpdxId":13,"licenseFileUrl":6,"sourceHtmlUrl":81,"categories":82,"keywords":83,"publishedAt":17},"01M74XXQE7SK5MTE49XQZG5CQ9","using-superpowers","Use when starting any conversation - establishes how to find and use skills, requiring Skill tool invocation before ANY response including clarifying questions","https:\u002F\u002Fgithub.com\u002FIvanSkainet\u002Farena-agent\u002Fblob\u002Fmaster\u002Fskills\u002Fsuperpowers\u002Fskills\u002Fusing-superpowers\u002FSKILL.md",[],[]]