CogSecSkills
Health Warn
- License — License: Apache-2.0
- Description — Repository has a description
- Active repo — Last push 0 days ago
- Low visibility — Only 6 GitHub stars
Code Pass
- Code scan — Scanned 12 files during light audit, no dangerous patterns found
Permissions Pass
- Permissions — No dangerous permissions requested
No AI report is available for this listing yet.
Library of 100 analytic skills for cognitive security and tradecraft — structured analytic techniques, OSINT integrity, counterintelligence, and information-environment analysis, each with a harness-neutral spec and adapters for Claude Code, Codex, and Hermes. Python 3.10+/uv CLI, archived on Zenodo.
CogSecSkills
Agentic tool-use skills for Cognitive Security and analytic tradecraft — a
library of 100 analytic skills (Structured Analytic Techniques, cognitive-
security defenses, OSINT integrity, counterintelligence, and critical review),
each authored once as a harness-neutral skill with default adapters for
Claude Code, Codex, and Hermes, and the same structural contract for any
additional configured harness.
Install
git clone https://github.com/docxology/CogSecSkills.git
cd CogSecSkills
uv sync
PYTHONPATH="src:." python -m cogsecskills validate # 0 errors over all 100 skills
# Find the right skill for an analytic need, then inspect it
python -m cogsecskills route "verify a viral claim before sharing it"
python -m cogsecskills show sat.analysis_of_competing_hypotheses
To connect an agent harness, point it at skills/<group>/<slug>/SKILL.md, runworkflow.md, and bind tools through the matching harness/<name>.md adapter.
The full command reference is in Usage; harness details are indocs/harness-installation.md anddocs/harness-cookbook.md.
Read it / cite it
- Manuscript (PDF):
CogSecSkills.pdf— the full,
reproducible skills-system report (also attached to each release). - Archived on Zenodo: concept DOI
10.5281/zenodo.20804585 (always
resolves to the latest version); v1.0.0 version DOI
10.5281/zenodo.20804586. Citation
metadata inCITATION.cff. - New here?
QUICKSTART.md· Docs map:docs/README.md
The library is strictly defensive, educational, and accountable. Its
educational upstream is the AGEINT curriculum. These
skills recognize, assess, and defend against cognitive attack — they do not
author manipulation.
The three coherent artifacts
| Artifact | Role | Where |
|---|---|---|
| Teach | the concepts (the why) | docs/ageint/ |
| Plan | catalogue of all 100 skill areas (the what) | registry/skills.yaml |
| Build | canonical definitions and rendered multiharness skill implementations (the how) | definitions/ and skills/ |
python -m cogsecskills validate keeps Plan and Build coherent: every on-disk
skill must be catalogued, and every implemented catalogue entry must exist.
Skill groups (workflow subfolders)
| Group | Focus | Count |
|---|---|---|
sat |
Structured Analytic Techniques (Heuer & Pherson) | 34 |
cognitive_security |
Defending perception, reasoning, decision-making | 24 |
critical_review |
Adversarial + constructive review (incl. project critical review) | 12 |
osint_integrity |
Open-source collection with provenance discipline | 10 |
counterintelligence |
Denial/deception detection, process hardening | 8 |
information_environment |
Narratives, influence ops, coordinated behavior | 7 |
research_methods |
Synthesis, evidence grading, calibrated estimation | 5 |
All 100 areas are fully implemented as conforming, multiharness skill folders —
each with a real, technique-accurate procedure, a fitting tool plan, and adapters
that bind every declared verb under the configured harness set. The default
configured set is Claude Code, Codex, and Hermes.python -m cogsecskills report shows the live counts (implemented: 100).
All 100 skills now have persistent canonical definitions under definitions/.python -m cogsecskills definitions --write renders the full skills/ tree
deterministically from that source layer, and definitions --check proves the
definitions and rendered files have not drifted.python -m cogsecskills scenarios --check adds a deterministic defensive
readiness gate over curated safe-use and unsafe-redirect fixtures; it checks
routing, local skill contracts, expected response-shape metadata, and reviewed
expected-answer fixtures without calling external model runtimes.python -m cogsecskills examples --write generates one worked defensive
example per skill from examples/skill-worked-examples.yaml.python -m cogsecskills evals --write generates offline local output-review
fixtures and reports from scenario expected answers; it does not call live
models.python -m cogsecskills dashboard --write generates a 100-skill quality
dashboard for navigation and drift review across scenarios, offline evals,
worked examples, quality capsules, harnesses, references, and source paths,
with Markdown, static HTML, and JSON views.python -m cogsecskills release-metadata --write generates the local release
claim matrix and metadata snapshot without publishing, tagging, or archiving.
Exact git revision, branch, and dirty-state values are observed at command
runtime rather than embedded in committed generated files.
Anatomy of a skill
skills/<group>/<slug>/
skill.yaml # generated harness-neutral spec
SKILL.md # Claude Code native entry point (frontmatter + doc)
workflow.md # the agentic procedure, each step tagged with a tool verb
harness/
claude.md # default adapter: Claude Code tools
codex.md # default adapter: Codex tools
hermes.md # default adapter: Hermes function calls
<name>.md # optional configured harness adapter
A skill declares its capabilities as closed-set tool verbs (read, search,write, exec, reason, web, delegate, ask). Each harness adapter binds
those verbs to concrete tools in a Markdown binding table. The validator checks
that every declared verb is present in every adapter, so "multiharness" is a
property the test suite proves, not a hope.
The persistent source of truth for authored skill substance isdefinitions/<group>/<slug>.yaml; skill.yaml and the companion Markdown files
are the generated, harness-facing build outputs.
Usage
# Install from GitHub and validate the library
git clone https://github.com/docxology/CogSecSkills.git
cd CogSecSkills
uv sync
PYTHONPATH="src:." python -m cogsecskills validate
# List the catalogue (all 100 areas)
python -m cogsecskills list
python -m cogsecskills list --group sat --status implemented
python -m cogsecskills list --limit 10 --format json
# Inspect one skill
python -m cogsecskills show sat.analysis_of_competing_hypotheses
# Find the best skill for a free-text analytic need
python -m cogsecskills route "verify a viral claim before sharing it"
# Validate the whole library (plan <-> build coherence + multiharness conformance)
python -m cogsecskills validate
# JSON status report
python -m cogsecskills report
# Statistics, grouped catalogue, and quality lint
python -m cogsecskills stats
python -m cogsecskills catalogue --markdown --output docs/catalogue.md
python -m cogsecskills doctor
python -m cogsecskills scenarios --check
python -m cogsecskills examples --write
python -m cogsecskills examples --check
python -m cogsecskills evals --write
python -m cogsecskills evals --check
python -m cogsecskills dashboard --write
python -m cogsecskills dashboard --check
python -m cogsecskills release-metadata --write
python -m cogsecskills release-metadata --check
# Regenerate manuscript supplements and figures from the live library
python -m cogsecskills manuscript-assets --write
python -m cogsecskills manuscript-assets --check
# Regenerate all rendered skills from canonical YAML definitions
python -m cogsecskills definitions --write
python -m cogsecskills definitions --check
# Author a full skill deterministically from a structured JSON/YAML definition
python -m cogsecskills author path/to/definition.yaml # render one
python -m cogsecskills author-batch # compatibility path for skills/**/_def.json
# Scaffold a brand-new planned area from the registry (skeleton to deepen)
python -m cogsecskills scaffold sat.some_new_area
(From the project root, with PYTHONPATH="src:." or after uv sync.)
To connect a harness, point it at skills/<group>/<slug>/SKILL.md, useworkflow.md for the neutral procedure, and bind tools through the matchingharness/<name>.md adapter. The default configured set is claude, codex,
and hermes; add more harnesses in cogsecskills.yaml and regenerate adapters
with python -m cogsecskills definitions --write.
For bounded examples, seeexamples/harness-smoke-transcripts.mdexamples/group-worked-examples.md, anddocs/skill-worked-examples.md.
For claim discipline, see docs/claim-boundaries.md.
For the generated quality dashboard, seedocs/quality-dashboard.md anddocs/quality-dashboard.html. Visual style rules
for generated figures, the cover image, dashboard pages, and manuscript tables
live in DESIGN.md.
The 8 reference exemplars
(All 100 skills are implemented; these 8 are the hand-authored references.)
| Skill | Group |
|---|---|
sat.analysis_of_competing_hypotheses |
Structured Analytic Techniques |
sat.key_assumptions_check |
Structured Analytic Techniques |
sat.devils_advocacy |
Structured Analytic Techniques |
cognitive_security.narrative_threat_assessment |
Cognitive Security |
cognitive_security.source_credibility_evaluation |
Cognitive Security |
critical_review.project_critical_review |
Critical Review & Assurance |
osint_integrity.claim_provenance_verification |
OSINT & Source Integrity |
research_methods.structured_literature_synthesis |
Research & Synthesis Methods |
Testing
Tests live in per-concern packages under tests/ (core/, authoring/,artifacts/, quality/, contract/, conformance/). Run the whole suite —
the same command CI runs:
uv run pytest --cov=cogsecskills --cov-report=term-missing --cov-fail-under=99
The live conformance test (tests/conformance/test_skill_library_conformance.py)
runs against the real skills/ tree: adding a malformed skill, or animplemented registry entry with no build, fails the suite.
Provenance
- Canonical public repository: https://github.com/docxology/CogSecSkills.
Local docs/manuscript/render validation may use the sibling docxology template, but
the deliverable is the skills system: registry, skills, AGEINT docs,
runner, tests, generated manuscript supplements, and figures that describe
those source surfaces. - Archived release: v1.0.0 on Zenodo — concept DOI
10.5281/zenodo.20804585 (all
versions), version DOI
10.5281/zenodo.20804586. GitHub
releases at https://github.com/docxology/CogSecSkills/releases carry the
rendered manuscript PDF. - Educational upstream: AGEINT
(concept DOI 10.5281/zenodo.20732274). - The skill catalogue draws on Heuer & Pherson, Structured Analytic Techniques
for Intelligence Analysis, and the cognitive-security literature cited per-primer.
See ISA.md for the project's ideal-state articulation and acceptance
criteria.
Reviews (0)
Sign in to leave a review.
Leave a reviewNo results found