@appitlabs/hermes-setup0.1.2
Least privilege and short tokens for a Hermes agent, generated instead of described.
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
hermes-setup
Least privilege and short tokens for a Hermes agent, generated instead of described.
A token contract, a default-deny database role and a three-assertion link check — in one command each.
Works in pi · Claude Code · Codex · Cursor and any agent that reads a SKILL.md — plain
Markdown plus one stdlib script, no agent-specific tools.
What it is
hermes-setup generates the secret (0600, fingerprint only), mints and verifies short-lived JWTs with aud=hermes-agent and an explicit scope, emits least-privilege SQL for exactly the tables the agent reads and writes, and proves the link with three assertions: valid token 200, garbage 401, expired 401.
Why it exists
Agent integrations fail in two ways: a token that lives too long or is accepted for the wrong audience, and a database user with more rights than the job. Both are configuration, so both can be generated, checked and tested.
Install
# any agent, via the skills CLI — this one, or all twelve at once
npx skills add Appit-labs/hermes-setup -g -y
npx skills add Appit-labs/appit-skills -g -y
# Claude Code — the whole collection as one marketplace
claude plugin marketplace add Appit-labs/appit-skills
claude plugin install hermes-setup@appit-skills
# pi
pi install git:github.com/Appit-labs/hermes-setup
# any agent that reads a skills directory
git clone git@github.com:Appit-labs/hermes-setup.git
cp -r hermes-setup/skills/hermes-setup ~/.claude/skills/ # or ~/.codex/skills/, .cursor/skills/, …
npm name.
hermes-setupon npm belongs to another author. This skill is published as@appitlabs/hermes-setup, and the whole collection as@appitlabs/skills.
Requires
- Python 3.9+ (stdlib only — no JWT or RSA dependency)
psqlonly if you apply the generated SQL yourself- The app needs a health endpoint that requires the agent token
Cost
| tokens | |
|---|---|
| always-on — the description, paid every session | ~100 |
| on invoke | ~1.7k |
The demo is a real run: demos/hermes-setup.json holds the captured output and tools/make_demo.py renders it.
Provenance
Every command in this skill was run against a real target before it was written down: a live
database, a staging host, a failing CI run, a browser session. The repository was created and
published on 2026-11-18; where the workflow itself is older, CHANGELOG.md carries the dates.
Security
SkillSpector: 0/100, SAFE, 0 open findings against the committed baseline; every accepted finding is listed with its reason in SECURITY.md.
Part of the Appit collection
All twelve, one install: npx skills add Appit-labs/appit-skills -g -y.
live-qa— live QA in a real browserci-triage— red CI to the failing linepg-inspect— read-only Postgres inspectionrepo-runbook— the verified runbook in AGENTS.mdremote-exec— SSH that cannot hangtrello-tickets— seven ticket types, one cardcloud-browser— hosted browsers that stop billingopen-design— the OpenDesign monorepoblender-pipeline— Blender via MCPcode-scan— Skylos + Fallow, one gaterelease— conventional commits to a taghermes-setup— least-privilege agent wiring ← this skill
License
MIT, copyright Appit Labs. See LICENSE.