devin-integrate
Use when embedding the Devin agent into an external surface — a device (Busy Bar), an LLM harness (opencode/hermes), a service, an IDE, or a cron. Covers direction (devin-as-callee vs caller vs bidirectional), the transport ladder, the verified surface inventory, and the integration contract checklist. Complements cli-adapter (outbound agent->app); this skill is inbound/integration.
- License 许可
- MIT
- 最近更新
- 2026-11-15
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- devin-integrate
- triggers
- [ "user", "model" ]
- description
- Use when embedding the Devin agent into an external surface — a device (Busy Bar), an LLM harness (opencode/hermes), a service, an IDE, or a cron. Covers direction (devin-as-callee vs caller vs bidirectional), the transport ladder, the verified surface inventory, and the integration contract checklist. Complements cli-adapter (outbound agent->app); this skill is inbound/integration.
- allowed-tools
- [ "read", "grep", "find_file_by_name", "write", "edit", "exec", "webfetch" ]
03 SKILL.md 正文
devin-integrate
Embed Devin into an arbitrary surface. Origin case: Busy Bar reel (huwprosser/DfXwuL0izsO) — agent sees a new device, looks up its API, and builds. This skill is that loop, codified.
Step 1 — direction
| Direction | Meaning | Examples |
|---|---|---|
| callee | something calls devin | harness, device button, cron, CI step |
| caller | devin calls something | hooks, MCP tools, push wrappers |
| bidirectional | both, same session | ACP sessions, WS stream + push |
Step 2 — transport ladder (pick the cheapest)
file ledger < subprocess stdout < HTTP < stdio JSON-RPC < WebSocket
- Ledger/file: dumb consumers, state push. Ref:
scripts/focus.py->.devin/ledgers/focus.jsonl->extensions/busybar/push.py. - Subprocess:
devin -pprompt->text on stdout. Ref: api-bridge backend. - HTTP: OpenAI-compatible surface. Ref:
extensions/api-bridge/bridge.py(/v1/chat/completions,/v1/models,/health,GET /; LAN binds require--token). - stdio JSON-RPC: sessions + streamed chunks + client-gated fs.
Ref:
.devin/scratch/acp-spike/client.py(initialize->session/new->session/prompt->agent_message_chunk; MUST answerfs/read_text_fileor the agent deadlocks in ask/plan). - WebSocket: device state streams. Ref: Busy Bar
StateStream(docs.busy.app/bar/dev/http-api) — input events -> agent triggers.
Verified surface inventory (CLI 3000.12.43)
| Surface | Dir | Notes |
|---|---|---|
devin -p |
callee | full agent run, seconds latency, stdout text |
devin acp [--agent-type] |
bidir | summarizer/review/codemap agents verified; default agent heavy |
| api-bridge | callee | OpenAI-compat; x-ignored-params honest field; --backend acp = real deltas + real usage |
| hooks | caller | tool_response.overflow_path exists on truncation (12.17+) |
devin cloud/forward |
callee | org API; DRS needs entitlement; forward=tunnel ports |
| busybar push | caller | display/draw+display/clear, USB no-auth, LAN token |
| busybar listen | bidir | ws state stream -> focus/effort; dial persists .devin/busybar-effort.txt |
Playbook (working examples in-repo)
extensions/api-bridge/bridge.py— full callee integration (bridge.py setup opencode|codex|hermes|genericprints harness stanzas).extensions/busybar/push.py— minimal caller: 2 endpoints, fail-soft.extensions/busybar/listen.py— bidir: stdlib ws client, event->action map.extensions/gcal/wrapper.py— service adapter, ok-envelope contract..devin/scratch/acp-spike/client.py— bidirectional session client.scripts/focus.py— ledger emitter, zero-dep integration surface.
Contract checklist (every integration)
- Auth boundary explicit: loopback free, LAN requires token (bridge
refuses off-loopback without
--token). - Fail-soft: unreachable surface -> stderr note + exit 0 for advisory pushes; hard fail only when the surface IS the deliverable.
{"ok": false}envelopes exit non-zero (audit check [36]).- UTF-8 pinned: subprocess
encoding="utf-8", errors="replace"; file I/Oencoding="utf-8"(audit [37]/[38]). - No fake streaming: if the backend flushes once, emit one delta +
[DONE]— never fabricate token chunks. - Verify live once with a real call before claiming integration works; hardware-blocked surfaces get spec + skeleton + mock tests.
Anti-patterns
- Assuming device/harness has auth off by default (LAN busybar needs token).
- Silently dropping unsupported request params — surface them
(
x-ignored-paramspattern in bridge). - Spawning unbounded devin processes under concurrent callers — cap
(bridge
--concurrencysemaphore).
Reference products
- OpenWorker (open-source, Andrew Ng): agent-as-coworker with 40+ SaaS connectors (mail/calendar/docs) doing triage, replies, updates; a reference for the devin-as-employee integration direction.
04 同仓库更多 Skills
montador-de-ideias
Use when assembling, expanding, or elevating a raw project idea or initial prompt into an ultra-detailed, first-principles dossier and compiled master prompt with journalistic OSINT market research, Tech Lead and Staff Architect justifications, atomic and modular hardening/optimization, and high-impact contact surfaces.
git-github-adaptive-engineering
Use when any task touches git history, GitHub issues/PRs/releases/CI, repo governance, or branch and merge decisions. Runs the Fase Zero situational-awareness battery, picks one of five delivery flows via the adaptive decision engine, and enforces commit/PR information-density standards. Orchestrates the gh, git-workflows, github-actions, pr, and debug/finish skills.
adaptive-agenda-calendar-routine-engine
Use when planning or executing work across hours, days, weeks, or sprints. Turns the calendar into a strict time-blocked agenda (HH:MM-HH:MM blocks carrying a routine profile, expected inputs, and a handoff output artifact), runs the 5-stage cognitive flow (Radar and Hunt -> Triage plus Steve Jobs conception -> workbench manifest -> >=32-cycle loop -> Close plus Open-Minded Scrum), and unfolds macro calendar milestones into micro agenda blocks through extensions/gcal/wrapper.py.
demo
Use when demonstrating a skill in a fixture project.
duplicate-skill
Use when testing duplicate skill name detection.
duplicate-skill
Use when testing duplicate skill name detection.