agent-concepts 0.0.0-stage → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +773 -2
- package/concepts/bc-brainstorming/body/SKILL.md +43 -0
- package/concepts/bc-code-review/body/SKILL.md +120 -0
- package/concepts/bc-codebase-design/body/SKILL.md +54 -0
- package/concepts/bc-codebase-docs/body/SKILL.md +150 -0
- package/concepts/bc-council-audit-security/body/SKILL.md +72 -0
- package/concepts/bc-council-chain/body/SKILL.md +71 -0
- package/concepts/bc-council-challenge-plan/body/SKILL.md +78 -0
- package/concepts/bc-council-find-bugs/body/SKILL.md +70 -0
- package/concepts/bc-council-improve-architecture/body/SKILL.md +52 -0
- package/concepts/bc-council-mode/body/SKILL.md +56 -0
- package/concepts/bc-council-mode/body/examples/agents/README.md +11 -0
- package/concepts/bc-council-mode/body/examples/agents/council-change.md +14 -0
- package/concepts/bc-council-mode/body/examples/agents/council-compat.md +14 -0
- package/concepts/bc-council-mode/body/examples/agents/council-risk.md +14 -0
- package/concepts/bc-council-mode/body/references/pass-contracts.md +133 -0
- package/concepts/bc-delegate-investigation/body/SKILL.md +119 -0
- package/concepts/bc-delegate-investigation/body/examples/pi-settings-snippet.json +8 -0
- package/concepts/bc-delegate-investigation/body/pi.md +170 -0
- package/concepts/bc-design/body/SKILL.md +49 -0
- package/concepts/bc-design/body/design-framework.md +39 -0
- package/concepts/bc-design/body/existing-app.md +9 -0
- package/concepts/bc-design/body/new-work.md +22 -0
- package/concepts/bc-design/body/principles.md +34 -0
- package/concepts/bc-design/body/surfaces.md +13 -0
- package/concepts/bc-diagnosing-bugs/body/SKILL.md +83 -0
- package/concepts/bc-dispatching-parallel-agents/body/SKILL.md +63 -0
- package/concepts/bc-domain-modeling/body/SKILL.md +40 -0
- package/concepts/bc-executing-plans/body/SKILL.md +50 -0
- package/concepts/bc-explain-visually/body/SKILL.md +167 -0
- package/concepts/bc-find-bugs/body/SKILL.md +90 -0
- package/concepts/bc-finishing-development-branch/body/SKILL.md +73 -0
- package/concepts/bc-grilling/body/SKILL.md +22 -0
- package/concepts/bc-handoff/body/SKILL.md +104 -0
- package/concepts/bc-handoff/body/pickup.md +107 -0
- package/concepts/bc-handoff/body/writing.md +217 -0
- package/concepts/bc-improve-codebase-architecture/body/SKILL.md +101 -0
- package/concepts/bc-json-canvas/body/SKILL.md +40 -0
- package/concepts/bc-json-canvas/body/references/EXAMPLES.md +71 -0
- package/concepts/bc-json-canvas/body/references/SPEC.md +55 -0
- package/concepts/bc-json-canvas/body/references/VALIDATION.md +26 -0
- package/concepts/bc-minimal-solution-ladder/body/SKILL.md +120 -0
- package/concepts/bc-obsidian-bases/body/SKILL.md +59 -0
- package/concepts/bc-obsidian-bases/body/references/EXAMPLES.md +80 -0
- package/concepts/bc-obsidian-bases/body/references/FUNCTIONS.md +49 -0
- package/concepts/bc-obsidian-bases/body/references/SYNTAX.md +82 -0
- package/concepts/bc-obsidian-bases/body/references/TROUBLESHOOTING.md +41 -0
- package/concepts/bc-obsidian-markdown/body/SKILL.md +47 -0
- package/concepts/bc-obsidian-markdown/body/references/CALLOUTS.md +40 -0
- package/concepts/bc-obsidian-markdown/body/references/EMBEDS.md +35 -0
- package/concepts/bc-obsidian-markdown/body/references/PROPERTIES.md +37 -0
- package/concepts/bc-optimize-code/body/SKILL.md +41 -0
- package/concepts/bc-performance-guardrails/body/SKILL.md +53 -0
- package/concepts/bc-performance-guardrails/body/measuring.md +29 -0
- package/concepts/bc-performance-guardrails/body/targets.md +20 -0
- package/concepts/bc-pipeline-to-done/body/SKILL.md +205 -0
- package/concepts/bc-pipeline-to-done/body/agents/bc-drain-auditor.md +19 -0
- package/concepts/bc-pipeline-to-done/body/agents/bc-drain-reviewer.md +19 -0
- package/concepts/bc-pipeline-to-done/body/agents/bc-drain-worker.md +19 -0
- package/concepts/bc-pipeline-to-done/body/execute-issue.md +71 -0
- package/concepts/bc-pipeline-to-done/body/recovery-bundle.md +79 -0
- package/concepts/bc-pipeline-to-done/body/review-contract.md +105 -0
- package/concepts/bc-pipeline-to-done/body/roles.md +13 -0
- package/concepts/bc-pipeline-to-done/body/scripts/publish-check.py +172 -0
- package/concepts/bc-pipeline-to-done/body/source-issues.md +86 -0
- package/concepts/bc-pipeline-to-done/body/source-work-items.md +76 -0
- package/concepts/bc-plain-language/body/SKILL.md +134 -0
- package/concepts/bc-plan-slicing/body/SKILL.md +56 -0
- package/concepts/bc-plan-to-pipeline/body/SKILL.md +89 -0
- package/concepts/bc-prd-drafting/body/SKILL.md +43 -0
- package/concepts/bc-prompting-agents/body/SKILL.md +278 -0
- package/concepts/bc-prototype/body/SKILL.md +40 -0
- package/concepts/bc-qmd/body/SKILL.md +64 -0
- package/concepts/bc-research/body/SKILL.md +26 -0
- package/concepts/bc-security-audit/body/AI-AND-LLM.md +25 -0
- package/concepts/bc-security-audit/body/ATTACK-CLASSES.md +35 -0
- package/concepts/bc-security-audit/body/DESKTOP-MOBILE-AND-LOCAL-IPC.md +28 -0
- package/concepts/bc-security-audit/body/RECONNAISSANCE.md +49 -0
- package/concepts/bc-security-audit/body/SKILL.md +117 -0
- package/concepts/bc-security-audit/body/SUPPLY-CHAIN-AND-RELEASE.md +28 -0
- package/concepts/bc-security-audit/body/VALIDATION-AND-REPORTING.md +124 -0
- package/concepts/bc-security-audit/body/WEB-PROTOCOL-AND-AUTH.md +27 -0
- package/concepts/bc-security-audit/body/validate_audit.py +151 -0
- package/concepts/bc-self-improve/body/SKILL.md +104 -0
- package/concepts/bc-seo/body/CITATIONS.md +23 -0
- package/concepts/bc-seo/body/IMAGE-SEO.md +350 -0
- package/concepts/bc-seo/body/SKILL.md +453 -0
- package/concepts/bc-setup-project/body/SKILL.md +252 -0
- package/concepts/bc-setup-project/body/scaffold.py +2751 -0
- package/concepts/bc-setup-project/body/starter-items.md +157 -0
- package/concepts/bc-setup-project/body/work-data.md +114 -0
- package/concepts/bc-setup-project/body/work_index.py +626 -0
- package/concepts/bc-setup-project/body/work_spent.py +220 -0
- package/concepts/bc-subagent-driven-development/body/SKILL.md +61 -0
- package/concepts/bc-tdd/body/SKILL.md +184 -0
- package/concepts/bc-tdd/body/formal.md +77 -0
- package/concepts/bc-tdd/body/mocking.md +49 -0
- package/concepts/bc-tdd/body/properties.md +59 -0
- package/concepts/bc-tdd/body/refactoring.md +12 -0
- package/concepts/bc-tdd/body/scripts/confirm-red.py +136 -0
- package/concepts/bc-tdd/body/tests.md +59 -0
- package/concepts/bc-teach/body/GLOSSARY-FORMAT.md +36 -0
- package/concepts/bc-teach/body/LEARNING-RECORD-FORMAT.md +60 -0
- package/concepts/bc-teach/body/MISSION-FORMAT.md +34 -0
- package/concepts/bc-teach/body/RESOURCES-FORMAT.md +53 -0
- package/concepts/bc-teach/body/REVIEW-FORMAT.md +48 -0
- package/concepts/bc-teach/body/SKILL.md +281 -0
- package/concepts/bc-teach/body/WIKI-FORMAT.md +58 -0
- package/concepts/bc-teach/body/scripts/due.py +65 -0
- package/concepts/bc-to-spec/body/SKILL.md +21 -0
- package/concepts/bc-to-tickets/body/SKILL.md +21 -0
- package/concepts/bc-triage/body/AGENT-BRIEF.md +38 -0
- package/concepts/bc-triage/body/OUT-OF-SCOPE.md +51 -0
- package/concepts/bc-triage/body/SKILL.md +81 -0
- package/concepts/bc-unslop/body/SKILL.md +269 -0
- package/concepts/bc-using-git-worktrees/body/SKILL.md +91 -0
- package/concepts/bc-wiki-maintain/body/SKILL.md +361 -0
- package/concepts/bc-wiki-maintain/body/runner/README.md +552 -0
- package/concepts/bc-wiki-maintain/body/runner/bc-wiki-lint.service +24 -0
- package/concepts/bc-wiki-maintain/body/runner/bc-wiki-lint.timer +15 -0
- package/concepts/bc-wiki-maintain/body/runner/bc-wiki-maintain-all.service +29 -0
- package/concepts/bc-wiki-maintain/body/runner/bc-wiki-maintain-all.timer +16 -0
- package/concepts/bc-wiki-maintain/body/runner/bc-wiki-maintain.service +28 -0
- package/concepts/bc-wiki-maintain/body/runner/bc-wiki-maintain.timer +12 -0
- package/concepts/bc-wiki-maintain/body/runner/bc-wiki-notify@.service +15 -0
- package/concepts/bc-wiki-maintain/body/runner/notify-failure.sh +92 -0
- package/concepts/bc-wiki-maintain/body/runner/run-lint.sh +69 -0
- package/concepts/bc-wiki-maintain/body/runner/run-promotion-all.sh +103 -0
- package/concepts/bc-wiki-maintain/body/runner/run-promotion.sh +270 -0
- package/concepts/bc-wiki-maintain/body/wiki_lint.py +958 -0
- package/concepts/bc-wiki-maintain/body/wiki_search.py +206 -0
- package/concepts/bc-work-sync/body/PLAN.md +46 -0
- package/concepts/bc-work-sync/body/SKILL.md +71 -0
- package/concepts/bc-writing-plans/body/SKILL.md +79 -0
- package/package.json +130 -4
- package/packages/agent-kernel-pi/AGENT-KERNEL.md +109 -0
- package/packages/agent-kernel-pi/index.js +8 -0
- package/packages/agent-kernel-pi/package.json +12 -0
package/README.md
CHANGED
|
@@ -1,3 +1,774 @@
|
|
|
1
|
-
|
|
1
|
+
<div align="center">
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
# Agent concepts
|
|
4
|
+
|
|
5
|
+
**Skills that make coding agents plan first, test first, and remember.**
|
|
6
|
+
|
|
7
|
+
[](https://github.com/bendecastro/agent-concepts/actions/workflows/gate.yml)
|
|
8
|
+
[](https://github.com/bendecastro/agent-concepts/releases)
|
|
9
|
+
[](LICENSE)
|
|
10
|
+
|
|
11
|
+
[How it works](#how-these-skills-work) · [The workflow](#the-workflow) · [Install](#install) · [Contributing](#working-on-this-repository)
|
|
12
|
+
|
|
13
|
+
</div>
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
Most coding agents rush into code, guess what you meant, and forget everything once the chat closes. Here, questions get settled first, every test proves it can fail before anyone trusts it, and work lives in files so your project builds intrinsic long-term memory.
|
|
18
|
+
|
|
19
|
+
Install them once and use them in **Claude Code**, **Codex**, **Pi**, Cursor, or almost any other coding tool. Every skill starts with `bc-` so nothing clashes with what you already have, and uninstalling is clean.
|
|
20
|
+
|
|
21
|
+
<br>
|
|
22
|
+
|
|
23
|
+
## How these skills work
|
|
24
|
+
|
|
25
|
+
Seven ideas run through the whole set.
|
|
26
|
+
|
|
27
|
+
### Settle questions before building
|
|
28
|
+
|
|
29
|
+
An agent that guesses what you wanted only builds the wrong thing faster. These skills slow it down first: exploring rough ideas with you, asking questions one at a time until every decision is settled, and bringing real choices to you instead of quietly picking a side.
|
|
30
|
+
|
|
31
|
+
**Skills:** [bc-grilling](concepts/bc-grilling/body/SKILL.md) · [bc-brainstorming](concepts/bc-brainstorming/body/SKILL.md) · [bc-plan-to-pipeline](concepts/bc-plan-to-pipeline/body/SKILL.md) · the [agent kernel](concepts/agent-kernel/body/AGENT-KERNEL.md), a short set of rules the agent reads in every session
|
|
32
|
+
|
|
33
|
+
<br>
|
|
34
|
+
|
|
35
|
+
### Test first, and prove the test can fail
|
|
36
|
+
|
|
37
|
+
Once a plan is settled, the agent writes a test and watches it fail before writing the code that makes it pass. A test that never failed proves nothing (it might approve anything), so on existing code the agent breaks things on purpose, checks the test catches it, and undoes the break.
|
|
38
|
+
|
|
39
|
+
Every change gets ordinary example tests. Rule-based logic (calculations, sorting, or reading structured text) also gets automated tests that try hundreds of inputs at once. Mathematical proof stays off unless you turn it on, suggested only where mistakes are costly.
|
|
40
|
+
|
|
41
|
+
Agents often call a job done too early, so "done" comes with proof: the agent runs the tests, reads the output, and shows you. Bugs follow the same rule — first made to happen on demand, so the fix can be shown to stop them.
|
|
42
|
+
|
|
43
|
+
**Skills:** [bc-tdd](concepts/bc-tdd/body/SKILL.md) · [bc-diagnosing-bugs](concepts/bc-diagnosing-bugs/body/SKILL.md)
|
|
44
|
+
|
|
45
|
+
<br>
|
|
46
|
+
|
|
47
|
+
### Simple on purpose
|
|
48
|
+
|
|
49
|
+
Simple code is easier to trust, test and change, yet it rarely happens by accident. Before writing anything new, the agent looks for the smallest move that works: something the project already has, a feature built into the language, or a single line. New code comes only when those fall short. What it does build gets shaped into tidy parts that are easy to use from outside, with the hard work tucked inside, so the next person or agent can use a part without understanding all of it.
|
|
50
|
+
|
|
51
|
+
**Skills:** [bc-minimal-solution-ladder](concepts/bc-minimal-solution-ladder/body/SKILL.md) · [bc-codebase-design](concepts/bc-codebase-design/body/SKILL.md)
|
|
52
|
+
|
|
53
|
+
<br>
|
|
54
|
+
|
|
55
|
+
### Independent checking
|
|
56
|
+
|
|
57
|
+
The agent that wrote the code is the worst judge of it, just as writers struggle to proofread their own drafts. A separate agent reviews every change with fresh eyes, checking whether it does what was asked and is well made. On big questions, several AI models challenge each other's answers.
|
|
58
|
+
|
|
59
|
+
**Skills:** [bc-code-review](concepts/bc-code-review/body/SKILL.md) · [bc-pipeline-to-done](concepts/bc-pipeline-to-done/body/SKILL.md) · the [council skills](#running-several-agents)
|
|
60
|
+
|
|
61
|
+
<br>
|
|
62
|
+
|
|
63
|
+
### Work lives in files, not chat
|
|
64
|
+
|
|
65
|
+
A chat vanishes when a session ends, while files stay put. Plans, work items and handoff notes live inside the project, surviving crashes so the next agent or a dashboard can read them. Over time they become the project's long-term memory: past facts any session can look up.
|
|
66
|
+
|
|
67
|
+
**Skills:** [bc-setup-project](concepts/bc-setup-project/body/SKILL.md) · [bc-handoff](concepts/bc-handoff/body/SKILL.md) · [bc-delegate-investigation](concepts/bc-delegate-investigation/body/SKILL.md) · [bc-wiki-maintain](concepts/bc-wiki-maintain/body/SKILL.md) · the [work-data format](concepts/bc-setup-project/body/work-data.md) a dashboard reads
|
|
68
|
+
|
|
69
|
+
<br>
|
|
70
|
+
|
|
71
|
+
### Keep the project consistent, and stop it getting worse
|
|
72
|
+
|
|
73
|
+
Many short-lived agents on one project will slowly pull it apart unless something holds it together. Every colour, size and wording pattern is defined once and reused. Automatic checks guard the rest, failing whenever a change makes things slower, bigger or more tangled: performance budgets cap time, size or memory, and structural checks (fitness functions) enforce ground rules such as "the screen code never talks to the database directly".
|
|
74
|
+
|
|
75
|
+
**Skills:** [bc-design](concepts/bc-design/body/SKILL.md) · [bc-performance-guardrails](concepts/bc-performance-guardrails/body/SKILL.md)
|
|
76
|
+
|
|
77
|
+
<br>
|
|
78
|
+
|
|
79
|
+
### The instructions are sourced, tested and improved from use
|
|
80
|
+
|
|
81
|
+
The same care goes into the skills themselves. Every skill records where its ideas came from ([hard rules](AGENTS.md)), and no discipline skill ships until it passes a pressure test: a test agent faces scripted excuses ("I'm short on time", "just trust me"), and wording gets tightened until it holds the line.
|
|
82
|
+
|
|
83
|
+
When a session ends, the agent can also look back and suggest sharper instructions for itself, plus improvements to the setup you built for it to work in (recursive self-improvement 😉).
|
|
84
|
+
|
|
85
|
+
**Skills:** [bc-self-improve](concepts/bc-self-improve/body/SKILL.md) · [bc-prompting-agents](concepts/bc-prompting-agents/body/SKILL.md)
|
|
86
|
+
|
|
87
|
+
<br>
|
|
88
|
+
|
|
89
|
+
## The workflow
|
|
90
|
+
|
|
91
|
+
```mermaid
|
|
92
|
+
flowchart LR
|
|
93
|
+
A["Set up<br/><code>/bc-setup-project</code>"] --> B["Plan<br/><code>/bc-plan-to-pipeline</code><br/>you answer questions"]
|
|
94
|
+
B --> C["Build<br/>test first"]
|
|
95
|
+
C --> D["Review<br/>fresh eyes"]
|
|
96
|
+
D --> E["Merged"]
|
|
97
|
+
D -- "changes needed" --> C
|
|
98
|
+
```
|
|
99
|
+
|
|
100
|
+
Prepare your project with `/bc-setup-project`, talk through the plan with `/bc-plan-to-pipeline`, and let your agent build. It finishes work already under way before taking the next planned item, ticks off each step as it lands, and asks whenever something is unclear.
|
|
101
|
+
|
|
102
|
+
> [!TIP]
|
|
103
|
+
> **Working while you are away.** `/bc-pipeline-to-done` keeps the same work moving when you step away. It takes only items marked `Ready for agent: yes` (set by `/bc-plan-to-pipeline`) or GitHub issues labelled `ready-for-agent`. Since nobody is there to answer, it takes on only the work those marks cover, because you already settled its questions, and then diligently verifies the work before merging. It claims each item so two agents never collide, builds in a separate copy of the project, and has other agents review every step before merging. When a genuine decision comes up, it sets the item aside with your question and moves on.
|
|
104
|
+
|
|
105
|
+
<br>
|
|
106
|
+
|
|
107
|
+
### Running it as a software factory
|
|
108
|
+
|
|
109
|
+
A factory is more than its machines. Nothing enters the line until its questions are settled, every piece is checked along the way, and each defect that slips out changes the line itself so it cannot escape twice. These skills cover each step.
|
|
110
|
+
|
|
111
|
+
**Once, when you start a project**
|
|
112
|
+
- `/bc-setup-project` gets the project ready for agents.
|
|
113
|
+
|
|
114
|
+
**For each idea**
|
|
115
|
+
- `/bc-triage` first, if the idea arrives as a GitHub issue.
|
|
116
|
+
- `/bc-plan-to-pipeline` settles open questions and turns the idea into planned work.
|
|
117
|
+
- `/bc-council-challenge-plan` for a large or risky plan, bringing in several AI models to spot shaky assumptions before anything is built (Pi only).
|
|
118
|
+
- `/bc-pipeline-to-done` to build while you are away.
|
|
119
|
+
|
|
120
|
+
**At the end of each session**
|
|
121
|
+
- `/bc-self-improve` suggests tweaks to skills, checks or tools so the next session goes better.
|
|
122
|
+
|
|
123
|
+
**Regularly, as the code grows**
|
|
124
|
+
|
|
125
|
+
Agents write code quickly, and speed quietly builds up tangles and unreported bugs. Every few finished pieces of work, or whenever one area has grown rapidly:
|
|
126
|
+
- `/bc-improve-codebase-architecture` finds parts that would be simpler if reshaped.
|
|
127
|
+
- `/bc-find-bugs` hunts for bugs in the newest or busiest code and proves each with a failing test.
|
|
128
|
+
|
|
129
|
+
**As needed**
|
|
130
|
+
|
|
131
|
+
| Situation | Run |
|
|
132
|
+
|---|---|
|
|
133
|
+
| A release is coming, or the code handles logins, payments or personal data | `/bc-security-audit` |
|
|
134
|
+
| The list of planned work no longer matches what is actually happening | `/bc-work-sync` |
|
|
135
|
+
| The project's agent notes contradict each other or have gone stale | `/bc-wiki-maintain` |
|
|
136
|
+
|
|
137
|
+
```mermaid
|
|
138
|
+
flowchart TD
|
|
139
|
+
setup["Once<br/><span style='color:dodgerblue;font-weight:bold;font-family:monospace;white-space:nowrap'>/bc-setup-project</span>"] --> plan
|
|
140
|
+
idea(["<span style='font-size:22px;font-weight:bold;padding:6px 14px;display:inline-block;white-space:nowrap'>Your idea</span>"]) --> plan
|
|
141
|
+
issue(["GitHub issue"]) --- triage["<span style='color:dodgerblue;font-weight:bold;font-family:monospace;white-space:nowrap'>/bc-triage</span>"] --> plan
|
|
142
|
+
plan["Plan<br/><span style='color:dodgerblue;font-weight:bold;font-family:monospace;white-space:nowrap'>/bc-plan-to-pipeline</span>"] --> queue[("Planned work")]
|
|
143
|
+
plan -. "#nbsp;large or risky#nbsp;" .-> challenge["<span style='color:dodgerblue;font-weight:bold;font-family:monospace;white-space:nowrap'>/bc-council-challenge-plan</span>"]
|
|
144
|
+
challenge -.-> queue
|
|
145
|
+
queue --> build["Build and review<br/><span style='color:dodgerblue;font-weight:bold;font-family:monospace;white-space:nowrap'>/bc-pipeline-to-done</span><br/>when you are away"]
|
|
146
|
+
build --> merged(["Merged"])
|
|
147
|
+
merged -- "#nbsp;as the code grows#nbsp;" --> sweep["<span style='color:dodgerblue;font-weight:bold;font-family:monospace;white-space:nowrap'>/bc-improve-codebase-architecture</span><br/><span style='color:dodgerblue;font-weight:bold;font-family:monospace;white-space:nowrap'>/bc-find-bugs</span>"]
|
|
148
|
+
sweep -- "#nbsp;findings#nbsp;" --> queue
|
|
149
|
+
build -- "#nbsp;end of session#nbsp;" --> improve["<span style='color:dodgerblue;font-weight:bold;font-family:monospace;white-space:nowrap'>/bc-self-improve</span>"]
|
|
150
|
+
improve -- "#nbsp;better skills and checks#nbsp;" --> build
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
When a bug gets out, fix it, then ask what would have caught it: a test, a guardrail or a change to a skill? Add that too. That is how both the line and the product get better.
|
|
154
|
+
|
|
155
|
+
<br>
|
|
156
|
+
|
|
157
|
+
### The skills, stage by stage
|
|
158
|
+
|
|
159
|
+
Each skill writes its output to files or GitHub issues, so the next step never needs the same session. See how the planning skills connect in [pipeline.md](docs/guides/pipeline.md).
|
|
160
|
+
|
|
161
|
+
Skills marked `/name` are ones you type yourself; the rest load automatically when they fit. Skills linked to [workflows.md](docs/guides/workflows.md) have a fuller guide there (when to run, what it asks, what you get back).
|
|
162
|
+
|
|
163
|
+
<details>
|
|
164
|
+
<summary><b>Set up</b> — get a project ready for agents</summary>
|
|
165
|
+
|
|
166
|
+
| Skill | What it does | How it starts |
|
|
167
|
+
|---|---|---|
|
|
168
|
+
| [bc-setup-project](concepts/bc-setup-project/body/SKILL.md) | Prepares a project for agents: a folder for planned work, a place for its docs, and an automatic check on every change. It only adds missing files and never overwrites yours unless you ask (`--force`, `--force-root`). Learning projects get a notes vault instead. | [`/bc-setup-project`](docs/guides/workflows.md#bc-setup-project) |
|
|
169
|
+
| [bc-using-git-worktrees](concepts/bc-using-git-worktrees/body/SKILL.md) | Gives a piece of work its own separate copy of the project so unfinished changes never collide with what you are working on, then tidies the copy away afterwards. | automatically |
|
|
170
|
+
|
|
171
|
+
</details>
|
|
172
|
+
|
|
173
|
+
<details>
|
|
174
|
+
<summary><b>Decide and plan</b> — turn an idea into settled, agent-ready work</summary>
|
|
175
|
+
|
|
176
|
+
| Skill | What it does | How it starts |
|
|
177
|
+
|---|---|---|
|
|
178
|
+
| [bc-grilling](concepts/bc-grilling/body/SKILL.md) | Asks you questions one at a time until every decision in a plan is made, so the agent never has to guess what you wanted. | automatically |
|
|
179
|
+
| [bc-brainstorming](concepts/bc-brainstorming/body/SKILL.md) | Explores an idea with you, its options and trade-offs, before anyone commits to a plan. | automatically |
|
|
180
|
+
| [bc-domain-modeling](concepts/bc-domain-modeling/body/SKILL.md) | Pins down the words your project uses so everyone, agents included, means the same thing by them. Keeps a glossary and a record of hard decisions. | automatically |
|
|
181
|
+
| [bc-prd-drafting](concepts/bc-prd-drafting/body/SKILL.md) | Writes up what was already decided in the conversation as a requirements document, without asking you again. | automatically |
|
|
182
|
+
| [bc-writing-plans](concepts/bc-writing-plans/body/SKILL.md) | Turns agreed requirements into a step-by-step build plan before any code is touched. | automatically |
|
|
183
|
+
| [bc-plan-slicing](concepts/bc-plan-slicing/body/SKILL.md) | Cuts a plan into small pieces that each work end to end on their own, ordered by what depends on what, so an agent can pick one up and finish it. | automatically |
|
|
184
|
+
| [bc-plan-to-pipeline](concepts/bc-plan-to-pipeline/body/SKILL.md) | Runs the whole planning sequence in one go: questions, requirements, then slicing into work items. For a settled design, it asks only what is still open; it opens GitHub issues only if the project already uses them or you ask. | `/bc-plan-to-pipeline` |
|
|
185
|
+
| [bc-to-spec](concepts/bc-to-spec/body/SKILL.md) | Turns what you have discussed into a written spec on GitHub. | [`/bc-to-spec`](docs/guides/workflows.md#bc-to-spec-and-bc-to-tickets) |
|
|
186
|
+
| [bc-to-tickets](concepts/bc-to-tickets/body/SKILL.md) | Breaks a plan into GitHub issues that agents can each pick up on their own. | [`/bc-to-tickets`](docs/guides/workflows.md#bc-to-spec-and-bc-to-tickets) |
|
|
187
|
+
| [bc-triage](concepts/bc-triage/body/SKILL.md) | Sorts incoming GitHub issues: checks each one, asks you what is unclear, and marks it ready for an agent or rejected with a reason. | [`/bc-triage`](docs/guides/workflows.md#bc-triage) |
|
|
188
|
+
| [bc-prototype](concepts/bc-prototype/body/SKILL.md) | Builds a quick, throwaway version to answer a design question ("would this work?", "which layout reads better?") before real work starts. | [`/bc-prototype`](docs/guides/workflows.md#bc-prototype) |
|
|
189
|
+
|
|
190
|
+
</details>
|
|
191
|
+
|
|
192
|
+
<details>
|
|
193
|
+
<summary><b>Build</b> — write the code, test first, and keep it consistent</summary>
|
|
194
|
+
|
|
195
|
+
| Skill | What it does | How it starts |
|
|
196
|
+
|---|---|---|
|
|
197
|
+
| [bc-tdd](concepts/bc-tdd/body/SKILL.md) | Test-driven development: write the test first and watch it fail, then write the code. Logic with clear rules also gets tests that try many inputs automatically; formal proof only where you turn it on. | automatically |
|
|
198
|
+
| [bc-executing-plans](concepts/bc-executing-plans/body/SKILL.md) | Works through a written plan step by step in the current session. | automatically |
|
|
199
|
+
| [bc-subagent-driven-development](concepts/bc-subagent-driven-development/body/SKILL.md) | Works through a written plan by giving each step to a fresh helper agent, with a review after each one. | automatically |
|
|
200
|
+
| [bc-pipeline-to-done](concepts/bc-pipeline-to-done/body/SKILL.md) | Builds the work you already planned and settled while you are away, with every step reviewed by a separate agent before it is merged. | `/bc-pipeline-to-done` |
|
|
201
|
+
| [bc-finishing-development-branch](concepts/bc-finishing-development-branch/body/SKILL.md) | When a piece of work is done, helps you decide whether to merge it, open a pull request, keep it for later or throw it away. | automatically |
|
|
202
|
+
| [bc-design](concepts/bc-design/body/SKILL.md) | Keeps what users see consistent: colours, sizes and wording are defined once and reused. A visual change counts as done only with screenshots and a written critique of each. | automatically |
|
|
203
|
+
| [bc-minimal-solution-ladder](concepts/bc-minimal-solution-ladder/body/SKILL.md) | Stops the agent from building more than needed. Before writing code it asks: does this need to exist? Does the project already have it? Would one line do? It stops at the first yes. | automatically |
|
|
204
|
+
| [bc-performance-guardrails](concepts/bc-performance-guardrails/body/SKILL.md) | Sets limits on speed, size and structure, plus automatic checks that fail when a change breaks them, so the project cannot quietly get slower or messier. | automatically |
|
|
205
|
+
|
|
206
|
+
**Design consistency.** Each project records its design choices in `docs/design/`. A colour, size or wording pattern is defined once, as a named value or shared building block, and every screen reuses it instead of typing the value again. Rules that can be checked by scanning the code become automatic checks, and a visual change is not done until the agent has taken screenshots and critiqued each one.
|
|
207
|
+
|
|
208
|
+
**Guardrails and fitness functions.** Each project lists its limits and checks in `docs/guardrails/README.md`, and they run alongside the project's other tests on every change. An agent can set a limit from a measurement or published guideline, marking it as its own choice so you can adjust it; a limit you set is never loosened without asking. After fixing something that got slower, bigger or more tangled, the agent adds a check so it cannot return.
|
|
209
|
+
|
|
210
|
+
</details>
|
|
211
|
+
|
|
212
|
+
<details>
|
|
213
|
+
<summary><b>Check and review</b> — review changes, find bugs and security holes, speed things up</summary>
|
|
214
|
+
|
|
215
|
+
| Skill | What it does | How it starts |
|
|
216
|
+
|---|---|---|
|
|
217
|
+
| [bc-code-review](concepts/bc-code-review/body/SKILL.md) | Reviews a change with fresh eyes: does it do what was asked, and is it well made? Also helps decide which review comments to act on. | automatically |
|
|
218
|
+
| [bc-diagnosing-bugs](concepts/bc-diagnosing-bugs/body/SKILL.md) | Finds the real cause of a bug by first making it happen on demand, then fixes it with a test that keeps it from coming back. | [`/bc-diagnosing-bugs`](docs/guides/workflows.md#bc-diagnosing-bugs) |
|
|
219
|
+
| [bc-find-bugs](concepts/bc-find-bugs/body/SKILL.md) | Goes looking for bugs nobody has reported yet in a part of the code, and proves each one with a failing test. | [`/bc-find-bugs`](docs/guides/workflows.md#bc-find-bugs-and-bc-council-find-bugs) |
|
|
220
|
+
| [bc-security-audit](concepts/bc-security-audit/body/SKILL.md) | Looks for security holes, answers security questions, and in a full audit proves each finding before reporting it. Council version: [`/bc-council-audit-security`](docs/guides/workflows.md#bc-council-audit-security). | automatically for security questions; [`/bc-security-audit`](docs/guides/workflows.md#bc-council-audit-security) for a full audit |
|
|
221
|
+
| [bc-optimize-code](concepts/bc-optimize-code/body/SKILL.md) | Makes code faster or smaller in measured steps, keeping a change only when the measurement shows a real gain and nothing broke. | [`/bc-optimize-code`](docs/guides/workflows.md#bc-optimize-code) |
|
|
222
|
+
|
|
223
|
+
</details>
|
|
224
|
+
|
|
225
|
+
<details>
|
|
226
|
+
<summary><b>Improve the codebase</b> — make code simpler, writing clearer, and the next session better</summary>
|
|
227
|
+
|
|
228
|
+
| Skill | What it does | How it starts |
|
|
229
|
+
|---|---|---|
|
|
230
|
+
| [bc-codebase-design](concepts/bc-codebase-design/body/SKILL.md) | Shapes code into parts with a simple outside and the complexity hidden inside, so it is easy to use, test and change. | automatically |
|
|
231
|
+
| [bc-improve-codebase-architecture](concepts/bc-improve-codebase-architecture/body/SKILL.md) | Looks over a codebase for parts that would be simpler if reshaped, shows you the options, and plans the one you pick. | [`/bc-improve-codebase-architecture`](docs/guides/workflows.md#bc-improve-codebase-architecture-and-bc-council-improve-architecture) |
|
|
232
|
+
| [bc-unslop](concepts/bc-unslop/body/SKILL.md) | Makes writing stop sounding machine-written: cuts filler, hype and stock phrases, and puts real details back in their place. | automatically |
|
|
233
|
+
| [bc-self-improve](concepts/bc-self-improve/body/SKILL.md) | Looks back at a session and suggests changes to the checks, skills or tools that would make the next one go faster or with fewer mistakes. | [`/bc-self-improve`](docs/guides/workflows.md#bc-self-improve) |
|
|
234
|
+
|
|
235
|
+
</details>
|
|
236
|
+
|
|
237
|
+
<details>
|
|
238
|
+
<summary><b>Keep track of the work</b> — pick up where you left off and see what is happening</summary>
|
|
239
|
+
|
|
240
|
+
| Skill | What it does | How it starts |
|
|
241
|
+
|---|---|---|
|
|
242
|
+
| [bc-handoff](concepts/bc-handoff/body/SKILL.md) | Writes down where a session got to, so another session, agent or day can pick up right where it left off. | automatically |
|
|
243
|
+
| [bc-work-sync](concepts/bc-work-sync/body/SKILL.md) | Checks that the project's list of planned work matches its docs: finds missing, finished or stale items and proposes fixes before changing anything. | [`/bc-work-sync`](docs/guides/workflows.md#bc-work-sync) |
|
|
244
|
+
|
|
245
|
+
**Dashboard.** Each project's work items are machine-readable. `python3 .bc-agent/scripts/work_index.py --json` prints every item as JSON (stage, steps, blockers, holding agent, review and gate results, time and cost), and `python3 .bc-agent/scripts/work_spent.py <item>` estimates one item's time and cost from session files. See the [work-data reference](concepts/bc-setup-project/body/work-data.md) for fields and [workflows.md § Building your own dashboard](docs/guides/workflows.md#building-your-own-dashboard) to build a dashboard on them.
|
|
246
|
+
|
|
247
|
+
</details>
|
|
248
|
+
|
|
249
|
+
<details>
|
|
250
|
+
<summary><b>Writing, knowledge and learning</b> — docs, clear writing, research, notes and learning</summary>
|
|
251
|
+
|
|
252
|
+
| Skill | What it does | How it starts |
|
|
253
|
+
|---|---|---|
|
|
254
|
+
| [bc-codebase-docs](concepts/bc-codebase-docs/body/SKILL.md) | Keeps a project's documentation true: each fact is written in one place, describes how things are now, and is updated in the same change as the code. | automatically |
|
|
255
|
+
| [bc-plain-language](concepts/bc-plain-language/body/SKILL.md) | Writes or reviews text so the people it is for can find what they need, understand it and act on it. | automatically |
|
|
256
|
+
| [bc-explain-visually](concepts/bc-explain-visually/body/SKILL.md) | Explains how something works with the smallest picture that makes it clear, such as a short diagram. | automatically |
|
|
257
|
+
| [bc-seo](concepts/bc-seo/body/SKILL.md) | Helps a website get found in search engines and AI search. | automatically |
|
|
258
|
+
| [bc-teach](concepts/bc-teach/body/SKILL.md) | Teaches you a subject over many sessions, keeps notes of what you learned, and brings back old material so it sticks. | [`/bc-teach`](docs/guides/workflows.md#bc-teach) |
|
|
259
|
+
| [bc-wiki-maintain](concepts/bc-wiki-maintain/body/SKILL.md) | Keeps a project's agent notes healthy: finds broken or contradicting notes and promotes what is worth keeping, without silently rewriting anything. | [`/bc-wiki-maintain`](docs/guides/workflows.md#bc-wiki-maintain) |
|
|
260
|
+
| [bc-research](concepts/bc-research/body/SKILL.md) | Researches a technical question in trustworthy original sources, such as official documentation, and cites them. | automatically |
|
|
261
|
+
| [bc-qmd](concepts/bc-qmd/body/SKILL.md) | Searches all your Markdown notes and agent wikis at once, so past decisions are found instead of re-made. | automatically |
|
|
262
|
+
| [bc-prompting-agents](concepts/bc-prompting-agents/body/SKILL.md) | A collection of proven wording for writing instructions to agents, used when writing or improving skills like these. | automatically |
|
|
263
|
+
| [naming-things](concepts/naming-things/body/SKILL.md) | Helps choose clear names for the things in a project and its code. | automatically |
|
|
264
|
+
| [bc-json-canvas](concepts/bc-json-canvas/body/SKILL.md) | Creates and checks visual boards (mind maps, flowcharts) in the `.canvas` format Obsidian uses. | automatically |
|
|
265
|
+
| [bc-obsidian-markdown](concepts/bc-obsidian-markdown/body/SKILL.md) | Writes notes in Obsidian's style of Markdown, with links between notes, embeds and callouts. | automatically |
|
|
266
|
+
| [bc-obsidian-bases](concepts/bc-obsidian-bases/body/SKILL.md) | Creates and checks Obsidian Bases, table-like views over your notes. | automatically |
|
|
267
|
+
|
|
268
|
+
</details>
|
|
269
|
+
|
|
270
|
+
<a name="running-several-agents"></a>
|
|
271
|
+
<details>
|
|
272
|
+
<summary><b>Running several agents</b> — split work across helpers, or have several AI models debate</summary>
|
|
273
|
+
|
|
274
|
+
| Skill | What it does | How it starts |
|
|
275
|
+
|---|---|---|
|
|
276
|
+
| [bc-delegate-investigation](concepts/bc-delegate-investigation/body/SKILL.md) | Splits a big investigation across multiple helper agents working in parallel, and saves each result to a file so nothing is lost if a session dies. | [`/bc-delegate-investigation`](docs/guides/workflows.md#bc-delegate-investigation) |
|
|
277
|
+
| [bc-dispatching-parallel-agents](concepts/bc-dispatching-parallel-agents/body/SKILL.md) | How to hand separate tasks to several agents at once: what each one needs to know and how to put their results together. | automatically |
|
|
278
|
+
|
|
279
|
+
**Council skills** (Pi only; need [`pi-subagents`](https://www.npmjs.com/package/pi-subagents)): put the same question to several models and have them cross-examine each other's answers. Each council skill wraps a parent skill through the advisor council.
|
|
280
|
+
|
|
281
|
+
| Skill | What it does | How it starts |
|
|
282
|
+
|---|---|---|
|
|
283
|
+
| [bc-council-mode](concepts/bc-council-mode/body/SKILL.md) | Puts one question to several different AI models, has them challenge each other's answers, and brings you the result. | automatically |
|
|
284
|
+
| [bc-council-chain](concepts/bc-council-chain/body/SKILL.md) | Shared recipe the council skills below are built on; you do not run it directly. | automatically |
|
|
285
|
+
| [bc-council-challenge-plan](concepts/bc-council-challenge-plan/body/SKILL.md) | Has several models attack a plan for wrong assumptions, missed cases and cheaper routes before it is built. You only answer the objections that survive. | [`/bc-council-challenge-plan`](docs/guides/workflows.md#bc-council-challenge-plan) |
|
|
286
|
+
| [bc-council-find-bugs](concepts/bc-council-find-bugs/body/SKILL.md) | Bug hunting with several models, each searching from a different angle and checking the others' finds. | [`/bc-council-find-bugs`](docs/guides/workflows.md#bc-find-bugs-and-bc-council-find-bugs) |
|
|
287
|
+
| [bc-council-audit-security](concepts/bc-council-audit-security/body/SKILL.md) | A security audit with several models, each attacking different weak points and trying to disprove the others' findings. | [`/bc-council-audit-security`](docs/guides/workflows.md#bc-council-audit-security) |
|
|
288
|
+
| [bc-council-improve-architecture](concepts/bc-council-improve-architecture/body/SKILL.md) | Several models propose ways to reshape the code, cross-examine each other, and rank the ideas they agree are best. | [`/bc-council-improve-architecture`](docs/guides/workflows.md#bc-improve-codebase-architecture-and-bc-council-improve-architecture) |
|
|
289
|
+
|
|
290
|
+
</details>
|
|
291
|
+
|
|
292
|
+
The [agent kernel](concepts/agent-kernel/body/AGENT-KERNEL.md) supplies always-on rules for how the agent behaves and checks its work. The skills do not load it. To use it, [install the optional kernel](#optional-agent-kernel) separately.
|
|
293
|
+
|
|
294
|
+
Every concept is listed in [index.md](index.md). To see how agents test the code they change, read [workflows.md § How the skills test code](docs/guides/workflows.md#how-the-skills-test-code).
|
|
295
|
+
|
|
296
|
+
<br>
|
|
297
|
+
|
|
298
|
+
## Install
|
|
299
|
+
|
|
300
|
+
Pick your agent, open its box, and paste the command. Each installs a **release** — a fixed, named version (its name, such as `v0.4.1`, is called a tag) — not the newest code, which can hold unfinished work. The newest release is `v0.4.1`; if the [releases page](https://github.com/bendecastro/agent-concepts/releases) lists a newer tag, use it in place of `v0.4.1`.
|
|
301
|
+
|
|
302
|
+
| Agent | Method |
|
|
303
|
+
|---|---|
|
|
304
|
+
| Claude Code | [Claude Code plugin](#claude-code) |
|
|
305
|
+
| Codex | [Codex plugin](#codex) |
|
|
306
|
+
| Pi | [Pi package](#pi) |
|
|
307
|
+
| Any other agent (Cursor, Gemini CLI, GitHub Copilot, …) | [`npx skills`](#other-agents-npx-skills) |
|
|
308
|
+
| An agent that cannot load skills | [bootstrap prompt](docs/guides/bootstrap.md) |
|
|
309
|
+
| Contributors | [install from a checkout](#install-from-a-checkout-contributors) |
|
|
310
|
+
|
|
311
|
+
Details and known problems for each agent live in [harnesses.md](docs/guides/harnesses.md); prompts for agents without skill loading live in [bootstrap.md](docs/guides/bootstrap.md).
|
|
312
|
+
|
|
313
|
+
> [!IMPORTANT]
|
|
314
|
+
> - **Pick one method per agent.** Two methods install each skill twice. Several agents also read `~/.agents/skills/`; the contributor install and `npx skills -a pi` both write there.
|
|
315
|
+
> - **After installing, start a new agent session.** Open sessions do not see new skills.
|
|
316
|
+
> - **Council skills work only in Pi** with [`pi-subagents`](https://www.npmjs.com/package/pi-subagents) installed. The [Pi install](#pi) installs it; other installs of this repository do not. To install it: `pi install npm:pi-subagents`. The other methods install the council skills too, but they will not run there.
|
|
317
|
+
> - **To move to a newer release**, uninstall first, then install with the new tag. The [Pi package](#pi) from npm is the exception: `pi update --extensions` moves it.
|
|
318
|
+
|
|
319
|
+
**Report a problem:** an install that fails or a skill that misfires goes in a [new issue](https://github.com/bendecastro/agent-concepts/issues/new/choose); a security problem goes privately through [SECURITY.md](SECURITY.md).
|
|
320
|
+
|
|
321
|
+
<a name="claude-code"></a>
|
|
322
|
+
<details>
|
|
323
|
+
<summary><b>Claude Code</b></summary>
|
|
324
|
+
|
|
325
|
+
**Install** — adds this repository as a plugin source and installs the plugin:
|
|
326
|
+
|
|
327
|
+
```bash
|
|
328
|
+
claude plugin marketplace add bendecastro/agent-concepts#v0.4.1 && \
|
|
329
|
+
claude plugin install -y agent-concepts@agent-concepts
|
|
330
|
+
```
|
|
331
|
+
|
|
332
|
+
**Refresh** (stays on the release you installed):
|
|
333
|
+
|
|
334
|
+
```bash
|
|
335
|
+
claude plugin marketplace update agent-concepts && \
|
|
336
|
+
claude plugin update agent-concepts@agent-concepts
|
|
337
|
+
```
|
|
338
|
+
|
|
339
|
+
**Uninstall:**
|
|
340
|
+
|
|
341
|
+
```bash
|
|
342
|
+
claude plugin uninstall agent-concepts@agent-concepts && \
|
|
343
|
+
claude plugin marketplace remove agent-concepts
|
|
344
|
+
```
|
|
345
|
+
|
|
346
|
+
</details>
|
|
347
|
+
|
|
348
|
+
<a name="codex"></a>
|
|
349
|
+
<details>
|
|
350
|
+
<summary><b>Codex</b></summary>
|
|
351
|
+
|
|
352
|
+
**Install:**
|
|
353
|
+
|
|
354
|
+
```bash
|
|
355
|
+
codex plugin marketplace add bendecastro/agent-concepts --ref v0.4.1 && \
|
|
356
|
+
codex plugin add agent-concepts@agent-concepts
|
|
357
|
+
```
|
|
358
|
+
|
|
359
|
+
**Refresh** (stays on the release you installed):
|
|
360
|
+
|
|
361
|
+
```bash
|
|
362
|
+
codex plugin marketplace upgrade agent-concepts && \
|
|
363
|
+
codex plugin add agent-concepts@agent-concepts
|
|
364
|
+
```
|
|
365
|
+
|
|
366
|
+
**Uninstall:**
|
|
367
|
+
|
|
368
|
+
```bash
|
|
369
|
+
codex plugin remove agent-concepts@agent-concepts && \
|
|
370
|
+
codex plugin marketplace remove agent-concepts
|
|
371
|
+
```
|
|
372
|
+
|
|
373
|
+
</details>
|
|
374
|
+
|
|
375
|
+
<a name="pi"></a>
|
|
376
|
+
<details>
|
|
377
|
+
<summary><b>Pi</b></summary>
|
|
378
|
+
|
|
379
|
+
**Install** — the skills, the agent kernel, and the pipeline's roles from npm, plus [`pi-subagents`](https://www.npmjs.com/package/pi-subagents), which runs the council and pipeline skills:
|
|
380
|
+
|
|
381
|
+
```bash
|
|
382
|
+
pi install npm:agent-concepts
|
|
383
|
+
pi install npm:pi-subagents
|
|
384
|
+
```
|
|
385
|
+
|
|
386
|
+
This installs the release on npm's `latest` tag, and `pi update --extensions` moves you to each new one. A new release goes first to the `next` tag and moves to `latest` after it passes an end-to-end test; to try it before then, install `pi install npm:agent-concepts@next`, which `pi update --extensions` keeps on `next`. To stay on one release instead, name its version (updates then skip it): `pi install npm:agent-concepts@0.4.1`, or from GitHub by tag, `pi install git:github.com/bendecastro/agent-concepts@v0.4.1`.
|
|
387
|
+
|
|
388
|
+
The package includes the [agent kernel](#optional-agent-kernel) as a Pi extension; to turn it off, disable that extension in `pi config`.
|
|
389
|
+
|
|
390
|
+
**Update** to the newest release (a pinned install stays where it is):
|
|
391
|
+
|
|
392
|
+
```bash
|
|
393
|
+
pi update --extensions
|
|
394
|
+
```
|
|
395
|
+
|
|
396
|
+
**Uninstall** (use the same source you installed; also run `pi remove npm:pi-subagents` if nothing else uses it):
|
|
397
|
+
|
|
398
|
+
```bash
|
|
399
|
+
pi remove npm:agent-concepts
|
|
400
|
+
```
|
|
401
|
+
|
|
402
|
+
</details>
|
|
403
|
+
|
|
404
|
+
<a name="other-agents-npx-skills"></a>
|
|
405
|
+
<details>
|
|
406
|
+
<summary><b>Other agents (<code>npx skills</code>)</b></summary>
|
|
407
|
+
|
|
408
|
+
Use the [`skills` command-line tool](https://github.com/vercel-labs/skills) through `npx`, which comes with [Node.js](https://nodejs.org) and downloads and runs a tool in one step. `-g` installs for you in every project; `-y` skips the prompts. Skills land in `~/.agents/skills/`, which Codex and Pi also read, so they show up there too, and removing them for one agent leaves them in place for the others.
|
|
409
|
+
|
|
410
|
+
For a smaller install (one skill plus the skills it needs), see [docs/guides/install-packs.md](docs/guides/install-packs.md).
|
|
411
|
+
|
|
412
|
+
<details>
|
|
413
|
+
<summary><b>Cursor</b></summary>
|
|
414
|
+
|
|
415
|
+
Install all public skills:
|
|
416
|
+
|
|
417
|
+
```bash
|
|
418
|
+
npx -y skills add bendecastro/agent-concepts@v0.4.1 -g -a cursor -y \
|
|
419
|
+
--skill bc-brainstorming bc-code-review bc-codebase-design bc-codebase-docs \
|
|
420
|
+
bc-council-audit-security bc-council-chain bc-council-challenge-plan \
|
|
421
|
+
bc-council-find-bugs bc-council-improve-architecture bc-council-mode \
|
|
422
|
+
bc-delegate-investigation bc-diagnosing-bugs bc-dispatching-parallel-agents \
|
|
423
|
+
bc-domain-modeling bc-executing-plans bc-explain-visually bc-find-bugs \
|
|
424
|
+
bc-finishing-development-branch bc-grilling bc-handoff \
|
|
425
|
+
bc-improve-codebase-architecture bc-json-canvas bc-minimal-solution-ladder \
|
|
426
|
+
bc-obsidian-bases bc-obsidian-markdown bc-optimize-code \
|
|
427
|
+
bc-performance-guardrails bc-pipeline-to-done bc-plain-language \
|
|
428
|
+
bc-plan-slicing bc-plan-to-pipeline bc-prd-drafting bc-prompting-agents \
|
|
429
|
+
bc-prototype bc-qmd bc-research bc-security-audit bc-self-improve bc-seo \
|
|
430
|
+
bc-setup-project bc-subagent-driven-development bc-tdd bc-teach bc-to-spec \
|
|
431
|
+
bc-to-tickets bc-triage bc-design bc-unslop bc-using-git-worktrees \
|
|
432
|
+
bc-wiki-maintain bc-work-sync bc-writing-plans
|
|
433
|
+
```
|
|
434
|
+
|
|
435
|
+
Uninstall:
|
|
436
|
+
|
|
437
|
+
```bash
|
|
438
|
+
npx -y skills remove -g -a cursor -y \
|
|
439
|
+
--skill bc-brainstorming bc-code-review bc-codebase-design bc-codebase-docs \
|
|
440
|
+
bc-council-audit-security bc-council-chain bc-council-challenge-plan \
|
|
441
|
+
bc-council-find-bugs bc-council-improve-architecture bc-council-mode \
|
|
442
|
+
bc-delegate-investigation bc-diagnosing-bugs bc-dispatching-parallel-agents \
|
|
443
|
+
bc-domain-modeling bc-executing-plans bc-explain-visually bc-find-bugs \
|
|
444
|
+
bc-finishing-development-branch bc-grilling bc-handoff \
|
|
445
|
+
bc-improve-codebase-architecture bc-json-canvas bc-minimal-solution-ladder \
|
|
446
|
+
bc-obsidian-bases bc-obsidian-markdown bc-optimize-code \
|
|
447
|
+
bc-performance-guardrails bc-pipeline-to-done bc-plain-language \
|
|
448
|
+
bc-plan-slicing bc-plan-to-pipeline bc-prd-drafting bc-prompting-agents \
|
|
449
|
+
bc-prototype bc-qmd bc-research bc-security-audit bc-self-improve bc-seo \
|
|
450
|
+
bc-setup-project bc-subagent-driven-development bc-tdd bc-teach bc-to-spec \
|
|
451
|
+
bc-to-tickets bc-triage bc-design bc-unslop bc-using-git-worktrees \
|
|
452
|
+
bc-wiki-maintain bc-work-sync bc-writing-plans
|
|
453
|
+
```
|
|
454
|
+
|
|
455
|
+
</details>
|
|
456
|
+
|
|
457
|
+
<details>
|
|
458
|
+
<summary><b>Gemini CLI</b></summary>
|
|
459
|
+
|
|
460
|
+
Install all public skills:
|
|
461
|
+
|
|
462
|
+
```bash
|
|
463
|
+
npx -y skills add bendecastro/agent-concepts@v0.4.1 -g -a gemini-cli -y \
|
|
464
|
+
--skill bc-brainstorming bc-code-review bc-codebase-design bc-codebase-docs \
|
|
465
|
+
bc-council-audit-security bc-council-chain bc-council-challenge-plan \
|
|
466
|
+
bc-council-find-bugs bc-council-improve-architecture bc-council-mode \
|
|
467
|
+
bc-delegate-investigation bc-diagnosing-bugs bc-dispatching-parallel-agents \
|
|
468
|
+
bc-domain-modeling bc-executing-plans bc-explain-visually bc-find-bugs \
|
|
469
|
+
bc-finishing-development-branch bc-grilling bc-handoff \
|
|
470
|
+
bc-improve-codebase-architecture bc-json-canvas bc-minimal-solution-ladder \
|
|
471
|
+
bc-obsidian-bases bc-obsidian-markdown bc-optimize-code \
|
|
472
|
+
bc-performance-guardrails bc-pipeline-to-done bc-plain-language \
|
|
473
|
+
bc-plan-slicing bc-plan-to-pipeline bc-prd-drafting bc-prompting-agents \
|
|
474
|
+
bc-prototype bc-qmd bc-research bc-security-audit bc-self-improve bc-seo \
|
|
475
|
+
bc-setup-project bc-subagent-driven-development bc-tdd bc-teach bc-to-spec \
|
|
476
|
+
bc-to-tickets bc-triage bc-design bc-unslop bc-using-git-worktrees \
|
|
477
|
+
bc-wiki-maintain bc-work-sync bc-writing-plans
|
|
478
|
+
```
|
|
479
|
+
|
|
480
|
+
Uninstall:
|
|
481
|
+
|
|
482
|
+
```bash
|
|
483
|
+
npx -y skills remove -g -a gemini-cli -y \
|
|
484
|
+
--skill bc-brainstorming bc-code-review bc-codebase-design bc-codebase-docs \
|
|
485
|
+
bc-council-audit-security bc-council-chain bc-council-challenge-plan \
|
|
486
|
+
bc-council-find-bugs bc-council-improve-architecture bc-council-mode \
|
|
487
|
+
bc-delegate-investigation bc-diagnosing-bugs bc-dispatching-parallel-agents \
|
|
488
|
+
bc-domain-modeling bc-executing-plans bc-explain-visually bc-find-bugs \
|
|
489
|
+
bc-finishing-development-branch bc-grilling bc-handoff \
|
|
490
|
+
bc-improve-codebase-architecture bc-json-canvas bc-minimal-solution-ladder \
|
|
491
|
+
bc-obsidian-bases bc-obsidian-markdown bc-optimize-code \
|
|
492
|
+
bc-performance-guardrails bc-pipeline-to-done bc-plain-language \
|
|
493
|
+
bc-plan-slicing bc-plan-to-pipeline bc-prd-drafting bc-prompting-agents \
|
|
494
|
+
bc-prototype bc-qmd bc-research bc-security-audit bc-self-improve bc-seo \
|
|
495
|
+
bc-setup-project bc-subagent-driven-development bc-tdd bc-teach bc-to-spec \
|
|
496
|
+
bc-to-tickets bc-triage bc-design bc-unslop bc-using-git-worktrees \
|
|
497
|
+
bc-wiki-maintain bc-work-sync bc-writing-plans
|
|
498
|
+
```
|
|
499
|
+
|
|
500
|
+
</details>
|
|
501
|
+
|
|
502
|
+
<details>
|
|
503
|
+
<summary><b>GitHub Copilot</b></summary>
|
|
504
|
+
|
|
505
|
+
Install all public skills:
|
|
506
|
+
|
|
507
|
+
```bash
|
|
508
|
+
npx -y skills add bendecastro/agent-concepts@v0.4.1 -g -a github-copilot -y \
|
|
509
|
+
--skill bc-brainstorming bc-code-review bc-codebase-design bc-codebase-docs \
|
|
510
|
+
bc-council-audit-security bc-council-chain bc-council-challenge-plan \
|
|
511
|
+
bc-council-find-bugs bc-council-improve-architecture bc-council-mode \
|
|
512
|
+
bc-delegate-investigation bc-diagnosing-bugs bc-dispatching-parallel-agents \
|
|
513
|
+
bc-domain-modeling bc-executing-plans bc-explain-visually bc-find-bugs \
|
|
514
|
+
bc-finishing-development-branch bc-grilling bc-handoff \
|
|
515
|
+
bc-improve-codebase-architecture bc-json-canvas bc-minimal-solution-ladder \
|
|
516
|
+
bc-obsidian-bases bc-obsidian-markdown bc-optimize-code \
|
|
517
|
+
bc-performance-guardrails bc-pipeline-to-done bc-plain-language \
|
|
518
|
+
bc-plan-slicing bc-plan-to-pipeline bc-prd-drafting bc-prompting-agents \
|
|
519
|
+
bc-prototype bc-qmd bc-research bc-security-audit bc-self-improve bc-seo \
|
|
520
|
+
bc-setup-project bc-subagent-driven-development bc-tdd bc-teach bc-to-spec \
|
|
521
|
+
bc-to-tickets bc-triage bc-design bc-unslop bc-using-git-worktrees \
|
|
522
|
+
bc-wiki-maintain bc-work-sync bc-writing-plans
|
|
523
|
+
```
|
|
524
|
+
|
|
525
|
+
Uninstall:
|
|
526
|
+
|
|
527
|
+
```bash
|
|
528
|
+
npx -y skills remove -g -a github-copilot -y \
|
|
529
|
+
--skill bc-brainstorming bc-code-review bc-codebase-design bc-codebase-docs \
|
|
530
|
+
bc-council-audit-security bc-council-chain bc-council-challenge-plan \
|
|
531
|
+
bc-council-find-bugs bc-council-improve-architecture bc-council-mode \
|
|
532
|
+
bc-delegate-investigation bc-diagnosing-bugs bc-dispatching-parallel-agents \
|
|
533
|
+
bc-domain-modeling bc-executing-plans bc-explain-visually bc-find-bugs \
|
|
534
|
+
bc-finishing-development-branch bc-grilling bc-handoff \
|
|
535
|
+
bc-improve-codebase-architecture bc-json-canvas bc-minimal-solution-ladder \
|
|
536
|
+
bc-obsidian-bases bc-obsidian-markdown bc-optimize-code \
|
|
537
|
+
bc-performance-guardrails bc-pipeline-to-done bc-plain-language \
|
|
538
|
+
bc-plan-slicing bc-plan-to-pipeline bc-prd-drafting bc-prompting-agents \
|
|
539
|
+
bc-prototype bc-qmd bc-research bc-security-audit bc-self-improve bc-seo \
|
|
540
|
+
bc-setup-project bc-subagent-driven-development bc-tdd bc-teach bc-to-spec \
|
|
541
|
+
bc-to-tickets bc-triage bc-design bc-unslop bc-using-git-worktrees \
|
|
542
|
+
bc-wiki-maintain bc-work-sync bc-writing-plans
|
|
543
|
+
```
|
|
544
|
+
|
|
545
|
+
</details>
|
|
546
|
+
|
|
547
|
+
<details>
|
|
548
|
+
<summary><b>OpenCode</b></summary>
|
|
549
|
+
|
|
550
|
+
Install all public skills:
|
|
551
|
+
|
|
552
|
+
```bash
|
|
553
|
+
npx -y skills add bendecastro/agent-concepts@v0.4.1 -g -a opencode -y \
|
|
554
|
+
--skill bc-brainstorming bc-code-review bc-codebase-design bc-codebase-docs \
|
|
555
|
+
bc-council-audit-security bc-council-chain bc-council-challenge-plan \
|
|
556
|
+
bc-council-find-bugs bc-council-improve-architecture bc-council-mode \
|
|
557
|
+
bc-delegate-investigation bc-diagnosing-bugs bc-dispatching-parallel-agents \
|
|
558
|
+
bc-domain-modeling bc-executing-plans bc-explain-visually bc-find-bugs \
|
|
559
|
+
bc-finishing-development-branch bc-grilling bc-handoff \
|
|
560
|
+
bc-improve-codebase-architecture bc-json-canvas bc-minimal-solution-ladder \
|
|
561
|
+
bc-obsidian-bases bc-obsidian-markdown bc-optimize-code \
|
|
562
|
+
bc-performance-guardrails bc-pipeline-to-done bc-plain-language \
|
|
563
|
+
bc-plan-slicing bc-plan-to-pipeline bc-prd-drafting bc-prompting-agents \
|
|
564
|
+
bc-prototype bc-qmd bc-research bc-security-audit bc-self-improve bc-seo \
|
|
565
|
+
bc-setup-project bc-subagent-driven-development bc-tdd bc-teach bc-to-spec \
|
|
566
|
+
bc-to-tickets bc-triage bc-design bc-unslop bc-using-git-worktrees \
|
|
567
|
+
bc-wiki-maintain bc-work-sync bc-writing-plans
|
|
568
|
+
```
|
|
569
|
+
|
|
570
|
+
Uninstall:
|
|
571
|
+
|
|
572
|
+
```bash
|
|
573
|
+
npx -y skills remove -g -a opencode -y \
|
|
574
|
+
--skill bc-brainstorming bc-code-review bc-codebase-design bc-codebase-docs \
|
|
575
|
+
bc-council-audit-security bc-council-chain bc-council-challenge-plan \
|
|
576
|
+
bc-council-find-bugs bc-council-improve-architecture bc-council-mode \
|
|
577
|
+
bc-delegate-investigation bc-diagnosing-bugs bc-dispatching-parallel-agents \
|
|
578
|
+
bc-domain-modeling bc-executing-plans bc-explain-visually bc-find-bugs \
|
|
579
|
+
bc-finishing-development-branch bc-grilling bc-handoff \
|
|
580
|
+
bc-improve-codebase-architecture bc-json-canvas bc-minimal-solution-ladder \
|
|
581
|
+
bc-obsidian-bases bc-obsidian-markdown bc-optimize-code \
|
|
582
|
+
bc-performance-guardrails bc-pipeline-to-done bc-plain-language \
|
|
583
|
+
bc-plan-slicing bc-plan-to-pipeline bc-prd-drafting bc-prompting-agents \
|
|
584
|
+
bc-prototype bc-qmd bc-research bc-security-audit bc-self-improve bc-seo \
|
|
585
|
+
bc-setup-project bc-subagent-driven-development bc-tdd bc-teach bc-to-spec \
|
|
586
|
+
bc-to-tickets bc-triage bc-design bc-unslop bc-using-git-worktrees \
|
|
587
|
+
bc-wiki-maintain bc-work-sync bc-writing-plans
|
|
588
|
+
```
|
|
589
|
+
|
|
590
|
+
</details>
|
|
591
|
+
|
|
592
|
+
<details>
|
|
593
|
+
<summary><b>Any other agent</b></summary>
|
|
594
|
+
|
|
595
|
+
Change `<agent>` to your agent's id from [the `skills` agent list](https://github.com/vercel-labs/skills/blob/main/docs/agents.md).
|
|
596
|
+
|
|
597
|
+
Install all public skills:
|
|
598
|
+
|
|
599
|
+
```bash
|
|
600
|
+
npx -y skills add bendecastro/agent-concepts@v0.4.1 -g -a <agent> -y \
|
|
601
|
+
--skill bc-brainstorming bc-code-review bc-codebase-design bc-codebase-docs \
|
|
602
|
+
bc-council-audit-security bc-council-chain bc-council-challenge-plan \
|
|
603
|
+
bc-council-find-bugs bc-council-improve-architecture bc-council-mode \
|
|
604
|
+
bc-delegate-investigation bc-diagnosing-bugs bc-dispatching-parallel-agents \
|
|
605
|
+
bc-domain-modeling bc-executing-plans bc-explain-visually bc-find-bugs \
|
|
606
|
+
bc-finishing-development-branch bc-grilling bc-handoff \
|
|
607
|
+
bc-improve-codebase-architecture bc-json-canvas bc-minimal-solution-ladder \
|
|
608
|
+
bc-obsidian-bases bc-obsidian-markdown bc-optimize-code \
|
|
609
|
+
bc-performance-guardrails bc-pipeline-to-done bc-plain-language \
|
|
610
|
+
bc-plan-slicing bc-plan-to-pipeline bc-prd-drafting bc-prompting-agents \
|
|
611
|
+
bc-prototype bc-qmd bc-research bc-security-audit bc-self-improve bc-seo \
|
|
612
|
+
bc-setup-project bc-subagent-driven-development bc-tdd bc-teach bc-to-spec \
|
|
613
|
+
bc-to-tickets bc-triage bc-design bc-unslop bc-using-git-worktrees \
|
|
614
|
+
bc-wiki-maintain bc-work-sync bc-writing-plans
|
|
615
|
+
```
|
|
616
|
+
|
|
617
|
+
Uninstall (use the same `-a <agent>` you installed for):
|
|
618
|
+
|
|
619
|
+
```bash
|
|
620
|
+
npx -y skills remove -g -a <agent> -y \
|
|
621
|
+
--skill bc-brainstorming bc-code-review bc-codebase-design bc-codebase-docs \
|
|
622
|
+
bc-council-audit-security bc-council-chain bc-council-challenge-plan \
|
|
623
|
+
bc-council-find-bugs bc-council-improve-architecture bc-council-mode \
|
|
624
|
+
bc-delegate-investigation bc-diagnosing-bugs bc-dispatching-parallel-agents \
|
|
625
|
+
bc-domain-modeling bc-executing-plans bc-explain-visually bc-find-bugs \
|
|
626
|
+
bc-finishing-development-branch bc-grilling bc-handoff \
|
|
627
|
+
bc-improve-codebase-architecture bc-json-canvas bc-minimal-solution-ladder \
|
|
628
|
+
bc-obsidian-bases bc-obsidian-markdown bc-optimize-code \
|
|
629
|
+
bc-performance-guardrails bc-pipeline-to-done bc-plain-language \
|
|
630
|
+
bc-plan-slicing bc-plan-to-pipeline bc-prd-drafting bc-prompting-agents \
|
|
631
|
+
bc-prototype bc-qmd bc-research bc-security-audit bc-self-improve bc-seo \
|
|
632
|
+
bc-setup-project bc-subagent-driven-development bc-tdd bc-teach bc-to-spec \
|
|
633
|
+
bc-to-tickets bc-triage bc-design bc-unslop bc-using-git-worktrees \
|
|
634
|
+
bc-wiki-maintain bc-work-sync bc-writing-plans
|
|
635
|
+
```
|
|
636
|
+
|
|
637
|
+
</details>
|
|
638
|
+
|
|
639
|
+
**Refresh, for every agent** (stays on the release you installed):
|
|
640
|
+
|
|
641
|
+
```bash
|
|
642
|
+
npx -y skills update -g -y
|
|
643
|
+
```
|
|
644
|
+
|
|
645
|
+
</details>
|
|
646
|
+
|
|
647
|
+
<a name="install-from-a-checkout-contributors"></a>
|
|
648
|
+
<details>
|
|
649
|
+
<summary><b>Install from a checkout (contributors)</b></summary>
|
|
650
|
+
This links the skills to a local copy of this repository so your edits take effect at once. It tracks the newest code instead of a release, so expect unfinished work, and do not combine it with a method above for the same agent.
|
|
651
|
+
|
|
652
|
+
You need Git and Python 3. To run the repository's checks (`scripts/gate`), also install `pytest` and `hypothesis`, for example with `pip install pytest hypothesis`.
|
|
653
|
+
|
|
654
|
+
**Install** — clones the repository, saves the path for future terminals, and links the skills (requires bash or zsh as your login shell):
|
|
655
|
+
|
|
656
|
+
```bash
|
|
657
|
+
case "$SHELL" in */bash) rc="$HOME/.bashrc" ;; */zsh) rc="$HOME/.zshrc" ;; *) echo "Set SHELL to bash or zsh first" >&2; false ;; esac && \
|
|
658
|
+
git clone https://github.com/bendecastro/agent-concepts.git agent-concepts && \
|
|
659
|
+
cd agent-concepts && \
|
|
660
|
+
export AGENT_CONCEPTS="$PWD" && \
|
|
661
|
+
printf 'export AGENT_CONCEPTS=%q\n' "$AGENT_CONCEPTS" >> "$rc" && \
|
|
662
|
+
python3 scripts/deploy-local-skills.py
|
|
663
|
+
```
|
|
664
|
+
|
|
665
|
+
**Refresh** (from the checkout; `git pull` can fail on local changes):
|
|
666
|
+
|
|
667
|
+
```bash
|
|
668
|
+
cd "$AGENT_CONCEPTS" && git pull --ff-only && python3 scripts/deploy-local-skills.py
|
|
669
|
+
```
|
|
670
|
+
|
|
671
|
+
**Uninstall** (removes links only; keeps the checkout and shell setting):
|
|
672
|
+
|
|
673
|
+
```bash
|
|
674
|
+
cd "$AGENT_CONCEPTS" && python3 scripts/deploy-local-skills.py --uninstall
|
|
675
|
+
```
|
|
676
|
+
|
|
677
|
+
The script makes symlinks (shortcuts pointing to a folder). Its options:
|
|
678
|
+
|
|
679
|
+
- **`--uninstall`** removes only the links this script created and leaves other skills alone. Add `--dry-run` to preview it.
|
|
680
|
+
- `--dry-run` shows what would change without changing anything.
|
|
681
|
+
- `--force` replaces existing files that are not symlinks; it does not replace folders.
|
|
682
|
+
- `--harness {all,pi,claude}` picks which of the Pi and Claude Code folders are written. The shared `~/.agents/skills/` folder is always written.
|
|
683
|
+
- `--skip NAME` leaves one skill out; repeat it for more.
|
|
684
|
+
|
|
685
|
+
A symlink pointing to a skill this checkout does not own is reported and left alone. The links are relative so the checkout can live anywhere, and concepts whose `CONCEPT.md` says `deployed: no` are skipped.
|
|
686
|
+
|
|
687
|
+
</details>
|
|
688
|
+
|
|
689
|
+
<br>
|
|
690
|
+
|
|
691
|
+
### Optional agent kernel
|
|
692
|
+
|
|
693
|
+
The kernel is separate from the skills, except in the [Pi package](#pi), which includes it. Use one kernel source per harness: a package, a manual include or a marked block, not several. The commands below use a local Agent Concepts checkout. To pin the kernel, check out a release tag **that contains the kernel package** or a full commit SHA in a dedicated checkout and use that path. These instructions do not assume the skills release named above includes the kernel. Keep the pinned checkout at that revision; to upgrade, select another revision and refresh or reinstall from it.
|
|
694
|
+
|
|
695
|
+
| Harness | Install | Disable | Remove |
|
|
696
|
+
|---|---|---|---|
|
|
697
|
+
| Pi 1.6.1+ | Included in the [Pi package](#pi). Only with the contributor install (no package): from the checkout root, `pi install ./packages/agent-kernel-pi`. | Disable the kernel extension in `pi config`. | Package: remove the package. Standalone: from the same checkout root, `pi remove ./packages/agent-kernel-pi`. |
|
|
698
|
+
| Claude Code (requires `python3`) | `claude plugin marketplace add /path/to/agent-concepts`, then `claude plugin install agent-kernel@agent-concepts --scope user`. If the marketplace is already registered, use its checkout if it contains the package. | `claude plugin disable agent-kernel@agent-concepts --scope user`. | `claude plugin uninstall agent-kernel@agent-concepts --scope user`. Keep the marketplace if you still use its skills. |
|
|
699
|
+
| Codex (requires `python3`) | `codex plugin marketplace add /path/to/agent-concepts`, then `codex plugin add agent-kernel@agent-concepts`. If the marketplace is already registered, use its checkout if it contains the package. Review and trust the SessionStart hook with `/hooks`; it won't load until trusted. | Disable the kernel plugin in `/plugins`. | `codex plugin remove agent-kernel@agent-concepts`. Keep the marketplace if you still use its skills. |
|
|
700
|
+
| OpenCode V2 | In global `opencode.json(c)`, add the absolute path to `packages/agent-kernel-opencode/` to `plugins`. | Delete that entry from `plugins`; leave the package files in place to re-enable later. | Delete the same entry; the checkout can stay. |
|
|
701
|
+
| OpenCode V1 | In global `opencode.json(c)`, add the absolute path to the checkout's `packages/agent-kernel/AGENT-KERNEL.md` to `instructions`. There is no V1 kernel plugin. | Delete that entry from `instructions`; keep the file to re-enable later. | Delete the same entry; the checkout can stay. |
|
|
702
|
+
| Other harnesses or manual file install | `python3 /path/to/agent-concepts/packages/agent-kernel/install.py /path/to/instructions.md`, naming the instructions file your harness loads. | There is no separate switch; remove the block and rerun install to re-enable it. | Run the same command with `--remove`; it removes only the marked block. |
|
|
703
|
+
|
|
704
|
+
Start a fresh session after install, disable or removal; an old session may still carry earlier instructions. For OpenCode, restart the server before starting the new session. The manual installer pins the **copied bytes**: to change versions, run the installer from the new pinned checkout against the same file. See [delivery behavior and manual deltas](docs/guides/harnesses.md#standalone-kernel) for details.
|
|
705
|
+
|
|
706
|
+
### Install prerequisites for the pipeline
|
|
707
|
+
|
|
708
|
+
`/bc-pipeline-to-done` needs separate agents to build and review changes. In Pi:
|
|
709
|
+
|
|
710
|
+
1. Use the [Pi install](#pi): it installs `pi-subagents` and the pipeline's auditor, builder and reviewer [roles](concepts/bc-pipeline-to-done/body/roles.md), with nothing to copy. If `pi-subagents` is missing, the pipeline offers to install it, then asks you to restart Pi. Other harnesses need equivalent roles and isolation.
|
|
711
|
+
2. If you use GitHub issues, install and sign in to the [GitHub CLI](https://cli.github.com/) (`gh`). Both `/bc-plan-to-pipeline` and `/bc-pipeline-to-done` use it for issues; local work items do not need it.
|
|
712
|
+
|
|
713
|
+
These machine tools are optional:
|
|
714
|
+
|
|
715
|
+
| Tool | If you have not configured one |
|
|
716
|
+
|---|---|
|
|
717
|
+
| Guarded pytest runner | Run plain `pytest` in the project environment. Use `tmp_path` for test fixtures, clean up temporary files even on failure and do not set a custom `--basetemp`. |
|
|
718
|
+
| Storage health check | Skip the check and say so in one line of the run report. If a configured check fails to run or reports critical or unknown health, stop and report it. |
|
|
719
|
+
| Wrapper for heavy checks | Run the project's full validation command directly. The session combining the changes runs it, not each worker. |
|
|
720
|
+
| Publish-policy checker | The pipeline uses its bundled checker. With no policy file, it asks once before pushing if you can answer; otherwise it commits locally and pushes nothing. |
|
|
721
|
+
|
|
722
|
+
## Working on this repository
|
|
723
|
+
|
|
724
|
+
How this repository is organised and the rules for changing it. You only need this section if you want to edit the skills themselves.
|
|
725
|
+
|
|
726
|
+
### Where things are
|
|
727
|
+
|
|
728
|
+
| Path | What it holds |
|
|
729
|
+
|---|---|
|
|
730
|
+
| [`concepts/`](concepts/) | one folder per concept: `CONCEPT.md` (reasons, sources, test and deploy status), `body/` (what the agent reads), `tests/` |
|
|
731
|
+
| [`index.md`](index.md) | catalogue of every concept and every raw source |
|
|
732
|
+
| [`glossary.md`](glossary.md) | the meaning of this repository's terms (concept, skill, gate, hard rule, work item and others) |
|
|
733
|
+
| [`docs/README.md`](docs/README.md) | map of the human-facing documentation |
|
|
734
|
+
| [`docs/status.md`](docs/status.md) | generated board of each concept's test and deploy status |
|
|
735
|
+
| [`docs/guides/`](docs/guides/) | how-to guides: harnesses, bootstrap, the planning pipeline, pressure tests |
|
|
736
|
+
| [`docs/research/`](docs/research/README.md) | dated investigations, and `raw/`, the raw sources that are never edited |
|
|
737
|
+
| [`work/`](work/README.md) | work items for this repository; the folder an item sits in is its status |
|
|
738
|
+
| [`scripts/gate`](scripts/gate) | the full gate: lint, the portability check and the tests; [CI](.github/workflows/gate.yml) runs it on every push and pull request |
|
|
739
|
+
| [`.bc-agent/`](.bc-agent/AGENTS.md) | agent mechanics: session protocol, journal, conventions, templates |
|
|
740
|
+
| [`policies/`](policies/README.md) | documentation and a template for the publish policy, which lives outside the repository |
|
|
741
|
+
| [`AGENTS.md`](AGENTS.md) | operating manual for agents working on this repository |
|
|
742
|
+
|
|
743
|
+
`python3 scripts/lint.py` checks for mechanical drift: broken links, missing sources, stale index entries and status pages. For each deployed concept it also checks the recorded test status in `CONCEPT.md`, reading that record without rerunning the pressure tests. It also warns if a deployed body names a workflow moment without a handoff or load from the skill that owns that moment.
|
|
744
|
+
|
|
745
|
+
<br>
|
|
746
|
+
|
|
747
|
+
### Hard rules
|
|
748
|
+
|
|
749
|
+
[`AGENTS.md`](AGENTS.md) sets four hard rules. They are harder to change than other rules because breaking them is most tempting when they get in the way; each can be changed deliberately with the change logged, never skipped quietly.
|
|
750
|
+
|
|
751
|
+
- **Canon rule** — don't hand-edit derived outputs, or anything outside this repository that a harness's symlink points into; the next rebuild reverts it.
|
|
752
|
+
- **Provenance rule** — every concept names its sources in `CONCEPT.md`.
|
|
753
|
+
- **Test rule** — a concept that enforces discipline is not deployed until it has held under a pressure test.
|
|
754
|
+
- **Immutability rule** — files in `docs/research/raw/` are never edited.
|
|
755
|
+
|
|
756
|
+
<br>
|
|
757
|
+
|
|
758
|
+
### Publishing and authorisation
|
|
759
|
+
|
|
760
|
+
Agents publish (push, open pull requests, release) only on your explicit instruction or a matching rule in `~/.config/agent-concepts/publish.yaml`. That file belongs to you, lives outside the repository, and denies by default; when it is missing, agents ask first. A repository's own instructions can restrict publishing, never grant it, and a change to the policy file is never publishable under the policy itself. `scripts/publish-check.py` checks whether a rule matches; see [policies/README.md](policies/README.md).
|
|
761
|
+
|
|
762
|
+
<br>
|
|
763
|
+
|
|
764
|
+
### Private concepts
|
|
765
|
+
|
|
766
|
+
For guidance that cannot be published (infrastructure details, employer process, or an upstream text whose licence forbids redistribution), put a concept in `~/.config/agent-concepts/concepts/<name>/body/SKILL.md`, in the same shape as `concepts/`. The deploy script links it alongside the public ones; a private concept overrides a public one of the same name, and the script reports the override.
|
|
767
|
+
|
|
768
|
+
<br>
|
|
769
|
+
|
|
770
|
+
### Provenance and licensing
|
|
771
|
+
|
|
772
|
+
This repository is released under the [MIT licence](LICENSE), so you may use, copy and change it freely as long as you keep the copyright notice. It grew out of reading and adapting other people's work: Jesse Vincent's [superpowers](https://github.com/obra/superpowers) (MIT), [Matt Pocock's skills](https://github.com/mattpocock/skills), and published guidance from Anthropic, OpenAI and Google. `docs/research/raw/ingested/CITATIONS.md` indexes the sources.
|
|
773
|
+
|
|
774
|
+
Concept bodies are rewritten and specialised, not copies of upstream. Where a body could not be written independently, the concept points upstream instead; the public `herdr` concept works this way because upstream states no licence. Some licensed upstream snapshots stay under `docs/research/raw/ingested/` as immutable evidence, under their own terms.
|