agentleFS
bookchaowalitbookchaowalit/platform-agent-skills/solo-empire-operator/SKILL.md

solo-empire-operator

Skill0 starsChanged 8 days agoApache-2.0View on GitHub

Operate, inspect, and improve the Solo Empire repository from short or vague requests. Use for repository-wide routing, infra health, CLI/MCP selection, documentation and workspace changes, AI agent workflows, RAG/LLM evaluation, token or cost optimization, MLOps/DevSecOps pipeline work, and safe verification or handoff.

  • Reads credentials

The file

Show its rules and text

We split this skill into the rules it gives an agent

17 rules. About 0 are common, 9 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈9

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this as the repository-level router.

    line 8
  2. Very specific:

    No canonical dashboard/CURRENT-STATE.md is present in these owning repositories.

    line 17
  3. Very specific:

    If the router returns unknown or needs_clarification: true, ask for the target domain before any side effect.

    line 29
  4. Distinctive:

    Ask for approval before external messages, production changes, spending, destructive operations, or any action requiring an unapproved …

    line 33
  5. Distinctive:

    Verify proportionally. For repository changes, run the required checks in the handoff and report exact warnings, unavailable services, and …

    line 37
  6. Distinctive:

    When the current owner has enabled the delivery preference in AGENTS.md, finish every changed repository with this sequence after focused …

    line 43
  7. Distinctive:

    Create a scoped git commit with a meaningful message.

    line 48
  8. Distinctive:

    Run the repository's documented deploy/release command when a target, credentials, and environment contract are present.

    line 50
  9. Distinctive:

    Run the documented post-deploy smoke or health check and record the commit, push, deploy, and verification evidence.

    line 52
  10. Very specific:

    Stop and report if verification fails, the upstream is missing, the deploy target is absent (deployment_skipped_no_target), credentials are …

    line 55
  11. Very specific:

    Start with the current-state snapshot and a targeted rg search.

    line 63
  12. Very specific:

    Prefer structured JSON, focused sed ranges, and test output over copying large files into context.

    line 67
  13. Distinctive:

    Use deterministic code for routing, validation, retries, idempotency, and cost limits.

    line 69
  14. Distinctive:

    Never claim that token accounting, prompt caching, model routing, or hosted LLM deployment exists unless the repository evidence shows it.

    line 71
  15. Very specific:

    Use task agent:model -- ...

    line 81
  16. Very specific:

    Use task agent:cache -- --stats --json to inspect cache counters.

    line 85
  17. Very specific:

    Use task agent:local -- "..." --json for a deterministic local pipeline smoke run.

    line 88

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Solo Empire Operator

Use this as the repository-level router. Turn a short request into the narrowest safe workflow, then delegate domain-specific judgment to the matching skill instead of loading every document or inventing a new command.

Operating loop

  1. Orient from architecture-docs/docs/AI-AGENT-GUIDE.md (use SOLO_ARCHITECTURE_ROOT or sibling ../architecture-docs). Read platform-ops-cli/README.md for operational ownership (SOLO_OPS_ROOT; legacy sibling ../platform-ops-cli). No canonical dashboard/CURRENT-STATE.md is present in these owning repositories; use architecture docs rather than assuming that legacy path exists. Use the hub catalog for registry and hub harness work; operate and edit each registered system in its owning repository.
  2. Inspect git status --short; preserve unrelated edits, generated files, backups, secrets, and nested repositories.
  3. Classify the request as inspect, operate, change, or plan, and route it to the smallest existing CLI, script, MCP tool, document, or child skill. For a machine-readable pack, run task agent:route -- "<short request>" --json. For one complete read-only decision, run task agent:operator -- "<short request>" --json. If the router returns unknown or needs_clarification: true, ask for the target domain before any side effect; never guess from the health route.
  4. Build the loop as request → context → plan → tool → evidence → verify → handoff. Keep read-only checks separate from writes.
  5. Ask for approval before external messages, production changes, spending, destructive operations, or any action requiring an unapproved credential. The standing delivery preference may authorize scoped Git commit/push and a documented non-production deployment, but never a protected release gate.
  6. Verify proportionally. For repository changes, run the required checks in the handoff and report exact warnings, unavailable services, and remaining gaps.

Automatic release closeout

When the current owner has enabled the delivery preference in AGENTS.md, finish every changed repository with this sequence after focused verification:

  1. Inspect the final diff and stage only the intended files; never use git add . across unrelated work.
  2. Create a scoped git commit with a meaningful message.
  3. Push the current branch to its configured upstream without force-push.
  4. Run the repository's documented deploy/release command when a target, credentials, and environment contract are present.
  5. Run the documented post-deploy smoke or health check and record the commit, push, deploy, and verification evidence.

Stop and report if verification fails, the upstream is missing, the deploy target is absent (deployment_skipped_no_target), credentials are unavailable, or the action would change production, spend money, send an external message, or perform a destructive/irreversible operation. Never guess a deploy command or silently treat a skipped deployment as a successful release.

Context and token policy

  • Start with the current-state snapshot and a targeted rg search. Do not read the whole repository, all 45 workspaces, or all historical reports.
  • Load only the relevant reference file from references/infra-command-catalog.md when a command route is needed; load domain docs only after classification.
  • Prefer structured JSON, focused sed ranges, and test output over copying large files into context. Summarize evidence instead of repeating source.
  • Use deterministic code for routing, validation, retries, idempotency, and cost limits; use the model for interpretation, prioritization, and language.
  • Never claim that token accounting, prompt caching, model routing, or hosted LLM deployment exists unless the repository evidence shows it. The current central MLOps pipeline is a local/provider-neutral candidate lifecycle.
  • For an AI feature, define a context budget, model/fallback policy, maximum output, latency/cost target, evaluation set, redaction rule, and rollback path. If those are not implemented, record them as gaps rather than hiding them in the prompt.
  • Record provider usage through task agent:telemetry -- ... only after the provider returns usage metadata. Keep the prompt and response out of telemetry.
  • Use task agent:model -- ... to build a provider-neutral routing plan. Abstract fast, balanced, and quality slots can be mapped to a provider later; the repository currently selects the local reference adapter because no external provider adapter is configured.
  • Use task agent:cache -- --stats --json to inspect cache counters. The cache stores hashed keys and explicitly allowed public/internal results only; private or restricted data is never cached.
  • Use task agent:local -- "..." --json for a deterministic local pipeline smoke run. It demonstrates routing, cache, token estimates, and telemetry without pretending to be hosted LLM generation.
  • The operator façade now includes a bounded context pack from the routed files: task agent:operator -- "..." --json. The pack is capped by file/line/byte budgets, redacts credential-shaped values, and never loads sensitive paths such as .env or credentials directories.

Routing map

  • Agent/tool/MCP/RAG/memory/evaluation workflow → ai-agents or ai-agent-workflows.
  • AI application/API/automation delivery → ai-product-delivery.
  • Data products, lake ingestion, contracts, quality, lineage, or replay → data-engineering.
  • Security, secrets, permissions, privacy, or boundary review → security-and-privacy.
  • Client, lead, content, or proposal work → the matching business skill.
  • Unused, dead, or orphaned files → unused-file-cleanup (read-only scan first; deletion only after approval).
  • Skill inventory, capability gaps, overlap, or lifecycle work → govern-ai-skills; use skill-creator only after a new package is justified, then keep the implementation in infra/ and reusable instructions in skills/.

The deterministic router has explicit specialist routes for ai-product, security, external-integrations, skill-governance, unused-cleanup, crm, proposals, content, business-analysis, and business, in addition to health, AI pipeline, data lake, database, documentation, and infra. Unmatched requests use an unknown route with low confidence and a clarification stop condition.

Safe completion

Return: outcome, files changed, commands/tests run, evidence, commit/push/deploy status, approval points, known failures or service limitations, and the next safe action. Do not log secrets or raw private payloads. Read references/infra-command-catalog.md for the command matrix and pipeline sequence.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.