agentleFS
leviuszenleviuszen/meaning-assurance/skills/agent-task/SKILL.md

agent-task

Skill2 starsChanged 4 months agoApache-2.0View on GitHub

Create a file-based task packet for formal external workers such as Claude Code, Reasonix, or a manual external agent while keeping Codex as final reviewer.

1 other project uses a version of this.

Adopted by

Most recently taken up by

  • Other versions1 project uses a version of this.

    Word for word · 0

    None found.

    Edited · 0

    None found.

    Wrote their own version · 1

    1. 1060996408/agent-task★ 0same name

    How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.

  • In this repository4 other files it gives its agents.

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. About 0 are common, 6 are distinctive, and 7 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 7

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Use this skill when the user wants Codex to delegate a bounded implementation, research, or exploration task to an external agent.

    line 8
  2. Distinctive:

    Create a task packet before launching any external agent.

    line 13
  3. Distinctive:

    Keep the task narrow enough for one result file and one optional patch.

    line 14
  4. Distinctive:

    Do not paste or log secrets, API keys, launcher contents, or provider environment variables.

    line 15
  5. Distinctive:

    Do not claim the delegated task is complete until Codex has collected and reviewed result files.

    line 17
  6. Very specific:

    Run New-AgentTask.ps1 with the task, context, mode, target agent, and workspace root.

    line 23
  7. Very specific:

    Treat reasonix-stdout.log and reasonix-stderr.log as redacted execution evidence.

    line 32
  8. Very specific:

    Wait for agent-result.md, result.md, or patch.diff.

    line 35
  9. Very specific:

    Run Collect-AgentResult.ps1.

    line 36
  10. Distinctive:

    Use this before launching an external agent for implementation work that may edit repository files.

    line 41
  11. Very specific:

    Create the task packet first with New-AgentTask.ps1.

    line 43
  12. Very specific:

    Run New-AgentWorktree.ps1 with the task folder, workbench root, workspace root, and slug.

    line 44
  13. Very specific:

    After the agent finishes, Codex reviews agent-result.md, result.md, any other result files, and the Isolated Worktree Diff section before …

    line 48

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 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

Agent Task

Use this skill when the user wants Codex to delegate a bounded implementation, research, or exploration task to an external agent.

Rules

  • Codex remains the primary conversation and final reviewer.
  • Create a task packet before launching any external agent.
  • Keep the task narrow enough for one result file and one optional patch.
  • Do not paste or log secrets, API keys, launcher contents, or provider environment variables.
  • External agents should write outputs into the task folder.
  • Do not claim the delegated task is complete until Codex has collected and reviewed result files.

Workflow

  1. Identify the workspace root and allowed paths.
  2. Choose claude-code, reasonix, or manual.
  3. Run New-AgentTask.ps1 with the task, context, mode, target agent, and workspace root.
  4. For implementation work where the external agent may edit repository files, create an isolated worktree before launch. See Isolation For Implementation Tasks.
  5. Launch the selected agent:
  • Formal non-interactive worker: Invoke-AgentTask.ps1 after isolated worktree creation. It dispatches to Claude Code or Reasonix from target_agent.
  • Claude Code direct compatibility runner: Invoke-ClaudeCodeTask.ps1
  • Reasonix direct compatibility runner: Invoke-ReasonixTask.ps1
  • Reasonix worker execution expects the reasonix CLI to be on PATH, or REASONIX_COMMAND / -ReasonixCommand to point to the real CLI shim.
  • Close Reasonix Desktop before a CLI worker run. The runner preflights the Desktop process and translates CLI session-lock failures into a clear retry instruction.
  • On Windows, the Reasonix runner denies Bash(*), confines file writers to the isolated worktree with workspace_root, restores any original reasonix.toml, and leaves shell verification to Codex after collection.
  • Treat reasonix-stdout.log and reasonix-stderr.log as redacted execution evidence. Canonical agent-result.md is cleaned and must start with # Agent Result.
    • Claude Code manual session: Start-ClaudeTask.ps1
    • Manual: give the task folder path to the user.
  1. Wait for agent-result.md, result.md, or patch.diff.
  2. Run Collect-AgentResult.ps1; when an isolated worktree exists, the collector prints a git status review section.
  3. Review the output before applying any patch or recommendation.

Isolation For Implementation Tasks

Use this before launching an external agent for implementation work that may edit repository files.

  1. Create the task packet first with New-AgentTask.ps1.
  2. Run New-AgentWorktree.ps1 with the task folder, workbench root, workspace root, and slug.
  3. For Claude Code or Reasonix, prefer Invoke-AgentTask.ps1 -TaskFolder <folder> -Collect when non-interactive execution is appropriate.
  4. For manual agents, paste or provide task.md and context.md.
  5. Tell the external agent to work only inside isolated_workspace.path.
  6. After the agent finishes, Codex reviews agent-result.md, result.md, any other result files, and the Isolated Worktree Diff section before accepting changes.

Output Contract

Tell the user:

  • task folder path
  • target agent
  • expected output files
  • whether a manual paste step is needed
  • whether non-interactive worker execution was used
  • what Codex will review next

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.