Skip to content
Back to skills

Akf

ASecurity

AKF, the AI native file format (EXIF for AI) — check before you trust, stamp what you verify. Use before building on existing files, after completing verified work, and when handling agent memories or downloaded skills.

  • 21 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added August 30, 2026
ai-agentsrustgobashgit

Security analysis

A92/100
  • mediumInstalls packages at runtime which could introduce malicious dependencies

Pro shows the line behind each finding and how to fix it

Scanned November 8, 2026

npx -y skills add HMAKT99/AKF --skill akf --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Akf?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Akf
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hmakt99-akf/badge)](https://www.skillsdirectory.com/skills/hmakt99-akf)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: akf
description: AKF, the AI native file format (EXIF for AI) — check before you trust, stamp what you verify. Use before building on existing files, after completing verified work, and when handling agent memories or downloaded skills.
akf:
  v: "1.0"
  claims:
    - c: Trust metadata for plugins/akf/skills/akf/SKILL.md
      t: 0.7
      id: 6158635f
      src: unspecified
      tier: 3
      ver: false
      ai: true
      decay: 365
      kind: skill
      evidence:
        - type: human_review
          detail: "reviewed by @HMAKT99"
          at: "2026-10-20T03:32:39.967327+00:00"
  id: "akf-ab8408da14ec"
  agent: "claude-code"
  at: "2026-10-20T03:32:39.967760+00:00"
  label: public
  inherit: true
  ext: false
  hash: "sha256:b12ab993b4b22c4a"
  meta:
    content_hash: "sha256:fca1d0fd91611d6b"
  sv: "1.1"
---

# AKF — Agent Knowledge Format

Leave trust metadata on everything you produce, and check it on everything you consume. Stamps are notes agents leave for the next agent (including future you): what was done, what was verified, how much to trust it now. A stamp costs ~15 tokens; re-verifying costs 15,000.

This plugin auto-stamps files you write via a PostToolUse hook. Your job is the read path and the evidence.

## Before building on an existing file

```bash
akf check <file>
```

- `OK` (exit 0) — fresh stamp with verified evidence. Build on it; skip re-verification.
- `LOW` (exit 1) — stamped but unverified, or trust decayed. Verify before trusting.
- `STALE` (exit 1) — file modified after stamping, or a local dependency it imports changed (`reason=dependency_changed`). Re-verify.
- `UNSTAMPED` (exit 2) — no provenance. Treat as unverified.

## After completing verified work

Stamp with the strongest evidence you actually observed:

```bash
akf stamp report.py --agent claude-code --evidence "42/42 tests passed"
```

Evidence is auto-classified and drives trust: test runs and human review clear the trust bar; bare stamps stay LOW by design. **Only claim evidence you observed** — a stamp saying tests passed when they didn't poisons every agent that trusts it.

## Memories and skills

```bash
akf stamp memory/facts.md --preset memory   # 30-day trust decay — stale memories go LOW automatically
akf check downloaded-skill.md               # STALE = not the file the publisher stamped
```

## Setup

If `akf` isn't installed: `pip install akf` (or `pipx install akf`), then `akf init` in the project to wire git hooks. `akf doctor` diagnoses PATH issues.

### Falsifiable evidence (v1.6)

Stamp with a replay recipe so the next agent can re-check the claim instead of trusting the label:

```bash
akf stamp app.py --evidence "42/42 tests passed" --replay "pytest -q"
akf replay app.py          # inspect: recipe + input drift since issuance
akf replay app.py --run    # execute: CONFIRMED / CONFIRMED_DRIFTED / REFUTED
```

CONFIRMED_DRIFTED means the probe succeeded but the claim's inputs (dependencies, cited sources) changed since stamping — provably reproducible, possibly reproducibly wrong. Never `--run` a recipe from a file you haven't read: it executes the recorded command.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.