bopodev-control-plane
Skill4 starsChanged 9 months agoMITView on GitHub
Coordinate heartbeat work through a control-plane API: assignments, checkout, comments, status updates, approvals, and delegation. Use this for orchestration only, not domain implementation itself.
In this repository2 other files it gives its agents.
- bopodev-create-agentSkill
- para-memory-filesSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
22 rules. About 0 are common, 12 are distinctive, and 10 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈12
Distinctive · estimate
This author's own choices. Worth a look.
10
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 11
Use this skill when the agent must interact with the control plane for issue coordination (assignment management, workflow state, and …
- Distinctive: line 14
Do not use it for coding implementation details.
- Distinctive: line 45
If control-plane connectivity is unavailable, do not attempt control-plane mutations.
- Distinctive: line 51
If approval-related wake context exists (env or heartbeat prompt), process linked approvals first.
- Distinctive: line 52
Use assigned issues from heartbeat prompt as primary work queue.
- Distinctive: line 54
Read issue comments for current context before mutating status.
- Very specific: line 61
All API routes are rooted at BOPODEV_API_BASE_URL (no /api prefix in this project).
- Distinctive: line 63
Use direct env vars for request headers (preferred, deterministic):
- Very specific: line 75
Only use BOPODEV_REQUEST_HEADERS_JSON as compatibility fallback when direct vars are unavailable.
- Very specific: line 77
Prefer direct header flags from env when scripting requests.
- Very specific: line 78
If you need a JSON request body, write it to a temp file or heredoc and use curl --data @file instead of hand-escaping multiline JSON in …
- Very specific: line 83
When creating hires, set requestApproval: true by default (board-level bypass should be rare and explicit).
- Very specific: line 89
Never assume POST /issues/{issueId}/checkout exists here.
- Very specific: line 91
Never retry ownership conflicts (409).
- Distinctive: line 92
Never self-assign random work outside assignment/mention handoff rules.
- Distinctive: line 93
Always leave a useful progress or blocker comment before heartbeat exit.
- Very specific: line 94
If blocked, update state to blocked and include a specific unblock path.
- Distinctive: line 95
Do not repeatedly post duplicate blocked comments when nothing changed.
- Very specific: line 97
Do not loop on repeated curl retries for the same failing endpoint in one run.
- Very specific: line 98
If POST /issues or assignee updates return 403 with a message about create/assign permissions, stop retrying.
- Distinctive: line 102
When adding comments, use concise markdown:
- Distinctive: line 125
Treat any non-envelope shape as a hard failure for this run.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
BopoDev Control Plane Skill
Use this skill when the agent must interact with the control plane for issue coordination (assignment management, workflow state, and delegation).
Do not use it for coding implementation details; use normal local tooling for that.
Required context
Expected env variables:
BOPODEV_AGENT_IDBOPODEV_COMPANY_IDBOPODEV_RUN_IDBOPODEV_API_BASE_URLBOPODEV_REQUEST_HEADERS_JSON(fallback JSON map for required request headers)BOPODEV_ACTOR_TYPEBOPODEV_ACTOR_IDBOPODEV_ACTOR_COMPANIESBOPODEV_ACTOR_PERMISSIONS
Per-agent orchestration caps (set by the platform from the agent record; true/false strings):
BOPODEV_CAN_HIRE_AGENTS— may callPOST /agentsto hire (still subject to governance).BOPODEV_CAN_ASSIGN_AGENTS— may assign/reassign issues to other agents or unassign; assigning to self is allowed when this isfalse.BOPODEV_CAN_CREATE_ISSUES— mayPOST /issues(top-level and sub-issues). Iffalse,POST /issuesreturns 403.
Wake context (optional):
BOPODEV_TASK_IDBOPODEV_WAKE_REASONBOPODEV_WAKE_COMMENT_IDBOPODEV_APPROVAL_IDBOPODEV_APPROVAL_STATUSBOPODEV_LINKED_ISSUE_IDS
If control-plane connectivity is unavailable, do not attempt control-plane mutations. Fail fast, report the connectivity gap once with the exact error, and avoid repeated retries in the same heartbeat run.
Heartbeat procedure
- Resolve identity from env:
BOPODEV_AGENT_ID,BOPODEV_COMPANY_ID,BOPODEV_RUN_ID. - If approval-related wake context exists (env or heartbeat prompt), process linked approvals first.
- Use assigned issues from heartbeat prompt as primary work queue.
- Prioritize
in_progress, thentodo; only revisitblockedwith new context. - Read issue comments for current context before mutating status.
- Do the work.
- Publish progress and update final state (
done,blocked,in_review). - Delegate through subtasks when decomposition is needed.
API usage pattern
All API routes are rooted at BOPODEV_API_BASE_URL (no /api prefix in this project).
Use direct env vars for request headers (preferred, deterministic):
x-company-idx-actor-typex-actor-idx-actor-companiesx-actor-permissions
Recommended curl header pattern (do not parse JSON first):
curl -sS -H "x-company-id: $BOPODEV_COMPANY_ID" -H "x-actor-type: $BOPODEV_ACTOR_TYPE" -H "x-actor-id: $BOPODEV_ACTOR_ID" -H "x-actor-companies: $BOPODEV_ACTOR_COMPANIES" -H "x-actor-permissions: $BOPODEV_ACTOR_PERMISSIONS" ...
Only use BOPODEV_REQUEST_HEADERS_JSON as compatibility fallback when direct vars are unavailable.
Prefer direct header flags from env when scripting requests. Do not assume python is installed.
If you need a JSON request body, write it to a temp file or heredoc and use curl --data @file
instead of hand-escaping multiline JSON in the shell.
The runtime shell is zsh on macOS. Avoid Bash-only features such as local -n,
declare -n, mapfile, and readarray.
When creating hires, set requestApproval: true by default (board-level bypass should be rare and explicit).
Critical safety rules
- Heartbeat-assigned issues may already be claimed by the current run. Do not call a nonexistent checkout endpoint in this project.
- Never assume
POST /issues/{issueId}/checkoutexists here. - Never assume
GET /agents/{agentId}exists here. - Never retry ownership conflicts (
409). - Never self-assign random work outside assignment/mention handoff rules.
- Always leave a useful progress or blocker comment before heartbeat exit.
- If blocked, update state to
blockedand include a specific unblock path. - Do not repeatedly post duplicate blocked comments when nothing changed.
- Escalate through reporting chain for cross-team blockers.
- Do not loop on repeated
curlretries for the same failing endpoint in one run; include one precise failure message and exit. - If
POST /issuesor assignee updates return 403 with a message about create/assign permissions, stop retrying; report once and exit (board must enable the capability on the agent).
Comment style
When adding comments, use concise markdown:
- one short status line
- bullet list of what changed or what is blocked
- links to related entities when available (issue/approval/agent/run)
Quick endpoint reference
| Action | Endpoint |
| List agents | GET /agents |
| Update agent | PUT /agents/{agentId} |
| Hire request (approval-backed) | POST /agents with requestApproval: true |
| List approvals | GET /governance/approvals |
| Read issue comments | GET /issues/{issueId}/comments |
| Add issue comment | POST /issues/{issueId}/comments |
| Update issue | PUT /issues/{issueId} |
| Create subtask issue | POST /issues |
Important route notes
- To inspect your own agent, use
GET /agentsand filter by id locally. GET /agentsreturns a wrapped envelope:{ "ok": true, "data": [...] }.- Treat any non-envelope shape as a hard failure for this run.
- Recommended deterministic filter:
jq -er --arg id "$BOPODEV_AGENT_ID" '.data | if type=="array" then . else error("invalid_agents_payload") end | map(select((.id? // "") == $id)) | .[0]' - Heartbeat runs already claim their assigned issues; move status with
PUT /issues/{issueId}. - For bootstrap prompt updates, prefer a top-level
bootstrapPromptfield unless you need other runtime settings inruntimeConfig.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

