dead-code
Prompts · Python · v0.1.0
Find unused functions and dead code in the codebase
#agents#claude-code#claude-code-cli
Spawn Agentica multi-agent patterns
by parcadei · updated 8mo ago · imported from GitHub
Use this skill after user selects an Agentica pattern.
swarm = Swarm(
perspectives=[
"Security expert analyzing for vulnerabilities",
"Performance expert optimizing for speed",
"Architecture expert reviewing design"
],
aggregate_mode=AggregateMode.MERGE,
)
result = await swarm.execute(task_description)
hierarchical = Hierarchical(
coordinator_premise="You break tasks into subtasks",
specialist_premises={
"planner": "You create implementation plans",
"implementer": "You write code",
"reviewer": "You review code for issues"
},
)
result = await hierarchical.execute(task_description)
gc = GeneratorCritic(
generator_premise="You generate solutions",
critic_premise="You critique and suggest improvements",
max_rounds=3,
)
result = await gc.run(task_description)
jury = Jury(
num_jurors=5,
consensus_mode=ConsensusMode.MAJORITY,
premise="You evaluate the solution"
)
verdict = await jury.decide(bool, question)
All spawned agents receive:
SWARM_ID: Unique identifier for this swarm runAGENT_ROLE: Role within the pattern (coordinator, specialist, etc.)PATTERN_TYPE: Which pattern is runningNo comments yet — start the thread.
Sign in to join the discussion.
Prompts · Python · v0.1.0
Find unused functions and dead code in the codebase
#agents#claude-code#claude-code-cli
Prompts · Python · v0.1.0
Agent Context Isolation
#agents#claude-code#claude-code-cli
Prompts · Python · v0.1.0
Agent Orchestration Rules
#agents#claude-code#claude-code-cli
Prompts · Python · v0.1.0
Agentic Workflow Pattern
#agents#claude-code#claude-code-cli