hail-hydra-cc 2.3.0 → 2.3.2
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/README.md +99 -99
- package/bin/cli.js +105 -105
- package/files/SKILL.md +1217 -1174
- package/files/agents/hydra-analyst.md +159 -145
- package/files/agents/hydra-coder.md +137 -123
- package/files/agents/hydra-git.md +148 -130
- package/files/agents/hydra-guard.md +153 -135
- package/files/agents/hydra-preflight.md +22 -0
- package/files/agents/hydra-runner.md +107 -93
- package/files/agents/hydra-scout.md +241 -227
- package/files/agents/hydra-scribe.md +98 -84
- package/files/agents/hydra-sentinel-scan.md +242 -236
- package/files/agents/hydra-sentinel.md +210 -192
- package/files/commands/hydra/config.md +37 -37
- package/files/commands/hydra/guard.md +71 -71
- package/files/commands/hydra/help.md +47 -46
- package/files/commands/hydra/quiet.md +16 -16
- package/files/commands/hydra/stats.md +62 -121
- package/files/commands/hydra/status.md +85 -85
- package/files/commands/hydra/stfu.md +21 -0
- package/files/commands/hydra/verbose.md +29 -29
- package/files/hooks/hydra-auto-guard.js +54 -54
- package/files/hooks/hydra-check-update.js +99 -99
- package/files/hooks/hydra-statusline.js +128 -94
- package/files/hooks/hydra-token-math.js +163 -0
- package/files/references/model-capabilities.md +164 -164
- package/files/references/routing-guide.md +303 -303
- package/files/skills/stfu-agents/SKILL.md +59 -0
- package/package.json +1 -1
- package/src/files.js +106 -105
- package/src/installer.js +393 -393
- package/src/prompts.js +80 -80
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: STFU Agents
|
|
3
|
+
description: >
|
|
4
|
+
Apply internal-thinking compression to every subagent dispatched in this
|
|
5
|
+
session. Reduces wasted tokens in subagent context windows that the
|
|
6
|
+
orchestrator never reads. Works on any subagent — Hydra's, third-party,
|
|
7
|
+
or Claude Code's built-in agents. Opt-in; session-scoped; runtime-only.
|
|
8
|
+
trigger: /hydra:stfu OR /skills stfu-agents OR user says "STFU agents",
|
|
9
|
+
"shut up agents", "quiet agents", or "compress all agents"
|
|
10
|
+
---
|
|
11
|
+
|
|
12
|
+
# STFU-Agents Mode
|
|
13
|
+
|
|
14
|
+
When this skill is active, the orchestrator (Opus) prepends an internal-thinking compression directive to EVERY Task tool dispatch — regardless of which agent.
|
|
15
|
+
|
|
16
|
+
## Behavior — Orchestrator (Opus)
|
|
17
|
+
|
|
18
|
+
When dispatching any subagent via the Task tool, prepend this directive to the `prompt` argument:
|
|
19
|
+
|
|
20
|
+
```
|
|
21
|
+
[INTERNAL-COMPRESSION DIRECTIVE — STFU-Agents mode active]
|
|
22
|
+
Your internal reasoning is billed but never read — only your final summary returns to the orchestrator. Therefore:
|
|
23
|
+
1. Skip preambles ("Let me…", "I'll examine…", "First I need to…")
|
|
24
|
+
2. Skip step announcements ("Step 1:", "Now let me…")
|
|
25
|
+
3. Skip transition prose between tool calls
|
|
26
|
+
4. Skip restatements of tool outputs (they're already in your context)
|
|
27
|
+
5. Act first, summarize at the end
|
|
28
|
+
Maintain whatever output format your role requires. Just keep the path from task → output terse internally.
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## Activation
|
|
32
|
+
- `/hydra:stfu`
|
|
33
|
+
- `/skills stfu-agents` or `/skills STFU Agents`
|
|
34
|
+
- Natural language: "STFU agents", "shut up agents", "quiet agents", "compress all agents"
|
|
35
|
+
|
|
36
|
+
## Scope
|
|
37
|
+
- Hydra's own subagents (already have Tier 3 — harmless reinforcement)
|
|
38
|
+
- Third-party subagents installed by the user
|
|
39
|
+
- Claude Code's built-in subagents (Explore, etc.)
|
|
40
|
+
- User-defined custom subagents
|
|
41
|
+
|
|
42
|
+
Does NOT apply to:
|
|
43
|
+
- The main orchestrator (Opus) — orchestrator follows SKILL.md's own response rules
|
|
44
|
+
- Direct user-facing responses
|
|
45
|
+
|
|
46
|
+
## Deactivation
|
|
47
|
+
- `/skills` (clear active skills)
|
|
48
|
+
- Natural language: "verbose agents", "stop STFU"
|
|
49
|
+
|
|
50
|
+
## When NOT to use
|
|
51
|
+
- Debugging a subagent's behavior (you want to see its reasoning)
|
|
52
|
+
- Teaching the user how subagents work
|
|
53
|
+
- User explicitly asked for verbose mode
|
|
54
|
+
|
|
55
|
+
## Compatibility
|
|
56
|
+
Purely additive at runtime. No agent files modified. If a subagent ignores the directive, no harm done — falls back to baseline. Coexists with any other skill or framework.
|
|
57
|
+
|
|
58
|
+
## Risk Disclosure
|
|
59
|
+
STFU-Agents adds a directive to subagents Hydra does not own. While the directive is additive and harmless in principle, it has not been tested against every possible subagent definition. Activate explicitly; deactivate if anything looks off.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hail-hydra-cc",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"description": "Multi-agent orchestration framework for Claude Code. Routes tasks to specialized Haiku/Sonnet subagents while Opus orchestrates — inspired by speculative decoding. ~50% API cost reduction.",
|
|
5
5
|
"bin": {
|
|
6
6
|
"hail-hydra-cc": "bin/cli.js"
|
package/src/files.js
CHANGED
|
@@ -1,105 +1,106 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* All Hydra framework files are bundled inside the npm package under the
|
|
5
|
-
* files/ directory. Reading them at require-time guarantees:
|
|
6
|
-
* - No network requests — works fully offline
|
|
7
|
-
* - No write-time escaping headaches for markdown content
|
|
8
|
-
* - Standard npm bundling via the "files" field in package.json
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
const fs = require('fs');
|
|
12
|
-
const path = require('path');
|
|
13
|
-
|
|
14
|
-
const FILES_DIR = path.join(__dirname, '..', 'files');
|
|
15
|
-
|
|
16
|
-
function readBundled(relPath) {
|
|
17
|
-
return fs.readFileSync(path.join(FILES_DIR, relPath), 'utf8');
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
const agents = {
|
|
21
|
-
'hydra-scout': {
|
|
22
|
-
content: readBundled('agents/hydra-scout.md'),
|
|
23
|
-
model: 'Haiku',
|
|
24
|
-
display: 'hydra-scout (Haiku) — Codebase exploration',
|
|
25
|
-
},
|
|
26
|
-
'hydra-runner': {
|
|
27
|
-
content: readBundled('agents/hydra-runner.md'),
|
|
28
|
-
model: 'Haiku',
|
|
29
|
-
display: 'hydra-runner (Haiku) — Test execution & validation',
|
|
30
|
-
},
|
|
31
|
-
'hydra-scribe': {
|
|
32
|
-
content: readBundled('agents/hydra-scribe.md'),
|
|
33
|
-
model: 'Haiku',
|
|
34
|
-
display: 'hydra-scribe (Haiku) — Documentation writing',
|
|
35
|
-
},
|
|
36
|
-
'hydra-coder': {
|
|
37
|
-
content: readBundled('agents/hydra-coder.md'),
|
|
38
|
-
model: 'Sonnet',
|
|
39
|
-
display: 'hydra-coder (Sonnet) — Code implementation',
|
|
40
|
-
},
|
|
41
|
-
'hydra-analyst': {
|
|
42
|
-
content: readBundled('agents/hydra-analyst.md'),
|
|
43
|
-
model: 'Sonnet',
|
|
44
|
-
display: 'hydra-analyst (Sonnet) — Code review & debugging',
|
|
45
|
-
},
|
|
46
|
-
'hydra-guard': {
|
|
47
|
-
content: readBundled('agents/hydra-guard.md'),
|
|
48
|
-
model: 'Haiku',
|
|
49
|
-
display: 'hydra-guard (Haiku) — Auto-protection & safety',
|
|
50
|
-
},
|
|
51
|
-
'hydra-git': {
|
|
52
|
-
content: readBundled('agents/hydra-git.md'),
|
|
53
|
-
model: 'Haiku',
|
|
54
|
-
display: 'hydra-git (Haiku) — Git operations',
|
|
55
|
-
},
|
|
56
|
-
'hydra-sentinel-scan': {
|
|
57
|
-
content: readBundled('agents/hydra-sentinel-scan.md'),
|
|
58
|
-
model: 'Haiku',
|
|
59
|
-
display: 'hydra-sentinel-scan (Haiku) — Fast integration sweep',
|
|
60
|
-
},
|
|
61
|
-
'hydra-sentinel': {
|
|
62
|
-
content: readBundled('agents/hydra-sentinel.md'),
|
|
63
|
-
model: 'Sonnet',
|
|
64
|
-
display: 'hydra-sentinel (Sonnet) — Deep integration analysis',
|
|
65
|
-
},
|
|
66
|
-
'hydra-preflight': {
|
|
67
|
-
content: readBundled('agents/hydra-preflight.md'),
|
|
68
|
-
model: 'Haiku',
|
|
69
|
-
display: 'hydra-preflight (Haiku) — Environment preflight check',
|
|
70
|
-
},
|
|
71
|
-
};
|
|
72
|
-
|
|
73
|
-
const skill = readBundled('SKILL.md');
|
|
74
|
-
|
|
75
|
-
const references = {
|
|
76
|
-
'routing-guide': readBundled('references/routing-guide.md'),
|
|
77
|
-
'model-capabilities': readBundled('references/model-capabilities.md'),
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
const commands = {
|
|
81
|
-
'update': readBundled('commands/hydra/update.md'),
|
|
82
|
-
'status': readBundled('commands/hydra/status.md'),
|
|
83
|
-
'help': readBundled('commands/hydra/help.md'),
|
|
84
|
-
'config': readBundled('commands/hydra/config.md'),
|
|
85
|
-
'guard': readBundled('commands/hydra/guard.md'),
|
|
86
|
-
'quiet': readBundled('commands/hydra/quiet.md'),
|
|
87
|
-
'verbose': readBundled('commands/hydra/verbose.md'),
|
|
88
|
-
'report': readBundled('commands/hydra/report.md'),
|
|
89
|
-
'map': readBundled('commands/hydra/map.md'),
|
|
90
|
-
'preflight': readBundled('commands/hydra/preflight.md'),
|
|
91
|
-
'stats': readBundled('commands/hydra/stats.md'),
|
|
92
|
-
};
|
|
93
|
-
|
|
94
|
-
const hooks = {
|
|
95
|
-
'hydra-check-update': readBundled('hooks/hydra-check-update.js'),
|
|
96
|
-
'hydra-statusline': readBundled('hooks/hydra-statusline.js'),
|
|
97
|
-
'hydra-
|
|
98
|
-
'hydra-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* All Hydra framework files are bundled inside the npm package under the
|
|
5
|
+
* files/ directory. Reading them at require-time guarantees:
|
|
6
|
+
* - No network requests — works fully offline
|
|
7
|
+
* - No write-time escaping headaches for markdown content
|
|
8
|
+
* - Standard npm bundling via the "files" field in package.json
|
|
9
|
+
*/
|
|
10
|
+
|
|
11
|
+
const fs = require('fs');
|
|
12
|
+
const path = require('path');
|
|
13
|
+
|
|
14
|
+
const FILES_DIR = path.join(__dirname, '..', 'files');
|
|
15
|
+
|
|
16
|
+
function readBundled(relPath) {
|
|
17
|
+
return fs.readFileSync(path.join(FILES_DIR, relPath), 'utf8');
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
const agents = {
|
|
21
|
+
'hydra-scout': {
|
|
22
|
+
content: readBundled('agents/hydra-scout.md'),
|
|
23
|
+
model: 'Haiku',
|
|
24
|
+
display: 'hydra-scout (Haiku) — Codebase exploration',
|
|
25
|
+
},
|
|
26
|
+
'hydra-runner': {
|
|
27
|
+
content: readBundled('agents/hydra-runner.md'),
|
|
28
|
+
model: 'Haiku',
|
|
29
|
+
display: 'hydra-runner (Haiku) — Test execution & validation',
|
|
30
|
+
},
|
|
31
|
+
'hydra-scribe': {
|
|
32
|
+
content: readBundled('agents/hydra-scribe.md'),
|
|
33
|
+
model: 'Haiku',
|
|
34
|
+
display: 'hydra-scribe (Haiku) — Documentation writing',
|
|
35
|
+
},
|
|
36
|
+
'hydra-coder': {
|
|
37
|
+
content: readBundled('agents/hydra-coder.md'),
|
|
38
|
+
model: 'Sonnet',
|
|
39
|
+
display: 'hydra-coder (Sonnet) — Code implementation',
|
|
40
|
+
},
|
|
41
|
+
'hydra-analyst': {
|
|
42
|
+
content: readBundled('agents/hydra-analyst.md'),
|
|
43
|
+
model: 'Sonnet',
|
|
44
|
+
display: 'hydra-analyst (Sonnet) — Code review & debugging',
|
|
45
|
+
},
|
|
46
|
+
'hydra-guard': {
|
|
47
|
+
content: readBundled('agents/hydra-guard.md'),
|
|
48
|
+
model: 'Haiku',
|
|
49
|
+
display: 'hydra-guard (Haiku) — Auto-protection & safety',
|
|
50
|
+
},
|
|
51
|
+
'hydra-git': {
|
|
52
|
+
content: readBundled('agents/hydra-git.md'),
|
|
53
|
+
model: 'Haiku',
|
|
54
|
+
display: 'hydra-git (Haiku) — Git operations',
|
|
55
|
+
},
|
|
56
|
+
'hydra-sentinel-scan': {
|
|
57
|
+
content: readBundled('agents/hydra-sentinel-scan.md'),
|
|
58
|
+
model: 'Haiku',
|
|
59
|
+
display: 'hydra-sentinel-scan (Haiku) — Fast integration sweep',
|
|
60
|
+
},
|
|
61
|
+
'hydra-sentinel': {
|
|
62
|
+
content: readBundled('agents/hydra-sentinel.md'),
|
|
63
|
+
model: 'Sonnet',
|
|
64
|
+
display: 'hydra-sentinel (Sonnet) — Deep integration analysis',
|
|
65
|
+
},
|
|
66
|
+
'hydra-preflight': {
|
|
67
|
+
content: readBundled('agents/hydra-preflight.md'),
|
|
68
|
+
model: 'Haiku',
|
|
69
|
+
display: 'hydra-preflight (Haiku) — Environment preflight check',
|
|
70
|
+
},
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
const skill = readBundled('SKILL.md');
|
|
74
|
+
|
|
75
|
+
const references = {
|
|
76
|
+
'routing-guide': readBundled('references/routing-guide.md'),
|
|
77
|
+
'model-capabilities': readBundled('references/model-capabilities.md'),
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
const commands = {
|
|
81
|
+
'update': readBundled('commands/hydra/update.md'),
|
|
82
|
+
'status': readBundled('commands/hydra/status.md'),
|
|
83
|
+
'help': readBundled('commands/hydra/help.md'),
|
|
84
|
+
'config': readBundled('commands/hydra/config.md'),
|
|
85
|
+
'guard': readBundled('commands/hydra/guard.md'),
|
|
86
|
+
'quiet': readBundled('commands/hydra/quiet.md'),
|
|
87
|
+
'verbose': readBundled('commands/hydra/verbose.md'),
|
|
88
|
+
'report': readBundled('commands/hydra/report.md'),
|
|
89
|
+
'map': readBundled('commands/hydra/map.md'),
|
|
90
|
+
'preflight': readBundled('commands/hydra/preflight.md'),
|
|
91
|
+
'stats': readBundled('commands/hydra/stats.md'),
|
|
92
|
+
};
|
|
93
|
+
|
|
94
|
+
const hooks = {
|
|
95
|
+
'hydra-check-update': readBundled('hooks/hydra-check-update.js'),
|
|
96
|
+
'hydra-statusline': readBundled('hooks/hydra-statusline.js'),
|
|
97
|
+
'hydra-token-math': readBundled('hooks/hydra-token-math.js'),
|
|
98
|
+
'hydra-auto-guard': readBundled('hooks/hydra-auto-guard.js'),
|
|
99
|
+
'hydra-notify': readBundled('hooks/hydra-notify.js'),
|
|
100
|
+
};
|
|
101
|
+
|
|
102
|
+
const binaryHooks = {
|
|
103
|
+
'hydra-task-complete.wav': path.join(FILES_DIR, 'hooks', 'hydra-task-complete.wav'),
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
module.exports = { agents, skill, references, commands, hooks, binaryHooks };
|