ai-agent-workflows
Skill0 starsChanged 8 days agoApache-2.0View on GitHub
Design and evaluate reliable AI agent workflows for Solo Empire, including agent loops, tool routing, structured outputs, memory, retrieval/RAG, evaluations, approvals, scheduled automation, and safe failure handling. Use when designing, improving, or reviewing how an agent reasons and routes work. Not for operating specific Solo Empire tools, MCP servers, CLI, or infra integrations — use ai-agents.
In this repository27 other files it gives its agents.
- ai-agentsSkill
- ai-native-estimationSkill
- ai-product-deliverySkill
- book-dev-engineering-loopSkill
- business-analysisSkill
- client-discovery-and-proposalsSkill
- content-distributionSkill
- data-engineeringSkill
- flow-videoSkill
- game-engineeringSkill
- govern-ai-skillsSkill
- graphic-designSkill
- lead-research-and-crmSkill
- main-only-developmentSkill
- product-managementSkill
- product-ownerSkill
- project-managementSkill
- qa-testingSkill
- security-and-privacySkill
- skill-templateSkill
- solo-empire-operatorSkill
- solution-architectureSkill
- subagent-orchestrationSkill
- system-docpackSkill
- unused-file-cleanupSkill
- ux-reviewSkill
- xr-engineeringSkill
The file
We split this skill into the rules it gives an agent
9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈7
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
All human-facing workflow output must be Thai by default, including plans, errors, approvals, and handoffs.
- Distinctive: line 33
Use browser UI for signed-in or site-specific interactions and repeatable browser tests when no direct API, CLI, or MCP covers the task.
- Distinctive: line 49
Add approval boundaries. Require explicit confirmation before sending messages, publishing content, changing production systems, spending …
- Distinctive: line 51
Add only the memory needed for the job.
- Distinctive: line 53
Run the relevant tests and documentation checks, then record limitations and any unavailable external service.
- Very specific: line 57
Put deterministic, repeated logic in code or an infra/ script.
- Distinctive: line 58
Add an MCP surface when an AI agent needs a reusable capability with a clear schema.
- Distinctive: line 59
Treat uncertain, conflicting, or incomplete tool results as an explicit unknown and ask for clarification when it affects an external …
- Very specific: line 60
Keep first-party project work in projects/.
≈ “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.
Files
AI Agent Workflows
Design agent workflows that are useful, observable, bounded, and easy to recover when a tool or model fails.
Response language
All human-facing workflow output must be Thai by default, including plans, errors, approvals, and handoffs. Preserve technical identifiers, commands, paths, code, logs, and quoted source text exactly. Use another language only when the user explicitly requests it for the requested output.
Tool selection and context efficiency
Choose one best interface for the source and action before calling tools. Do not call each available interface in sequence just to compare them. Switch only when the chosen interface is unavailable, cannot perform the action, or returns materially incomplete or unusable results.
For Solo Empire local data and deterministic operations, prefer the narrowest
existing CLI, script, or database query that returns bounded structured output
(--json when available). Prefer a purpose-built MCP/API when it is the direct
supported interface for the target service or gives a tighter schema,
permission boundary, or result scope. Tool order is a tie-breaker only after
checking source of truth, authorization, result shape, and the context each call
adds; CLI is not automatically cheaper than MCP.
For public current information, use Web Search and open only relevant pages. Use browser UI for signed-in or site-specific interactions and repeatable browser tests when no direct API, CLI, or MCP covers the task. Use screenshots or Computer Use only for visual-only state.
Reduce context tokens by bounding fields, records, page text, and command output before each call. Summarize relevant evidence instead of repeating full responses, and avoid screenshots or full page trees when text is enough. This limits context use but does not guarantee lower provider billing; tool schemas, caching, and provider accounting vary by client.
Core workflow
- Establish context. Read the relevant current-state, architecture, and AI-agent guidance, then inspect the owning workspace and its git status.
- Define the loop as request → plan → tool call → result → decision. State the expected input, output, owner, and stop condition for every step.
- Route each action to the narrowest existing capability. Prefer an existing
infra/CLI, MCP tool, script, database query, or documented workflow over inventing a parallel integration. - Bound the agent. Allowlist tools, validate arguments, cap records and time, make retries idempotent, and separate read-only actions from writes.
- Add approval boundaries. Require explicit confirmation before sending messages, publishing content, changing production systems, spending money, or deleting/overwriting data.
- Return a structured result with status, completed work, evidence or provenance, errors, and the next action. Never fill missing tool data with guesses.
- Add only the memory needed for the job. Keep transient context separate from durable records, define retention, and never store secrets or unnecessary personal data.
- Evaluate the workflow with happy-path, missing-credential, malformed-output, partial-failure, duplicate-request, timeout, and permission-denied cases.
- Run the relevant tests and documentation checks, then record limitations and any unavailable external service.
Decision rules
- Put deterministic, repeated logic in code or an
infra/script; use the model for interpretation, prioritization, or language generation. - Add an MCP surface when an AI agent needs a reusable capability with a clear schema; keep the underlying operation testable without the model.
- Treat uncertain, conflicting, or incomplete tool results as an explicit unknown and ask for clarification when it affects an external action.
- Keep first-party project work in
projects/; keep hired/client repository boundaries in the client's ownbookchaowalit-freelance/<client>repository; do not blur either withinfra/or nested repositories. - Preserve an audit trail for approvals, external writes, and important decisions without logging tokens, credentials, or private payloads.
Solo Empire handoff
Report the files changed, workflow contract, approval points, tests run, known failure modes, and the next safe action. Update the owning documentation when the workflow changes repository behavior.
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
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.

