Agent skill
agent-teams-subagent-startup-convention
Sub-skill of agent-teams: Subagent startup convention (+2).
Install this agent skill to your Project
npx add-skill https://github.com/vamseeachanta/workspace-hub/tree/main/.claude/skills/_archive/workspace-hub/agent-teams/subagent-startup-convention
SKILL.md
Subagent startup convention (+2)
Subagent startup convention
Set this as the first Bash call in every non-trivial subagent session:
export CLAUDE_SUBAGENT=1
Hook behaviour by context
| Hook | Main session | Subagent | Reason |
|---|---|---|---|
session-review.sh |
Runs | Runs | Writes signals to pending-reviews/ |
post-task-review.sh |
Runs | Runs | Captures findings to pending-reviews/ |
consume-signals.sh |
Runs | Runs | Processes signals into session-briefing |
improve.sh |
Runs | Skipped | Narrow context produces low-quality output |
query-quota.sh |
Runs | Skipped | Quota tracking is main-session only |
The shared .claude/state/pending-reviews/ directory is the passive message
bus. Subagents write signals via the lighter hooks; the main session's Stop
drains them all via consume-signals.sh → improve.sh at session end.
Result
Main orchestrator stays lean and interactive. User can inject messages and redirect subagents mid-flight. Learnings accumulate in the background without adding any overhead to the orchestrator between Task completions.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
gsd-complete-milestone
Archive completed milestone and prepare for next version
gsd-reapply-patches
Reapply local modifications after a GSD update
gsd-verify-work
Validate built features through conversational UAT
gsd-thread
Manage persistent context threads for cross-session work
clinical-trial-protocol
Generate clinical trial protocols for medical devices or drugs through a modular, waypoint-based architecture with research-only and full protocol modes.
single-cell-rna-qc
Performs quality control on single-cell RNA-seq data (.h5ad or .h5 files) using scverse best practices with MAD-based filtering and comprehensive visualizations.
Didn't find tool you were looking for?