Monitor CI
nrwl/nx
Monitor Nx Cloud CI pipeline and handle self-healing fixes. An agent skill from nrwl/nx.
Multi-perspective risk analysis using structured persona debate before deploying changes
$ npx skills add bolivian-peru/os-moda --skill swarm-predict -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install bolivian-peru/os-moda swarm-predict --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/bolivian-peru/os-moda.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/swarm-predict .claude/skills/swarm-predict && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "swarm-predict" agent skill from https://github.com/bolivian-peru/os-moda/tree/main/skills/swarm-predict into .claude/skills/swarm-predict/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swarm-predict", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/bolivian-peru/os-moda/tree/main/skills/swarm-predictType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add bolivian-peru/os-moda --skill swarm-predict -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install bolivian-peru/os-moda swarm-predict --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bolivian-peru/os-moda.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/swarm-predict .agents/skills/swarm-predict && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "swarm-predict" agent skill from https://github.com/bolivian-peru/os-moda/tree/main/skills/swarm-predict into .agents/skills/swarm-predict/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swarm-predict", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add bolivian-peru/os-moda --skill swarm-predict -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install bolivian-peru/os-moda swarm-predict --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bolivian-peru/os-moda.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/swarm-predict .cursor/skills/swarm-predict && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "swarm-predict" agent skill from https://github.com/bolivian-peru/os-moda/tree/main/skills/swarm-predict into .cursor/skills/swarm-predict/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swarm-predict", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/bolivian-peru/os-moda.git --path skills/swarm-predict--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add bolivian-peru/os-moda --skill swarm-predict -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install bolivian-peru/os-moda swarm-predict --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bolivian-peru/os-moda.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/swarm-predict .gemini/skills/swarm-predict && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "swarm-predict" agent skill from https://github.com/bolivian-peru/os-moda/tree/main/skills/swarm-predict into .gemini/skills/swarm-predict/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swarm-predict", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install bolivian-peru/os-moda swarm-predictInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add bolivian-peru/os-moda --skill swarm-predict -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/bolivian-peru/os-moda.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/swarm-predict .github/skills/swarm-predict && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "swarm-predict" agent skill from https://github.com/bolivian-peru/os-moda/tree/main/skills/swarm-predict into .github/skills/swarm-predict/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swarm-predict", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add bolivian-peru/os-moda --skill swarm-predict -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install bolivian-peru/os-moda swarm-predict --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/bolivian-peru/os-moda.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/swarm-predict .opencode/skills/swarm-predict && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "swarm-predict" agent skill from https://github.com/bolivian-peru/os-moda/tree/main/skills/swarm-predict into .opencode/skills/swarm-predict/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "swarm-predict", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
swarm-predictMulti-perspective risk analysis using structured persona debate before deploying changes
Swarm Predict is an agent skill from bolivian-peru/os-moda. Multi-perspective risk analysis using structured persona debate before deploying changes
Its SKILL.md is about 2.5k tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `EXAMPLE.md`).
It sits in DevOps & Cloud. The repository describes itself as: An operating system built for AI agents — talk to your NixOS server instead of SSH-ing in. Typed, audited tool access with atomic rollback on every change. Research-grade; run it… The licence is Apache-2.0.
5 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit b8e418f. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Swarm Predict loads about 2.5k tokens when it runs. Until then it costs about 26 tokens; SKILL.md has 785 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from bolivian-peru/os-moda at commit b8e418f, republished under its Apache-2.0 licence (© bolivian-peru). 785 words, ~2,467 tokens.
.claude/skills/swarm-predict/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.Structured multi-perspective risk analysis before acting on infrastructure changes. Uses persona-based debate to surface risks from different viewpoints, then deploys via SafeSwitch with auto-rollback.
What this is: A structured prompting technique where you role-play 6-8 expert personas debating a proposed change. It forces consideration of multiple angles (security, reliability, cost, UX) before committing. Think of it as a pre-flight checklist, not a crystal ball.
What this is NOT: This is not true multi-agent simulation (like MiroFish/OASIS with independent agent processes). All personas share one context window and one model. The value comes from structured thinking and the checklist effect, not from emergent behavior.
Collect real system state. The analysis is only as good as the data it's grounded in.
1. system_health() → CPU, RAM, disk, load, uptime
2. system_query({ query: "services" }) → running services
3. journal_logs({ unit: "relevant-service", lines: 50 }) → recent activity
4. file_read({ path: "/relevant/config/file" }) → current configMinimum data checklist — do NOT proceed without:
If data collection fails, tell the user: "Cannot run analysis without baseline system state. Please provide context manually or fix the service queries."
Build a situation briefing — a concise paragraph with:
Pick 6-8 from this table. Choose archetypes relevant to the change — don't use all 12.
| Archetype | Optimizes for | Blind spot |
|---|---|---|
| Ops Engineer | Reliability, uptime, monitoring | Over-conservative, blocks progress |
| Security Analyst | Attack surface, CVEs, access control | Paranoid, sees threats everywhere |
| Performance Engineer | Latency, throughput, efficiency | Optimistic about gains, ignores stability |
| End User | Response time, zero disruption | No technical context, just wants it to work |
| Cost Analyst | $/hour, resource waste | Penny-wise, pound-foolish |
| Junior Dev | Simplicity, documentation | Asks naive questions that reveal assumptions |
| Chaos Engineer | Failure modes, blast radius | Adversarial by nature, can over-index on unlikely scenarios |
| Compliance Officer | Audit trails, regulations | Blocks anything undocumented |
| Database Admin | Data integrity, migrations, backups | Extremely cautious, can stall decisions |
| Network Engineer | DNS, routing, firewall, latency | Hyper-focused on connectivity edge cases |
| SRE Lead | SLOs, error budgets, rollback plans | Balanced but demands extensive rollback planning |
| Product Manager | Timelines, feature velocity | Underestimates risk, wants speed |
For each selected persona, define:
Name: [Realistic name]
Role: [Title]
Optimizes for: [1 sentence]
Blind spot: [1 sentence]Each round is a single prompt containing the situation briefing, all persona definitions, full prior discussion, and the round instruction. Output each persona's response labeled by name.
Round 1 — Initial Reactions:
Given the situation and your role, state:
1. Your biggest concern about this change
2. One risk others might miss
3. Your initial position (support / oppose / conditional)
Each persona: 2-3 sentences. Be specific — cite actual services, configs, versions.Round 2 — Challenge:
Read Round 1. Now:
1. Name one thing another persona said that you disagree with, and why
2. Name one thing another persona said that changed your thinking
3. Propose one concrete mitigation for the top risk
Each persona: 3-4 sentences. Reference others by name.Round 3 — Final Position:
Read the full discussion. State:
1. Your final recommendation: GO / NO-GO / GO WITH CONDITIONS
2. The single most important condition (if GO WITH CONDITIONS)
3. One sentence: what breaks first if this goes wrong?
Each persona: 2-3 sentences. No hedging — commit to a position.Optional Round 4 — Red Team (use for high-stakes changes):
The change IS deployed. Try to break it.
1. Most likely failure in the first hour
2. Sneaky failure that appears after a week
Each persona: 1-2 sentences. Be adversarial.Optional Round 5 — Deployment Plan (use when proceeding):
Draft the deployment plan as a group:
1. Pre-flight checks (what to verify before starting)
2. Execution order (step by step)
3. Rollback trigger (what specific metric/event means abort)
4. Health checks during and afterCount positions from Round 3 and apply these rules:
| Outcome | Threshold | Confidence |
|---|---|---|
| GO | All personas support or support-with-conditions | 85-95% |
| GO WITH CONDITIONS | 5+ of 8 support, dissenters' concerns addressable | 65-85% |
| NEEDS MORE DATA | 4/4 split or concerns based on unknown system state | 40-65% |
| NO-GO | 5+ of 8 oppose | Recommend delay |
Adjust confidence down for:
Produce this report:
## Risk Analysis Report
### Change
[What was evaluated — 1 sentence]
### System Context
[Key metrics from Phase 1]
### Consensus Risks
- [Risk everyone agrees on] — Severity: HIGH/MED/LOW
- [Another consensus risk] — Severity: HIGH/MED/LOW
### Contested Risks
- [Risk with disagreement]
- Concerned: [Who and why]
- Dismisses: [Who and why]
### Verdict: [GO / GO WITH CONDITIONS / NEEDS MORE DATA / NO-GO]
Confidence: [X%]
### Conditions (if applicable)
1. [Specific, actionable condition]
2. [Another condition]
### SafeSwitch Plan
- Pre-flight: [checks before starting]
- TTL: [seconds before auto-rollback]
- Health checks: [what to monitor]
- Rollback trigger: [what constitutes failure]1. safe_switch_begin({
plan: "[change description]",
ttl_secs: [from report],
health_checks: [from report]
})
2. Execute the change using appropriate tools
3. watcher_add({
name: "post-change-monitor",
check: { type: [from report] },
interval_secs: 30,
actions: ["notify", "rollback"]
})
4. Monitor for TTL duration:
- If health checks pass → safe_switch_commit()
- If any check fails → safe_switch_rollback()
5. Record outcome:
teach_knowledge_create({
title: "Risk analysis: [change]",
category: "prediction",
content: "[report + actual outcome + which risks materialized]",
tags: ["swarm-predict", "[go/nogo]", "[success/rollback]"]
})Phase 1 — Context:
CPU: 45%, RAM: 62%, Disk: 60%. Uptime: 34 days.
Services: node (18.19, port 3000, 200 req/s, p99 45ms), postgresql-15, nginx.
Config: package.json engines field says ">=16", 47 dependencies.Phase 2 — Personas: Sarah (Ops), Viktor (Security), Priya (Performance), Alex (User), James (Junior Dev), Mei (SRE Lead)
Phase 3 — 3 rounds produce:
engines says >=16 but that's package.json, not every dep."Phase 4 — Report:
Verdict: GO WITH CONDITIONS (Confidence: 78%)
Conditions:
1. Run npm ls --all and check for Node 22 incompatibilities first
2. Deploy during 2-4 AM low-traffic window
3. Keep Node 18 binary at /usr/local/bin/node18 for rollback
SafeSwitch: TTL 900s, check HTTP 200 on :3000/health every 30sPhase 5 — Deploy via SafeSwitch. Auto-rollback if /health fails within 15 min.
If PageIndex MCP is available, use it to index relevant documentation before Phase 1:
This gives personas access to real documentation context instead of relying on training data alone.
© bolivian-peru, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 1 other file in skills/swarm-predict of bolivian-peru/os-moda.
Open the folder on GitHubat commit b8e418f
Swarm Predict next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Swarm Predict this skillbolivian-peru/os-moda | 119 | — | ~2.5k | Automated safety check: Pass | Apache-2.0 | |
| Monitor CInrwl/nx | 29k | 6 repos | ~4.7k | Automated safety check: Pass | MIT | |
| Terraform and OpenTofu Guideagentscope-ai/QwenPaw | 36k | 6 repos | ~4.2k | Automated safety check: Pass | Apache-2.0 | |
| Vercel Optimize Auditvercel-labs/agent-skills | 32k | 8 repos | ~4.3k | Automated safety check: Pass | None | |
| Analyze GitHub Action Logswithastro/astro | 63k | 1 repos | ~1.3k | Automated safety check: Pass | Custom licence | |
| Openclaw Live Updateropenclaw/openclaw | 392k | — | ~3.7k | Automated safety check: Pass | MIT |
nrwl/nx
Monitor Nx Cloud CI pipeline and handle self-healing fixes. An agent skill from nrwl/nx.
agentscope-ai/QwenPaw
Guidance for writing and testing Terraform and OpenTofu code: module structure, naming, test approaches, CI/CD workflows, state handling and security scanning.
vercel-labs/agent-skills
Runs a metrics-first audit of a deployed Vercel project, gating investigations on real signals to produce ranked, citation-backed cost and performance recommendations.
withastro/astro
Analyze recent GitHub Actions workflow runs to identify patterns, mistakes, and improvements.
openclaw/openclaw
Maintain the canonical live OpenClaw main checkout, macOS LaunchAgent-managed Gateway, local macOS app, exact-head main CI, and recurring full release validation.
netdata/netdata
Use only when the user explicitly asks to build, run, preview, inspect, or validate learn.netdata.cloud locally using the contents of a PR or documentation branch before merge.
bolivian-peru/os-moda
Deploy and manage user applications as managed systemd services
bolivian-peru/os-moda
Deploy and manage AI agent workloads with GPU checks, API key management, and health monitoring
bolivian-peru/os-moda
Detect configuration drift — manual changes that exist outside NixOS management.
bolivian-peru/os-moda
Black box flight recorder for the server. An agent skill from bolivian-peru/os-moda.
bolivian-peru/os-moda
NixOS generation-aware debugging and time-travel. An agent skill from bolivian-peru/os-moda.
bolivian-peru/os-moda
Generate a concise daily infrastructure briefing. An agent skill from bolivian-peru/os-moda.
Categories
Multi-perspective risk analysis using structured persona debate before deploying changes. Swarm Predict is an agent skill from bolivian-peru/os-moda.
Swarm Predict fits situations like: devOps & Cloud work in your project.
Run `npx skills add bolivian-peru/os-moda --skill swarm-predict -a claude-code`. Or copy the skill folder (skills/swarm-predict in bolivian-peru/os-moda) into .claude/skills/swarm-predict in your project. Claude Code loads it when a task matches its description.
Run `npx skills add bolivian-peru/os-moda --skill swarm-predict -a codex`. Or copy the skill folder (skills/swarm-predict in bolivian-peru/os-moda) into .agents/skills/swarm-predict in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add bolivian-peru/os-moda --skill swarm-predict -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/swarm-predict, .gemini/skills/swarm-predict, .github/skills/swarm-predict and .opencode/skills/swarm-predict in your project.
SKILL.md names no scripts, command-line tools or credentials: Swarm Predict is instructions for the agent only. Our summary lists: Node.js.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Swarm Predict is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.5k tokens (SKILL.md is roughly 9.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Swarm Predict: Monitor CI (nrwl/nx, 29k stars), Terraform and OpenTofu Guide (agentscope-ai/QwenPaw, 36k stars), Vercel Optimize Audit (vercel-labs/agent-skills, 32k stars) and Analyze GitHub Action Logs (withastro/astro, 63k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
bolivian-peru (a GitHub user) maintains it in bolivian-peru/os-moda, which has 119 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on June 24, 2026.
Source: bolivian-peru/os-moda on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.