harbor: Skill for Claude Code

.agents/skills/facts/SKILL.md

facts is a skill for Claude Code, Codex from av/harbor. It costs 49 tokens per session (2,274 once invoked), scanned C, original, Apache-2.0.

A command-line tool for keeping a project's factual requirements in .facts files and checking them with verification commands.

In plain words
What is it for?
Use it to record facts such as an API returning JSON, a project building, or tests passing, then list, edit, validate, and lint those facts.
Why use it?
It keeps project expectations in one simple format and can show when the actual project no longer matches them.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is av/harbor's own configuration. It tells Claude Code and Codex how to work on harbor itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything harbor configures →

About the project

av/harbor is a command-line tool and companion app that uses Docker Compose to start a connected local stack of language-model backends, user interfaces, and supporting AI services. People use it to run services such as Ollama, llama.cpp, vLLM, Open WebUI, search, voice, and image-generation tools without configuring their connections manually, while the catalogue provides agent workflows for operating Harbor.

av/harbor · 3,263 stars · on GitHub · discord.gg

Reuse

Borrowing it

Nothing to install: this file belongs to av/harbor. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/av/harbor/main/.agents/skills/facts/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/av/harbor

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for facts

README.md
[![agentmods](https://agentmods.dev/badge/skills/av/harbor/facts/github.svg)](https://agentmods.dev/skills/av/harbor/facts)
Your own site
<a href="https://agentmods.dev/skills/av/harbor/facts"><img src="https://agentmods.dev/badge/skills/av/harbor/facts/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for facts

Your own site · 80×15
<a href="https://agentmods.dev/skills/av/harbor/facts"><img src="https://agentmods.dev/badge/skills/av/harbor/facts.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,274 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Tool Misuse · line 20
    Tool calls are chained to bypass individual safety checks or escalate capabilities beyond what any single tool call would allow.
    Fix: Limit tool chaining depth and validate the output of each tool before passing it to the next. Require explicit user approval for multi-step chains.
  • medium MCP Rug Pull · line 31
    npx commands without a version suffix (e.g. @1.0.0) create a rug-pull risk if the upstream server is compromised and publishes a malicious update.
    Fix: Pin the version: npx @scope/[email protected]
  • medium Excessive Agency · line 74
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • low Supply Chain · line 20
    Remote code is downloaded and executed. This bypasses code review and could introduce malicious code.
    Fix: Avoid downloading and executing remote scripts. Use trusted packages from PyPI/npm. If remote fetch is required, verify checksums and use HTTPS.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.02274
Opus 5.5 $0.00020 $0.00910
Sonnet 5.5 $0.00010 $0.00455
Haiku 4.5 $0.00005 $0.00227

Measured 2mo ago against content hash 2e4fcfbe392b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

facts scanned grade C with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

curl -fsSL https://raw.githubusercontent.com/av/facts/main/install.sh | sh

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -fsSL https://raw.githubusercontent.com/av/facts/main/install.sh | sh
.agents/skills/facts/SKILL.md · 203 lines

How it starts

The opening of the file, as written. The whole thing — 203 lines — stays where its author put it; the contents beside it link to each section on GitHub.

facts

A CLI for fact-driven development. You use it to specify what must be true about a project, then validate that reality matches.

Project: https://github.com/av/facts

Installing

If facts is not installed, install it with one of:

curl -fsSL https://raw.githubusercontent.com/av/facts/main/install.sh | sh
npm install -g @avcodes/facts
pipx install facts-cli

Verify with facts --version. The command is always facts — never npx facts.

Core idea

A .facts file is a flat list of atomic truth statements about a project. Each fact can optionally have a shell command that verifies it. The fact sheet serves as both specification (what should be true) and documentation (what is true) — the difference is just which direction you're working from.

- the API returns JSON
- label: project builds
  command: cargo build
- label: tests pass
  command: cargo test
  tags: [ci, core]

That's the entire format. Plain strings for simple facts, mappings when you need a command, tags, or explicit ID. Allowed mapping keys: id, label, command, tags — nothing else.

Essential commands

Recommended short aliases (all extra arguments are passed through):

  • ll = list --light — the most common "skim" view (markdown headings + dim IDs)
  • ls = list
  • rm = remove
  • at <id> <tag> = edit <id> --add-tag <tag> (supports multiple IDs and --label / --new-id etc. after the tag)
  • rt <id> <tag> = edit <id> --remove-tag <tag>

These are the highest-ROI shortcuts for daily and agent use.

See everything:

facts ll
facts ll --tags "not implemented"
facts ll --has-command
facts list --light                      # or the alias: facts ll

Validate:

facts check
facts check --tags "ci"

check is your primary feedback loop. It lints the files first (aborting on structural errors), then runs every command-fact and reports pass/fail/manual. Run it often. Exit 0 means all command-facts pass; manual facts don't affect the exit code.

Read the full file on GitHub · 203 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 203 lines · 49 tokens per session scan C 2e4fcfbe392b

Subscribe to this mod's changes

facts is a skill published in the GitHub repository av/harbor (3,263 stars, last pushed 6d ago), licensed Apache-2.0. It adds 49 tokens to every session and 2,274 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

facts compared with skills from other repositories

facts next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
factsav/harborSkill3.3k6d agoApache-2.0C49Claude Code, Codex
recover-contextpchalasani/claude-code-toolsSkill2.0kyesterdayMITA36Claude Code
lc-curate-contextcyberchitta/llm-context.pySkill30818d agoApache-2.0A90Claude Code, Codex
obsidianlvndry/jazzSkill55yesterdayMITA71Claude Code, Codex
difyznlgis/opengis-skillsSkill7610d agoMITA115Claude Code, Codex
session-searchpchalasani/claude-code-toolsSkill2.0kyesterdayMITC33Claude Code
knowledge-session-state-and-context-active-turn-interactions-and-recoveryechoVic/blade-codeSkill18124d agoMITA161Claude Code, Codex