agentleFS
CynrathCynrath/agent-context-kit/.agents/skills/ackit-policy-authoring/SKILL.md

ackit-policy-authoring

Skill14 starsChanged 3 months agoMITView on GitHub

Author layered ackit policy files with deterministic merge, scoping and lockable rules.

The file

We split this skill into the rules it gives an agent

1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈0

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Start from ackit.yml; add a policy layer with schemaVersion: 1 and extends (local repo-relative files or npm:<pkg>/<file> for …

    line 15

≈ “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

Policy Authoring

Activate when the user asks to codify scan thresholds or team-wide rule overrides.

See merge order for precedence and digest.

Steps

  1. Start from ackit.yml; add a policy layer with schemaVersion: 1 and extends (local repo-relative files or npm:<pkg>/<file> for already-installed packages only — resolution is offline by construction, remote fetch is refused with POL-OFFLINE-BLOCKED).
  2. Scope overrides with org / repo / pathScopes; lock security-relevant rules with locked: true so downstream layers cannot weaken them (POL-LOCKED-CONFLICT; deny is sticky across layers). Suppressions require reason and support expiresAt.
  3. Verify with ackit policy check (chain plus digest plus autonomy plus review plus problems) and ackit config check (schema validation). Risk tiers (tier0 allow through tier4 deny) enforce ONLY at ACKit-owned boundaries (task complete --force, checkpoint export, verification record): explicit deny refuses with POLICY-TIER-DENIED (exit 4); explicit ask in a non-interactive context denies. Optional review: (required dimensions plus blockingSeverity) gates PASS-family verdicts via VERDICT_BLOCKING.

Notes

  • Remote URL auto-fetch is forbidden; dependencies must be pre-installed.
  • Deterministic merge: defaults < ackit.yml < policy extends chain (declaration order) < CLI flags; arrays replace, objects merge; digest is sha256 over sorted-key JSON.
  • Repositories without autonomy: / review: see zero behavior change.

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.