Update skills to use mcptools scripts instead of direct 9p
This commit is contained in:
parent
7028bcd3e3
commit
79871f2e78
|
|
@ -11,9 +11,9 @@ when_to_load: Load when you need to send messages to other agents, respond to th
|
|||
|
||||
Use `execute_code` tool with these commands:
|
||||
|
||||
- List agents: `9p read agent/tools/agents/list_sessions.sh | bash`
|
||||
- Send message: `9p read agent/tools/messaging/send_message.sh | bash -s FROM TO TYPE SUBJECT BODY`
|
||||
- Check inbox: `9p read agent/tools/messaging/read_inbox.sh | bash -s AGENT_ID`
|
||||
- List agents: `list_sessions.sh`
|
||||
- Send message: `send_message.sh FROM TO TYPE SUBJECT BODY`
|
||||
- Check inbox: `read_inbox.sh AGENT_ID`
|
||||
|
||||
## Use Cases
|
||||
|
||||
|
|
|
|||
|
|
@ -13,35 +13,35 @@ Hierarchical task tracking via 9P. Persists to Dolt immediately.
|
|||
Find your project's beads mount:
|
||||
```bash
|
||||
MY_CWD=$(pwd)
|
||||
MOUNT=$(9p read agent/beads/mtab | grep "$MY_CWD" | awk '{print $1}')
|
||||
BEADS_PATH="agent/beads/$MOUNT"
|
||||
MOUNT=$(list_mounts.sh | grep "$MY_CWD" | awk '{print $1}')
|
||||
```
|
||||
|
||||
Use `$BEADS_PATH` for all operations below instead of `agent/beads`.
|
||||
If no mount exists, create one:
|
||||
```bash
|
||||
mount_beads.sh "$MY_CWD"
|
||||
```
|
||||
|
||||
## Commands
|
||||
|
||||
All via `9p write $BEADS_PATH/ctl`:
|
||||
- `claim bd-abc $AGENT_ID` - claim and start
|
||||
- `complete bd-abc` - finish
|
||||
- `fail bd-abc "reason"` - fail with reason
|
||||
- `new "title" "desc" [parent]` - create (child if parent given)
|
||||
- `update bd-abc <field> <value>` - modify field
|
||||
- `dep <child> <parent>` - add blocker
|
||||
- `comment bd-abc "text"` - leave context
|
||||
- `label bd-abc <label>` - tag
|
||||
- `delete bd-abc` - delete (does NOT cascade to children)
|
||||
- `claim_bead.sh bd-abc [$AGENT_ID]` - claim and start
|
||||
- `complete_bead.sh bd-abc` - finish
|
||||
- `fail_bead.sh bd-abc "reason"` - fail with reason
|
||||
- `create_bead.sh "title" "desc" [parent]` - create (child if parent given)
|
||||
- `update_bead.sh bd-abc <field> <value>` - modify field
|
||||
- `add_dependency.sh <child> <parent>` - add blocker
|
||||
- `comment_bead.sh bd-abc "text"` - leave context
|
||||
- `label_bead.sh bd-abc <label>` - tag
|
||||
- `delete_bead.sh bd-abc` - delete (does NOT cascade to children)
|
||||
|
||||
**Note:** Delete does not cascade. To delete a parent and all children, delete children first, then parent.
|
||||
|
||||
## Queries
|
||||
|
||||
All via `9p read`:
|
||||
- `$BEADS_PATH/ready` - unblocked work
|
||||
- `$BEADS_PATH/<id>/json` - single bead
|
||||
- `$BEADS_PATH/children/<id>` - child beads
|
||||
- `$BEADS_PATH/search/<term>` - search
|
||||
- `$BEADS_PATH/<id>/events` - history
|
||||
- `list_ready_beads.sh` - unblocked work
|
||||
- `read_bead.sh <id> json` - single bead
|
||||
- `read_bead.sh children <id>` - child beads
|
||||
- `read_bead.sh search <term>` - search
|
||||
- `read_bead.sh <id> events` - history
|
||||
|
||||
## Workflow
|
||||
|
||||
|
|
|
|||
Reference in New Issue