Logo Rseng Fairguard

Rseng Fairguard

Cộng đồng
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.)

Tổng quan

Nhà phát hànhfdiblen
Kho mãrseng-agent-skills
Tên kỹ năngrseng-fairguard
Sao
26
Bản fork
2
Tệp đi kèm
1
Giấy phépCC-BY-4.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 1 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được fdiblen công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Rseng Fairguard trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/fdiblen/rseng-agent-skills/tree/main/skills/rseng-fairguard
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân 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
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Rseng Fairguard trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Rseng Fairguard ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Rseng Fairguard với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

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

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

Câu hỏi thường gặp

Kỹ năng AI Rseng Fairguard làm được gì?

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

Vì sao nên dùng Rseng Fairguard trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Rseng Fairguard là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Rseng Fairguard trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/fdiblen/rseng-agent-skills/tree/main/skills/rseng-fairguard. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Rseng Fairguard?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Rseng Fairguard với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Rseng Fairguard với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Rseng Fairguard có miễn phí không?

Có. Kỹ năng này được fdiblen phát hành trên GitHub theo giấy phép CC-BY-4.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇