agentleFS
Mark393295827Mark393295827/third-brain-v7-skills/skills/workflow-audit/SKILL.md

workflow-audit

Skill141 starsChanged 6 months agoMITView on GitHub

Use when manual work, prior sessions, or an operator interview must be audited for repeatable skill, automation, or bounded-loop candidates.

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 4 edited versions we read keep these.

  • 2

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every decision is evidence-linked and independently checkable.

    line 64
  2. Distinctive:

    No skill, schedule, external service, or Vault file is changed by the audit.

    line 65

“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “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

Workflow Audit

<skill_contract> <input>Bounded manual notes, prior-session evidence, or interview answers describing work, repetition, decisions, and constraints.</input> <output>A deterministic audit with mode, evidence-bounded candidates, skill/automation/loop decisions, permissions, and a typed handoff.</output> <done>Every recommendation points to supplied evidence, remains within the input bound, and has an explicit supervised promotion decision.</done> <non_goals>Editing skills, changing schedules, mutating Vault state, inventing metrics, or executing an unapproved external action.</non_goals>

Usage Template

Provide: objective, evidence source, mode (manual, session, or interview), size bound, candidate limit, operator/approval owner, and desired handoff.

Workflow

<intake> Classify the source as manual notes, prior-session history, or an operator interview. Preserve its hash and provenance. Infer a mode only when the text contains a clear session or interview signal; otherwise use `manual`. </intake>

<unknowns_gate> Separate observed repetition from a proposed improvement. Missing frequency, owner, verifier, permission, or stop condition makes a candidate review-only; it does not justify a schedule or autonomous loop. </unknowns_gate>

<execute> Extract a bounded list of distinct work candidates. For each candidate, decide:
  • SKILL_CANDIDATE when the work has a reusable procedure or multiple steps; otherwise KEEP_MANUAL.
  • AUTOMATION_CANDIDATE only when repetition or a clear trigger is evidenced; otherwise HOST_REQUIRED_REVIEW.
  • LOOP_CANDIDATE only when retry, monitoring, polling, follow-up, or a repeat-until condition is evidenced; otherwise NO_LOOP.

Record the evidence snippet, approval owner, verifier, stop condition, and side-effect expectation. Promotion is a separate supervised action with a receipt and rollback path. </execute>

<evaluate> Reject recommendations that rely on an unbounded input, an inferred external permission, a fluent success claim, or a video/demo as authority. Check candidate count, source hash, evidence linkage, and `side_effect_count: 0`. </evaluate>

Failure Protocol

Return NEEDS_INPUT for missing evidence or a required authority decision, INSUFFICIENT_EVIDENCE when repetition cannot be supported, and VERIFY_FAILED when a recommendation cannot be traced to the supplied source. Preserve the audit receipt and do not promote.

Output Contract

Return status, result, evidence, unknowns, and next_action. The result includes mode, source hash, bounded candidates, skill/automation/loop decisions, approval, verifier, stop condition, and side-effect count.

Edge Cases

  • A quiet prior session is not proof that a workflow is eligible for automation; record INSUFFICIENT_EVIDENCE or request a frequency probe.
  • A recurring task that writes to a shared Vault remains a supervised staged-write candidate even when the extraction itself is deterministic.

Success Metrics

  • Source provenance and candidate bounds are preserved.
  • Every decision is evidence-linked and independently checkable.
  • No skill, schedule, external service, or Vault file is changed by the audit.

Quality Gates

  • Mode is explicit or conservatively inferred.
  • Unknown permissions, verifiers, and stop conditions are surfaced.
  • Promotion is supervised and receipt-backed.
  • side_effect_count is zero.

</skill_contract>

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.