agentleFS
AI-ModConAI-ModCon/genesis-skills/skills/basesafe-skills/fingerprinting/SKILL.md

fingerprinting

Skill30 starsChanged 51 days agoBSD-2-ClauseView on GitHub

Classify unfamiliar AI/ML repositories into a structured taxonomy, gather evidence for the classification, and identify cross-cutting concerns that inform follow-on safety analysis. Use when you need a normalized fingerprint of a model or system before deeper security, uncertainty, or explainability review.

3 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. 0 are common, 8 are distinctive, and 5 are very specific to this project.

  • 0

    Common

    Most of the 3 edited versions we read keep these.

  • 8

    Distinctive

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Use filesystem tools and, when helpful, scripts/fingerprint_scan.py to identify:

    line 36
  2. Very specific:

    Every claim should include confidence and evidence, per references/evidence_rules.md.

    line 57
  3. Very specific:

    Read references/deepening_guide.md and load only the runbooks that match the observed system.

    line 61
  4. Distinctive:

    Do not force every repository through every runbook.

    line 72
  5. Very specific:

    Use references/cross_cutting_concerns.md to note:

    line 76
  6. Very specific:

    Use assets/fingerprint_report_template.md.

    line 86
  7. Distinctive:

    Prefer code, configs, tests, and executable artifacts over aspirational docs.

    line 97
  8. Distinctive:

    If two sources conflict, report the conflict instead of guessing.

    line 98
  9. Distinctive:

    If a claim is only weakly supported, lower confidence and state why.

    line 99
  10. Distinctive:

    Security testing: use the fingerprint to choose attack classes and testing depth

    line 112
  11. Distinctive:

    Uncertainty analysis: use the fingerprint to choose task-appropriate UQ methods

    line 113
  12. Distinctive:

    Explainability analysis: use the fingerprint to choose model-appropriate explanation methods

    line 114
  13. Distinctive:

    Don't assign high confidence without finding the model: If you can't locate model architecture code or loaded checkpoints, confidence …

    line 124

“Common” is measured: kept by at least 6 in 10 of the 3 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Repository Fingerprinting

Overview

This skill turns an unfamiliar AI or ML repository into a structured fingerprint that answers:

  • What kind of system is this?
  • What evidence supports that classification?
  • Which deeper questions matter next?

The fingerprint follows a consistent taxonomy for task, modality, model family, training style, and serving pattern. It identifies cross-cutting concerns (attack surfaces, uncertainty hooks, explainability requirements) and recommends appropriate follow-on analyses.

This skill is intentionally taxonomy-first and routing-light. It preserves the fingerprinting taxonomy and domain runbooks, but leaves the decision about which runbooks to load to the LLM agent rather than hard-coded dispatch logic.

Quick Reference

ActionCommand / File
Scan repository for likely evidencepython scripts/fingerprint_scan.py /path/to/repo --format markdown
Normalize termsreferences/taxonomy.md
Review evidence expectationsreferences/evidence_rules.md
Decide which runbooks to load nextreferences/deepening_guide.md
Surface attack / UQ / explainability hooksreferences/cross_cutting_concerns.md
Start final reportassets/fingerprint_report_template.md
Check collection completenessassets/evidence_checklist.md

Core Workflow

1. Inventory the repository

Use filesystem tools and, when helpful, scripts/fingerprint_scan.py to identify:

  • README, docs, notebooks, papers, model cards
  • dependency files and lockfiles
  • training, evaluation, inference, and serving entrypoints
  • config files
  • prompts, retrieval assets, policies, simulators, datasets, tests

2. Produce a level-1 fingerprint

Using references/taxonomy.md, classify the repository along these dimensions:

  • repository type
  • task type
  • input modality
  • output modality
  • model family
  • framework
  • training regime
  • data characteristics
  • serving pattern
  • notable signals such as multimodal, rag, safety-critical, or inference-only

Every claim should include confidence and evidence, per references/evidence_rules.md.

3. Deepen selectively

Read references/deepening_guide.md and load only the runbooks that match the observed system. Common examples:

  • references/runbooks/vision.md
  • references/runbooks/nlp_rag.md
  • references/runbooks/tabular.md
  • references/runbooks/timeseries.md
  • references/runbooks/audio.md
  • references/runbooks/retrieval_recsys.md
  • references/runbooks/rl_control.md
  • references/runbooks/multimodal.md
  • references/runbooks/serving_security.md

Do not force every repository through every runbook.

4. Annotate cross-cutting hooks

Use references/cross_cutting_concerns.md to note:

  • likely attack surfaces
  • likely uncertainty hooks
  • likely explainability hooks
  • governance or operational gaps

This step should annotate future work, not replace the dedicated skills.

5. Produce the fingerprint report

Use assets/fingerprint_report_template.md. A good report should include:

  • repository summary
  • normalized fingerprint
  • relevant runbooks applied
  • evidence-backed findings
  • cross-cutting hooks
  • unknowns
  • recommended next analyses

Evidence Discipline

  • Prefer code, configs, tests, and executable artifacts over aspirational docs.
  • If two sources conflict, report the conflict instead of guessing.
  • If a claim is only weakly supported, lower confidence and state why.
  • Multi-component systems may need multiple fingerprints or a top-level system fingerprint plus component notes.

Output Expectations

Your output should be useful to another analyst or another skill. It should leave behind:

  • a normalized taxonomy classification
  • enough evidence for review
  • a clear rationale for which deeper analyses matter next

Integration with Downstream Analysis

The fingerprint informs deeper analysis capabilities:

  • Security testing: use the fingerprint to choose attack classes and testing depth
  • Uncertainty analysis: use the fingerprint to choose task-appropriate UQ methods
  • Explainability analysis: use the fingerprint to choose model-appropriate explanation methods

Common Pitfalls

Don't classify based on repo name alone: A repo called "sentiment-classifier" might actually be doing multi-task learning or have evolved into something else. Always validate against code and architecture.

Don't over-index on config files: Model configs can be stale, aspirational, or for experimentation only. Check which model actually loads in production/eval code.

Don't miss hybrid architectures: Systems can combine multiple model types (e.g., embedding model + classifier, retrieval + generation). Fingerprint the system, not just one component.

Don't assign high confidence without finding the model: If you can't locate model architecture code or loaded checkpoints, confidence should be medium or low. Inference-only repos with opaque APIs are especially tricky.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.