jgs-reference-skill

Turn a vetted authoritative source (a standard, handbook, guidebook, or
framework) into a licence-clean, citable knowledge pack your agent loads on
demand. A fork of book-to-skill
(MIT), repositioned from personal study skills to publishable reference packs.
Why a fork
book-to-skill turns a book into a study skill. It has no notion of who owns the
source, whether you may redistribute it, or whether the skill quotes the original
verbatim. For published reference packs over authoritative sources, those are
the whole game. jgs-reference-skill keeps book-to-skill's proven output shape and adds
the provenance, licence, and verification rigor: the things you otherwise do by
hand every time.
| book-to-skill | jgs-reference-skill |
|---|
| Target | personal study notes | publishable reference oracle |
| Licence awareness | none | vet gate: Tier 1/2/3/Excluded, refuses non-redistributable |
| Provenance | none | PACK.yaml + per-pack LICENSE (SPDX, tier, NC/SA flags) |
| Verbatim copying | "don't" (unchecked) | check_overlap.py flags any lifted run |
| Chapter slicing | ad-hoc grep | outline.py deterministic offsets |
| Index quality | (none) | pack_eval.py verifies routes are grounded |
| Unredistributable source | (would package it) | signpost (cite-only, zero content) |
Pipeline
flowchart LR
V["vet_source<br/>Tier?"] --> E["extract<br/>engine"]
E --> O["outline<br/>offsets"]
O --> B["build_pack<br/>provenance"]
B --> G["generate<br/>chapters"]
G --> Y["verify<br/>overlap + validate + eval + scan"]
V -. "Excluded" .-> S["signpost<br/>cite-only"]
Install
git clone https://github.com/jgsystemsconsulting/jgs-reference-skill
cd jgs-reference-skill
python install.py # Claude Code (default), namespaced under ~/.claude/skills/jgs/
python install.py --agent all # every user-global agent
python install.py --list-agents # show each agent's target path + format
Restart your agent session, then run /jgs-reference-skill. For Codex, Gemini, or
Cursor (and their limitations), see docs/other-agents.md.
Install with your AI agent
Paste this into Claude Code, Cursor, or another coding agent and it will install the
skill for you:
Install the jgs-reference-skill agent skill (v0.3.0) from
https://github.com/jgsystemsconsulting/jgs-reference-skill.
- Clone the repo and read its
README.md and docs/skill-usage.md first.
- Check prerequisites: Python ≥ 3.9 on
PATH.
- Run
python install.py --agent <your agent> (default Claude Code; use
--list-agents to see every target/format).
- Verify: re-run
python install.py --list-agents, confirm the skill folder/prompt
now exists at the printed target, restart the session, and confirm
/jgs-reference-skill resolves.
- Note the licence: the tooling is MIT, but packs you generate carry their
source's licence. Read
docs/SOURCE-VETTING.md before packaging anything.
Usage: drive the skill (conversational)
Once installed, restart your agent and drive the skill conversationally, by name or
slash command. See docs/skill-usage.md for the full reference.
/jgs-reference-skill # load the generator spec
/jgs-reference-skill build a pack from the NASA SE Handbook
/jgs-reference-skill vet "SysML" published by the Object Management Group
/jgs-reference-skill add NIST SP 800-160 Vol 2 to my nist-sse pack
Give it the source's title, publisher, and licence. It vets the licence first,
refuses non-redistributable sources, and routes them to a citation-only signpost.
Usage: build a pack (CLI)
# 1. Vet the source FIRST: refuses paywalled / all-rights-reserved sources
python3 tools/vet_source.py --title "NASA SE Handbook" --publisher "NASA" \
--license "Public Domain (US Government work)"
# 2. Scaffold a pack with provenance (re-runs the gate, infers tier + flags)
python3 tools/build_pack.py --slug nasa-se-handbook \
--title "NASA Systems Engineering Handbook (SP-2016-6105 Rev 2)" \
--publisher "NASA" --version "Rev 2 (2016)" \
--license "Public Domain (US Government work)"