shared▌
boshu2/agentops · updated Apr 8, 2026
MDX-style export adds YAML metadata + attribution linking explainx.ai and this canonical listing URL.
This directory contains shared reference documents used by multiple skills:
Shared References
This directory contains shared reference documents used by multiple skills:
validation-contract.md- Verification requirements for accepting spawned workreferences/claude-code-latest-features.md- Claude Code feature contract (slash commands, agent isolation, hooks, settings)references/backend-claude-teams.md- Concrete examples for Claude native teams (TeamCreate+SendMessage)references/backend-codex-subagents.md- Concrete examples for Codex CLI and Codex sub-agentsreferences/backend-background-tasks.md- Fallback:Task(run_in_background=true)references/backend-inline.md- Degraded single-agent mode (no spawn)references/claude-cli-verified-commands.md- Verified Claude CLI command shapes and caveatsreferences/codex-cli-verified-commands.md- Verified Codex CLI command shapes and caveatsreferences/cli-command-failures-2026-02-26.md- Dated failure log and mitigations from live runs
These are not directly invocable skills. They are loaded by other skills (council, crank, swarm, research, implement) when needed.
CLI Availability Pattern
All skills that reference external CLIs MUST degrade gracefully when those CLIs are absent.
Check Pattern
# Before using any external CLI, check availability
if command -v bd &>/dev/null; then
# Full behavior with bd
else
echo "Note: bd CLI not installed. Using plain text tracking."
# Fallback: use TaskList, plain markdown, or skip
fi
Fallback Table
| Capability | When Missing | Fallback Behavior |
|---|---|---|
bd |
Issue tracking unavailable | Use TaskList for tracking. Note "install bd for persistent issue tracking" |
ao |
Knowledge flywheel unavailable | Write learnings to .agents/learnings/ directly. Skip flywheel metrics |
gt |
Workspace management unavailable | Work in current directory. Skip convoy/sling operations |
codex |
CLI missing or model unavailable | Fall back to runtime-native agents. Council pre-flight checks CLI presence (which codex) and model availability for --mixed mode. |
cass |
Session search unavailable | Skip transcript search. Note "install cass for session history" |
| Model tier config | .agentops/config.yaml missing |
Use built-in defaults (quality=opus, balanced=sonnet, budget=haiku). Tier resolution falls through to "balanced". |
Required Multi-Agent Capabilities
Council, swarm, and crank require a runtime that provides these capabilities. If a capability is missing, the corresponding feature degrades.
| Capability | What it does | If missing |
|---|---|---|
| Spawn subagent | Create a parallel agent with a prompt | Cannot run multi-agent. Fall back to --quick (inline single-agent). |
| Agent-to-agent messaging | Send a message to a specific agent | No debate R2. Workers run fire-and-forget. |
| Broadcast | Message all agents at once | Per-agent messaging fallback. |
| Graceful shutdown | Request an agent to terminate | Agents terminate on their own when done. |
| Shared task list | Agents see shared work state | Lead tracks manually. |
Every runtime maps these capabilities to its own API. Skills describe WHAT to do, not WHICH tool to call.
After detecting your backend (see Backend Detection below), load the matching reference for concrete tool call examples:
| Backend | Reference |
|---|---|
| Claude feature contract | skills/shared/references/claude-code-latest-features.md |
| Claude Native Teams | skills/shared/references/backend-claude-teams.md |
| Codex Sub-Agents / CLI | skills/shared/references/backend-codex-subagents.md |
| Background Tasks (fallback) | skills/shared/references/backend-background-tasks.md |
| Inline (no spawn) | skills/shared/references/backend-inline.md |
Backend Detection
Use capability detection at runtime, not hardcoded tool names. The same skill must work across any agent harness that provides multi-agent primitives. If no multi-agent capability is detected, degrade to single-agent inline mode (--quick).
Selection policy (runtime-native first):
- If running in a Claude session and
TeamCreate/SendMessageare available, use Claude Native Teams as the primary backend. - If running in a Codex session and
spawn_agentis available, use Codex sub-agents as the primary backend. - If both are technically available, pick the backend native to the current runtime unless the user explicitly requests mixed/cross-vendor execution.
- Only use background tasks when neither native backend is available.
| Operation | Codex Sub-Agents | Claude Native Teams | OpenCode Subagents | Inline Fallback |
|---|---|---|---|---|
| Spawn | spawn_agent(message=...) |
TeamCreate + Task(team_name=...) |
task(subagent_type="general", prompt=...) |
Execute inline |
| Spawn (read-only) | spawn_agent(message=...) |
Task(subagent_type="Explore") |
task(subagent_type="explore", prompt=...) |
Execute inline |
| Wait | wait(ids=[...]) |
Completion via SendMessage |
Task returns result directly | N/A |
| Retry/follow-up | send_input(id=..., message=...) |
SendMessage(type="message", ...) |
task(task_id="<prior>", prompt=...) |
N/A |
| Cleanup | close_agent(id=...) |
shutdown_request + TeamDelete() |
None (sub-sessions auto-terminate) | N/A |
| Inter-agent messaging | send_input |
SendMessage |
Not available | N/A |
| Debate (R2) | Supported | Supported | Not supported (no messaging) | N/A |
OpenCode limitations:
- No inter-agent messaging — workers run as independent sub-sessions
- No debate mode (
--debate) — requires messaging between judges --quick(inline) mode works identically across all backends
Backend Capabilities Matrix
Prefer native teams over background tasks. Native teams provide messaging, redirect, and graceful shutdown. Background tasks are fire-and-forget with no steering — only a speedometer and emergency brake.
| Capability | Codex Sub-Agents | Claude Native Teams | Background Tasks |
|---|---|---|---|
| Observe output | wait() result |
SendMessage delivery |
TaskOutput (tail) |
| Send message mid-flight | send_input |
SendMessage |
NO |
| Pause / resume | NO | Idle → wake via SendMessage |
NO |
| Graceful stop | close_agent |
shutdown_request |
TaskStop (lossy) |
| Redirect to different task | send_input |
SendMessage |
NO |
| Adjust scope mid-flight | send_input |
SendMessage |
NO |
| File conflict prevention | Manual git worktree routing |
Native isolation: worktree + lead-only commits |
None |
| Process isolation | YES (sub-process) | Shared worktree | Shared worktree |
When to use each:
| Scenario | Backend |
|---|---|
| Quick parallel tasks, coordination needed | Claude Native Teams |
| Codex-specific execution | Codex Sub-Agents |
| No team APIs available (last resort) | Background Tasks |
Skill Invocation Across Runtimes
Skills that chain to other skills (e.g., /rpi calls /research, /vibe calls /council) MUST handle runtime differences:
| Runtime | Tool | Behavior | Pattern |
|---|---|---|---|
| Claude Code | Skill(skill="X", args="...") |
Executable — skill runs as a sub-invocation | Skill(skill="council", args="--quick validate recent") |
| Codex | N/A | Skills not available — inline the logic or skip | Check if Skill tool exists before calling |
| OpenCode | skill tool (read-only) |
Load-only — returns <skill_content> blocks into context |
Call skill(skill="council"), then follow the loaded instructions inline |
OpenCode skill chaining rules:
- Call the
skilltool to load the target skill's content into context - Read and follow the loaded instructions directly — do NOT expect automatic execution
- NEVER use slashcommand syntax (e.g.,
/council) in OpenCode — it triggers a command lookup, not skill loading - If the loaded skill references tools by Claude Code names, use OpenCode equivalents (see tool mapping below)
Cross-runtime tool mapping:
| Claude Code | OpenCode | Notes |
|---|---|---|
Task(subagent_type="...") |
task(subagent_type="...") |
Same semantics, different casing |
Skill(skill="X") |
skill tool (read-only) |
Load content, then follow inline |
AskUserQuestion |
question |
Same purpose, different name |
TaskCreate, TaskUpdate, TaskList, TaskGet |
todo |
Task tracking (Claude uses 4 tools, OpenCode uses 1) |
Read, Write, Edit, Bash, Glob, Grep |
Same names | Identical across runtimes |
Rules
- Never crash — missing CLI = skip or fallback, not error
- Always inform — tell the user what was skipped and how to enable it
- Preserve core function — the skill's primary purpose must still work without optional CLIs
- Progressive enhancement — CLIs add capabilities, their absence removes them cleanly
Reference Documents
- references/content-hash-cache.md
- references/compaction-signals.md
- references/backend-background-tasks.md
- references/backend-claude-teams.md
- references/backend-codex-subagents.md
- references/backend-inline.md
- references/claude-code-latest-features.md
- references/claude-cli-verified-commands.md
- references/codex-cli-verified-commands.md
- references/cli-command-failures-2026-02-26.md
- references/ralph-loop-contract.md
- references/orchestration-as-prompt.md
How to use shared on Cursor
AI-first code editor with Composer
Prerequisites
Before installing skills in Cursor, ensure your development environment meets these requirements:
- ›Cursor installed and configured on your development machine
- ›Node.js version 16.0+ with npm package manager (verify with
node --version) - ›Active project directory or workspace where you want to add shared
Execute installation command
Execute the skills CLI command in your project's root directory to begin installation:
The skills CLI fetches shared from GitHub repository boshu2/agentops and configures it for Cursor.
Select Cursor when prompted
The CLI will show a list of available agents. Use arrow keys to navigate and space to select Cursor:
Verify installation
Confirm successful installation by checking the skill directory location:
Reload or restart Cursor to activate shared. Access the skill through slash commands (e.g., /shared) or your agent's skill management interface.
Security & Verification Notice
We perform automated surface-level scans (Gen AI Scanner, Socket, Snyk) during installation. These checks detect common vulnerabilities but do not guarantee complete security. Always review skill source code and verify the publisher's reputation before production use.
Skills execute code in your development environment. Always verify the publisher's identity, review recent commits, and test in isolated environments before production deployment.
List & Monetize Your Skill
Submit your Claude Code skill and start earning
Use Cases▌
User Story & Requirements Generation
Create detailed user stories, acceptance criteria, and feature specs
Example
Generate user stories for 'password reset feature' with acceptance criteria, edge cases, and test scenarios
Reduce spec writing time by 50%, ensure comprehensive coverage
Competitive Analysis
Research competitors, compare features, identify gaps
Example
Analyze 5 competitor products, create feature comparison matrix, suggest differentiation opportunities
Complete competitive research in 2 hours instead of 2 days
Roadmap Prioritization
Evaluate features using frameworks (RICE, ICE, Kano) and create prioritized backlogs
Example
Score 20 feature ideas using RICE framework, generate prioritized roadmap with rationale
Make data-driven prioritization decisions faster
Stakeholder Communication
Draft PRDs, status updates, and stakeholder presentations
Example
Create executive summary of Q3 roadmap, monthly progress report, feature launch announcement
Save 3-5 hours/week on communication overhead
Implementation Guide▌
Prerequisites
- ›Claude Desktop or compatible AI client
- ›Access to product documentation and roadmap tools (Jira, Notion, etc.)
- ›Understanding of product management frameworks (RICE, Jobs-to-be-Done, etc.)
- ›Stakeholder contact information and communication channels
Time Estimate
30-60 minutes to see productivity improvements
Installation Steps
- 1.Install product management skill
- 2.Start with user story generation for known feature
- 3.Progress to competitive analysis: research 2-3 competitors
- 4.Use for roadmap prioritization: apply RICE/ICE scoring
- 5.Draft stakeholder communications and refine based on feedback
- 6.Build template library for recurring PM tasks
- 7.Share effective prompts with product team
Common Pitfalls
- ⚠Not validating competitive research—verify facts before sharing
- ⚠Accepting user stories without involving engineering team
- ⚠Over-relying on frameworks without qualitative judgment
- ⚠Not customizing outputs to company culture and communication style
- ⚠Skipping stakeholder validation of generated requirements
Best Practices▌
✓ Do
- +Validate research and competitive analysis with real data
- +Collaborate with engineering when generating technical requirements
- +Customize frameworks and templates to your company context
- +Use skill for first drafts, refine with stakeholder input
- +Document successful prompt patterns for PM tasks
- +Combine AI efficiency with human judgment and intuition
✗ Don't
- −Don't publish competitive analysis without fact-checking
- −Don't finalize user stories without engineering review
- −Don't make prioritization decisions solely on AI scoring
- −Don't skip customer validation of generated requirements
- −Don't ignore company-specific context and culture
💡 Pro Tips
- ★Provide context: company goals, constraints, customer feedback
- ★Ask for alternatives: 'Show 3 ways to prioritize this roadmap'
- ★Request stakeholder-specific formatting: 'Executive summary vs. engineering spec'
- ★Use skill for 70% generation + 30% customization to company needs
When to Use This▌
✓ Use When
Use for user story writing, competitive research, roadmap prioritization, stakeholder communication, and PRD drafting. Best for reducing repetitive documentation and research work.
✗ Avoid When
Avoid for strategic product vision (requires deep customer empathy), pricing decisions (needs market and financial expertise), or when face-to-face customer discovery is more valuable than speed.
Learning Path▌
- 1Basic: user stories, feature specs, status updates
- 2Intermediate: competitive analysis, prioritization frameworks, PRDs
- 3Advanced: product strategy, go-to-market planning, OKR setting
- 4Expert: product vision, market positioning, business model innovation
Discussion
Product Hunt–style comments (not star reviews)- No comments yet — start the thread.
Ratings
4.6★★★★★46 reviews- ★★★★★Pratham Ware· Dec 16, 2024
shared is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
- ★★★★★Dhruvi Jain· Dec 12, 2024
shared has been reliable in day-to-day use. Documentation quality is above average for community skills.
- ★★★★★Yuki Sanchez· Dec 8, 2024
shared reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Evelyn Martin· Dec 8, 2024
We added shared from the explainx registry; install was straightforward and the SKILL.md answered most questions upfront.
- ★★★★★Ava Jain· Dec 8, 2024
Registry listing for shared matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Kiara Bhatia· Dec 4, 2024
shared fits our agent workflows well — practical, well scoped, and easy to wire into existing repos.
- ★★★★★Yuki Jackson· Nov 27, 2024
Registry listing for shared matched our evaluation — installs cleanly and behaves as described in the markdown.
- ★★★★★Camila Chawla· Nov 27, 2024
Useful defaults in shared — fewer surprises than typical one-off scripts, and it plays nicely with `npx skills` flows.
- ★★★★★William Gonzalez· Nov 27, 2024
shared reduced setup friction for our internal harness; good balance of opinion and flexibility.
- ★★★★★Benjamin Rao· Nov 15, 2024
shared is among the better-maintained entries we tried; worth keeping pinned for repeat workflows.
showing 1-10 of 46