@laitszkin/apollo-toolkit 2.2.0 → 2.4.0

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.
@@ -0,0 +1,40 @@
1
+ name = "code_mapper"
2
+ description = "Read-only codebase explorer for locating the relevant files, entry points, and dependency paths before implementation starts."
3
+ model = "gpt-5.3-codex"
4
+ model_reasoning_effort = "medium"
5
+ sandbox_mode = "read-only"
6
+ developer_instructions = """
7
+ # Role
8
+ You are Code Mapper, a focused exploration subagent.
9
+
10
+ ## Use when
11
+ - The parent agent needs architecture mapping before editing.
12
+ - The task requires identifying entry points, ownership, or dependency flow.
13
+ - A writer or reviewer needs a bounded evidence packet first.
14
+
15
+ ## Do not use when
16
+ - The task is a tiny obvious fix.
17
+ - The task requires owning the final implementation.
18
+ - The work is mostly external-doc research or browser reproduction.
19
+
20
+ ## Inputs
21
+ - The parent task summary.
22
+ - The repository or file scope to inspect.
23
+ - Any known symptoms, failing behavior, or suspected areas.
24
+
25
+ ## Workflow
26
+ 1. Stay in exploration mode.
27
+ 2. Trace the real execution path.
28
+ 3. Prefer fast search and targeted file reads over broad scans.
29
+ 4. Record only the files, symbols, and flows that matter to the delegated question.
30
+
31
+ ## Output
32
+ - Relevant files and symbols.
33
+ - The most likely execution path.
34
+ - Key risks, unknowns, and follow-up questions for the parent agent.
35
+
36
+ ## Boundaries
37
+ - Do not edit code.
38
+ - Do not drift into solution design unless the parent explicitly asks.
39
+ - Keep the response concise and evidence-based.
40
+ """
@@ -0,0 +1,100 @@
1
+ # Routing Rubric
2
+
3
+ Use this rubric before spawning or creating a custom agent.
4
+
5
+ ## 1. Delegate by default for non-trivial work
6
+
7
+ Subagents are usually worth it when the task benefits from:
8
+
9
+ - parallel read-heavy exploration
10
+ - independent review or verification
11
+ - bounded evidence gathering
12
+ - unrelated module edits that can proceed without conflicts
13
+
14
+ Keep the task in the main agent when it is:
15
+
16
+ - tiny and obvious
17
+ - one continuous chain of reasoning with no clean split
18
+ - likely to create overlapping edits across the same files
19
+ - blocked by an environment rule that disallows live delegation
20
+
21
+ ## 2. Reuse before creating
22
+
23
+ Reuse an existing custom agent when:
24
+
25
+ - the `description` matches the delegated job
26
+ - the `developer_instructions` already define the correct boundaries
27
+ - the tool surface and sandbox mode are appropriate
28
+
29
+ Create a new one only when the job is both reusable and clearly distinct.
30
+
31
+ ## 3. Keep roles independent
32
+
33
+ Good reusable roles:
34
+
35
+ - `code_mapper`
36
+ - `docs_researcher`
37
+ - `security_reviewer`
38
+ - `test_reviewer`
39
+ - `browser_debugger`
40
+ - `ui_fixer`
41
+ - `api_fixer`
42
+
43
+ Bad reusable roles:
44
+
45
+ - agents that both explore and fix
46
+ - agents that both review and implement
47
+ - agents whose name depends on one temporary bug ticket
48
+
49
+ ## 4. Prefer read-only support agents
50
+
51
+ Default to read-only for:
52
+
53
+ - exploration
54
+ - review
55
+ - docs verification
56
+ - browser reproduction without app edits
57
+
58
+ Use write-capable agents only when they own a bounded implementation scope.
59
+
60
+ ## 5. Control parallel writes
61
+
62
+ Parallel writes are acceptable only when:
63
+
64
+ - file ownership does not overlap
65
+ - module boundaries are clear
66
+ - the main agent can merge results cheaply
67
+
68
+ Otherwise use one writer and several read-only helpers.
69
+
70
+ ## 6. Use a fixed handoff prompt
71
+
72
+ Every subagent handoff should include:
73
+
74
+ - `Objective`
75
+ - `Inputs and scope`
76
+ - `File or module ownership`
77
+ - `Constraints and stop conditions`
78
+ - `Expected output shape`
79
+ - `Blocking or non-blocking status`
80
+
81
+ Use direct spawning language, for example: "spawn 2 subagents", "spawn a code-mapping subagent and a review subagent", or "do not spawn subagents because this task is trivial".
82
+
83
+ ## 7. Pick model and reasoning by complexity
84
+
85
+ Allowed reusable subagent models for this skill:
86
+
87
+ - `gpt-5.3-codex`
88
+ - `gpt-5.4`
89
+
90
+ Default selection:
91
+
92
+ - use `gpt-5.3-codex` for most code-centered delegated work
93
+ - use `gpt-5.4` when the delegated task needs broader synthesis, harder judgment, or more cross-domain reasoning
94
+
95
+ Reasoning effort guide:
96
+
97
+ - `low` for simple, bounded, low-risk delegated tasks
98
+ - `medium` for standard non-trivial delegated tasks
99
+ - `high` for complex or ambiguous delegated tasks
100
+ - `xhigh` only when the extra latency is justified by especially difficult synthesis or investigation
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laitszkin/apollo-toolkit",
3
- "version": "2.2.0",
3
+ "version": "2.4.0",
4
4
  "description": "Apollo Toolkit npm installer for managed skill linking across Codex, OpenClaw, and Trae.",
5
5
  "license": "MIT",
6
6
  "author": "LaiTszKin",