Rseng Fairguardのロゴ

Rseng Fairguard

コミュニティ
fdiblen
rseng-fairguard

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.)

概要

公開者fdiblen
リポジトリrseng-agent-skills
スキル名rseng-fairguard
スター
26
フォーク
2
同梱ファイル
1
ライセンスCC-BY-4.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 1個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    fdiblenがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Rseng Fairguard」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/fdiblen/rseng-agent-skills/tree/main/skills/rseng-fairguard
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/fdiblen/rseng-agent-skills.git /tmp/rseng-agent-skills
mkdir -p .claude/skills
cp -r /tmp/rseng-agent-skills/skills/rseng-fairguard .claude/skills/rseng-fairguard
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでRseng Fairguardを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にRseng Fairguardを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Rseng Fairguardは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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

bash
fairguard assess                 # current directory
fairguard assess /path/to/repo   # local path
fairguard assess org/repo        # GitHub shorthand
fairguard assess https://codeberg.org/owner/repo   # any supported forge
fairguard assess . -v            # verbose, with evidence details
fairguard assess . -q            # quiet: exit code only

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
bash
fairguard assess . --profile minimal
fairguard profile list
fairguard profile show strict

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):

yaml
profile: default
skip_indicators:
  - metadata_persistence

quality_gate:            # enforced: assessment reports PASSED/FAILED
  min_compliance: bronze # none|bronze|silver|gold|platinum
  min_score: 4.0
  required_indicators:
    - clear_license

quality_goals:           # aspirational, non-blocking progress targets
  target_compliance: gold
  target_score: 7.0

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:

yaml
- run: pipx run fairguard assess . -q   # fails the job per exit code

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:

bash
fairguard assess . --skip persistent_identifier
fairguard assess . --skip "persistent_identifier:no DOI yet"   # with reason

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

bash
fairguard indicator list        # the FAIR4RS indicators
fairguard indicator list -v     # with descriptions
fairguard indicator list --unimplemented
fairguard plugin list           # plugins and their indicators
fairguard plugin info license_check
fairguard deps                  # check plugin dependencies

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).

bash
fairguard assess . --format markdown --output report.md
fairguard assess . --format json --output results.json
fairguard assess . --format markdown --output ./reports/

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:

bash
fairguard assess . --publish
fairguard assess . --format json | fairguard publish -

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):

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

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Rseng Fairguard」では何ができますか?

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 .fairguar...

TypingMindでRseng Fairguardを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Rseng Fairguardはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにRseng Fairguardをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/fdiblen/rseng-agent-skills/tree/main/skills/rseng-fairguardを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Rseng Fairguardを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Rseng Fairguardで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもRseng Fairguardを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Rseng Fairguard」は無料ですか?

はい。fdiblenがCC-BY-4.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇