@shadowclone/skills 0.0.52 → 0.0.53
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/package.json
CHANGED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: shadowclone-projects
|
|
3
|
+
description: 'Use when a user wants two local coding sessions to work together. Requests include "ask Codex to check this" and "let me talk to the worker". Use the current IDE, the selected harness and the shadowclone project tools to delegate, read replies and keep project files. Not for taking a change through pull request checks (use `shadowclone-work`).'
|
|
4
|
+
metadata:
|
|
5
|
+
shadowclone-category: workflow
|
|
6
|
+
shadowclone-section: workflow
|
|
7
|
+
shadowclone-applies-when: when the user asks local agents to share a project or delegate across harnesses
|
|
8
|
+
shadowclone-always-on: "true"
|
|
9
|
+
---
|
|
10
|
+
# Shadowclone Projects
|
|
11
|
+
|
|
12
|
+
## Use when
|
|
13
|
+
|
|
14
|
+
The user wants to keep working in the current IDE and involve another agent. A project holds the goal, worker threads, decisions and files.
|
|
15
|
+
|
|
16
|
+
## Gates
|
|
17
|
+
|
|
18
|
+
1. Identify the requested harness, local directory and task.
|
|
19
|
+
2. Check which project tools the current session exposes.
|
|
20
|
+
3. Use the owner's selected role and project. Keep session credentials in the selected session.
|
|
21
|
+
|
|
22
|
+
## Process
|
|
23
|
+
|
|
24
|
+
1. From native chat, call `shadowclone_project` with operation `open` for setup instructions. Use the names your client gives the two project tools.
|
|
25
|
+
2. For initial setup, direct the owner to `shadowclone project tui` inside their IDE terminal or `shadowclone project open` for the board.
|
|
26
|
+
3. Prefer the session the owner already opened. If the owner requests a new session, use the host’s launcher in the project directory.
|
|
27
|
+
- In Rex, use `rex new --cwd "$PWD" -- codex` for Codex.
|
|
28
|
+
- In cmux, use `cmux new-surface --type terminal --working-directory "$PWD" --command codex` in the selected workspace.
|
|
29
|
+
- For Claude Code, use `claude` in the same command. For another harness, verify its installed launcher first.
|
|
30
|
+
4. In T3 Code, use its provider picker or its authorized orchestration tools to open a thread. Keep that thread in T3 Code. Check that the thread has the local shadowclone MCP server.
|
|
31
|
+
5. For a hookless agent, the owner selects **IDE agent (MCP)** and **Get join code**. Use the owner’s code or native hook invitation with operation `join`. Keep the returned member key out of chat replies and project files.
|
|
32
|
+
6. Read the project with `shadowclone_project_work` and action `read`. Use the project ID and member key from the join.
|
|
33
|
+
7. As lead, use session operation `start` for a missing worker when the owner enabled local launch. The built-in launcher starts Claude Code or Codex in tmux.
|
|
34
|
+
8. Give the worker one bounded step with work action `assign`. Use the returned thread ID. Reuse the request ID when retrying the same action.
|
|
35
|
+
9. As worker, read `inbox`, acknowledge the event with `ack`, then `claim` and `report` on its thread. Use the current assignment attempt.
|
|
36
|
+
10. Send direct replies with `message`, the incoming thread ID and `replyTo`. Use `ask` for an owner decision. Use `publish` for a plan or evidence.
|
|
37
|
+
11. Use `wait` for further messages during an active turn. An idle session may need a new native turn to read its inbox.
|
|
38
|
+
|
|
39
|
+
## Example
|
|
40
|
+
|
|
41
|
+
**Situation:** The user asks Claude in Rex to have Codex check a cart calculation.
|
|
42
|
+
**Easy route:** Open another copy of Codex without checking the project.
|
|
43
|
+
**Hidden cost:** The user can end up with two workers and no report in the intended thread.
|
|
44
|
+
**Best route:** Attach the existing Codex session. Assign the calculation and link the result to the same thread.
|
|
45
|
+
**Evidence:** The worker claims the assignment. The persisted report identifies that thread and appears in the lead conversation.
|
|
46
|
+
|
|
47
|
+
## Guardrails
|
|
48
|
+
|
|
49
|
+
Use the host's actual provider list and its native permissions. If it cannot launch the requested harness, explain which connection it needs. Shell access alone does not grant a project role. Never use the owner CLI to impersonate a participant.
|
|
50
|
+
|
|
51
|
+
## Completion
|
|
52
|
+
|
|
53
|
+
- Give the worker's result and thread title. Identify any pending decision.
|
|
54
|
+
- To talk directly, open the worker thread in the board or terminal. The native sessions stay in their original application.
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "Keep the package installation command when rewriting an instruction.",
|
|
3
|
+
"input": "Rewrite this instruction in plain English: It is necessary to utilize the command `bun install` to install the packages.",
|
|
4
|
+
"standard": {
|
|
5
|
+
"text": {
|
|
6
|
+
"$contains": "bun install"
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
}
|