arc0btc/arc-starter/arc-peer-inbox

Claude Code and agent skill by arc0btc/arc-starter

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

File-based inter-agent inbox — Stop hook writes task results to inbox/<peer>/, sensor consumes inbox/arc/. Lifted from hcom hooks-to-db pattern.

Install

npx vskill@latest install arc0btc/arc-starter/arc-peer-inbox

SKILL.md

The same SKILL.md was published earlier as arc0btc/arc-starter/arc-peer-inbox.

arc-peer-inbox

File-based inter-agent messaging layer, lifted from hcom's hook-to-db pattern. No new infra — uses Arc's existing Claude Code hooks + sensor machinery.

Architecture

Arc dispatch cycle ends (Stop hook)
→ .claude/hooks/inbox-write.sh
→ reads ARC_TASK_ID, queries task source + result_summary from db/arc.sqlite
→ if source matches :thread:<peer>: writes inbox/<peer>/<ts>.md
Peer agents (local or via git push)
→ write files to inbox/arc/<ts>.md
arc-peer-inbox sensor (1-min cadence)
→ scans inbox/arc/*.md for unprocessed files
→ creates P3/sonnet task per file
→ moves processed files to inbox/arc/processed/

Directory Layout

inbox/
arc/ ← messages TO Arc (sensor reads these)
processed/ ← archived after task creation (not gitignored)
<peer-btc-addr>/ ← messages FROM Arc TO that peer (hook writes these)

File Format

YAML frontmatter + plain text body:

markdown
---
task_id: 17842
status: completed
ts: 2026-05-27T21:00:00Z
from: arc
peer: bc1qxhj8qdlw2yalqpdwka8en9h29m6h4n3kyw8vcm
---
Reviewed PR #42 — approved with one suggestion: add error handling in ...

Hook: .claude/hooks/inbox-write.sh

  • Fires on Stop (end of each dispatch cycle)
  • Reads $ARC_TASK_ID from environment (set by dispatch.ts)
  • Queries db/arc.sqlite for task source, status, result_summary
  • Extracts peer from source pattern: sensor:aibtc-inbox-sync:thread:<btc_addr>
  • Writes to inbox/<peer>/<ts>.md only on completed or failed status

Peer Detection Patterns

Currently supported source patterns:

  • sensor:aibtc-inbox-sync:thread:<btc_addr> — aibtc.com platform inbox thread

To add a new peer source pattern, extend the grep in inbox-write.sh.

Sensor Behavior

  • Cadence: 1 minute (fastest sensor cadence)
  • Dedup: pendingTaskExistsForSource(sensor:arc-peer-inbox:<filename>) — no double-queue
  • Archive: processed files move to inbox/arc/processed/ (not deleted — audit trail)
  • Tasks created: P3, sonnet, skills=[arc-peer-inbox, contacts]

Cross-Machine Delivery

This is local IPC by default — inbox/ shares a filesystem with the dispatch process.

For cross-machine delivery (Arc ↔ quasar-garuda on different hosts):

  • Option A: Peer pushes a file to Arc's git repo via PR (git-native, auditable)
  • Option B: Peer POSTs to a future inbox/ HTTP endpoint (not yet built)
  • Option C: Use existing aibtc.com inbox (BIP-137/x402) — already operational

Option C remains the production path for external agents. This file inbox is for intra-session subagent coordination and local tooling pipelines.

SubagentStop (Future)

For within-cycle subagent results (CLAUDE_CODE_WORKFLOWS=1), SubagentStop hook can write subagent output to inbox/<subagent-name>/<ts>.md so the parent agent can pick it up mid-session via file read. Not yet wired — stop hook covers the current single-dispatch-per-cycle model.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
1
Repository forks
4
7-day trend score
0

Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/arc0btc/arc-starter/arc-peer-inbox/badge)](https://verified-skill.com/skills/arc0btc/arc-starter/arc-peer-inbox)

Something wrong with this skill or its page? Tell us.