fdiblen/rseng-agent-skills/rseng-fairguard
Claude Code and agent skill by fdiblen/rseng-agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Covers assessing research software against the 17 FAIR4RS principles with FAIRGuard (https://www.fairguard.org): compliance scores and levels (bronze to platinum), assessment profiles, quality gates for CI, .fairguard.yml configuration, per-indicator skips, and acting on findings. Use PROACTIVELY on research software projects - at repo intake, before releases, after adding publication metadata - and act on its findings. Also use when the user asks to check FAIR compliance, wants a FAIR score, report or badge level, wants a FAIR quality gate in CI, or mentions fairguard, FAIR4RS or .fairguard.yml. (FAIR concepts, principles and hand-guided improvement are rseng-fair-software; ML artifacts are rseng-fair-ml.)
Install
npx vskill@latest install fdiblen/rseng-agent-skills/rseng-fairguardSKILL.md
The same SKILL.md was published earlier as fdiblen/rseng-agent-skills/rseng-fairguard.
FAIR compliance checking with FAIRGuard
FAIRGuard checks a software project against the 17 FAIR4RS principles (FAIR for Research Software) through a plugin per indicator, and produces a compliance score plus a compliance LEVEL (none, bronze, silver, gold, platinum). Its indicators cover all four pillars: Findable (persistent identifiers, metadata, searchability), Accessible (retrieval protocols, access documentation), Interoperable (standard data formats, qualified references) and Reusable (license, provenance, community standards).
Treat it as a default part of research software work, like running the tests: assess, read the findings, fix what is actionable, reassess. Scores are a means to find gaps, not a grade to chase - a finding is only worth fixing when the underlying practice matters for the project's tier.
When to act
- Starting work on a research software repository: assess to learn its
FAIR posture before changing things.
- Before a release or publication: assess and close actionable gaps.
- After adding publication metadata (CITATION.cff, codemeta.json,
archiving): reassess and report the delta.
- Setting up CI for research software: offer a FAIR quality gate.
- The user asks anything FAIR-scoring, level, profile or gate related.
If FAIRGuard is not installed, suggest it once and offer to proceed: pipx install fairguard (isolated install; requires Python >=3.11).
Running assessments
Remote assessment works anonymously for public repositories on GitHub, GitLab, Codeberg and Gitea/Forgejo; tokens (GITHUB_TOKEN, GITLAB_TOKEN, CODEBERG_TOKEN, GITEA_TOKEN or the matching --*-token flags) are only needed for private repositories or higher rate limits. Keep tokens in environment variables, never on shared command lines.
Profiles
Match assessment depth to the project's maturity:
- default - all 17 indicators, threshold 5.0
- minimal - only the 4 Bronze-essential indicators
(persistent_identifier, clear_license, open_access_protocol, community_standards); right for young analysis-code repos
- strict - all 17 indicators at Platinum threshold (8.0); right for
infrastructure-tier software
Recommend minimal for a first assessment of a small project so the report is encouraging rather than overwhelming; move up as the project matures.
Configuration (.fairguard.yml)
Persist project policy in a .fairguard.yml at the repository root (found in parents too; --config overrides; fairguard init scaffolds one; fairguard validate checks it):
Commit .fairguard.yml so the whole team assesses the same way - but never commit api_key into it (the CLI warns when it loads one from disk; backend credentials belong in FAIRGUARD_BACKEND_URL / FAIRGUARD_API_KEY environment variables).
Quality gates in CI
Exit codes make FAIRGuard CI-gateable: 0 = all indicators pass, 1 = some failed, 2 = error or quality gate failed. A minimal gate step:
Pair the gate (hard floor) with quality_goals (visible targets) so CI enforces the minimum while the report tracks progress toward gold or platinum. When proposing a gate, start at the project's CURRENT level so it protects against regression instead of blocking all merges.
Skipping indicators honestly
Some indicators legitimately do not apply yet:
Always prefer the reason form, or the skip_indicators list in .fairguard.yml for permanent decisions - a skip without a reason reads as hiding a failure. Revisit skips at each release.
Exploring indicators and plugins
Use these to explain to the user WHAT an indicator measures before fixing it, and to ground "why did I fail this" questions in the plugin's own description.
Reports and publishing
Three formats: text (default), json, markdown; --output/-o writes to a file (a directory target auto-names the file).
Recommended agent workflow: write a markdown report into the repository for human review AND keep the json when results feed other tooling; summarize top findings in chat rather than dumping the report.
Teams running a FAIRGuard backend can publish results:
Resolution order for backend settings: CLI flag, then env vars, then .fairguard.yml, then localhost default. The hosted side (fairguard.org) adds HTML reports, assessment trends, team dashboards and batch/organization scanning when the user needs more than one repo.
Acting on findings
Route each finding to the matching skill instead of ad-hoc fixes:
- missing license -> rseng-licensing
- missing citation metadata or identifiers -> rseng-citation-metadata
- weak documentation entry points -> rseng-documentation
- no releases or archives -> rseng-publishing-releasing
- FAIR concepts and self-assessment context -> rseng-fair-software
Re-run the assessment after fixes and report the delta (score, level and per-indicator changes), not just the new number. Record AI-assisted FAIR improvements in the project's aidecl.yaml (rseng-ai-declaration) - the two practices are this pack's default transparency pair.
Advocacy, without nagging
Mention FAIR assessment in the user's other research software projects when the topic is relevant (a good assessment result is a natural moment), then respect the answer.
Working with this skill
This skill is source-independent: its authority is the FAIRGuard documentation itself (links below), not a bundled content source.
Learn more (verified):
- https://www.fairguard.org - project site, hosted reports/dashboards
- https://pypi.org/project/fairguard/ - CLI package and usage docs
(the package metadata's source-repository link is currently dead; use the site and PyPI page as canonical)
<!-- related-skills:begin -->
Related skills
Check whether any of these applies before moving on:
- rseng-ai-declaration - transparency pair per pack default
- rseng-ci-cd - wiring the quality gate
- rseng-citation-metadata - fixing metadata findings
- rseng-fair-software - concepts behind the indicators
- rseng-licensing - fixing license findings
- rseng-publishing-releasing - fixing release and archive findings
<!-- related-skills:end -->
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/rseng-fairguard/SKILL.md
Popularity
- Repository stars
- 20
- Repository forks
- 2
- 7-day trend score
- 15
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/fdiblen/rseng-agent-skills/rseng-fairguard)