r3bl-open-core: Skill for Claude Code

.agents/skills/test-cross-platform/SKILL.md

test-cross-platform is a skill for Claude Code, Codex from r3bl-org/r3bl-open-core. It costs 31 tokens per session (1,640 once invoked), scanned A, original, Apache-2.0.

A cross-platform test runner that copies repository changes to Linux, macOS, and Windows machines and runs the full test suite on each. Cross-platform testing checks that software behaves correctly on different operating systems.

In plain words
What is it for?
Use it after cross-platform changes, before merging, or before a release to test the repository across the listed systems.
Why use it?
It reveals operating-system differences that a test run on only one machine may miss, including problems with platform-specific code and asynchronous input/output.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: installed under .agents/ (shared by several agents).

This is r3bl-org/r3bl-open-core's own configuration. It tells Claude Code and Codex how to work on r3bl-open-core itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything r3bl-open-core configures →

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/nazmul/....

Reuse

Borrowing it

Nothing to install: this file belongs to r3bl-org/r3bl-open-core. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/r3bl-org/r3bl-open-core/main/.agents/skills/test-cross-platform/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/r3bl-org/r3bl-open-core

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for test-cross-platform

README.md
[![agentmods](https://agentmods.dev/badge/skills/r3bl-org/r3bl-open-core/test-cross-platform/github.svg)](https://agentmods.dev/skills/r3bl-org/r3bl-open-core/test-cross-platform)
Your own site
<a href="https://agentmods.dev/skills/r3bl-org/r3bl-open-core/test-cross-platform"><img src="https://agentmods.dev/badge/skills/r3bl-org/r3bl-open-core/test-cross-platform/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for test-cross-platform

Your own site · 80×15
<a href="https://agentmods.dev/skills/r3bl-org/r3bl-open-core/test-cross-platform"><img src="https://agentmods.dev/badge/skills/r3bl-org/r3bl-open-core/test-cross-platform.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,640 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00031 $0.01640
Opus 5.5 $0.00012 $0.00656
Sonnet 5.5 $0.00006 $0.00328
Haiku 4.5 $0.00003 $0.00164

Measured 11d ago against content hash db0059429db8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

test-cross-platform scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/skills/test-cross-platform/SKILL.md · 142 lines

How it starts

The opening of the file, as written. The whole thing — 142 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Cross-Platform Fleet Testing

Run the full test suite across the remote cross-platform fleet (Linux on nazmul-mobile.local, macOS, and Windows) to verify compatibility, platform gates, and asynchronous I/O behavior.

When to Use

  • After modifying cross-platform code, platform-specific #[cfg(...)] gates, or PTY logic.
  • Before merging pull requests or finalizing release milestones.
  • When the user runs /test-cross-platform or asks to test across platforms/fleet.

Worktree & Folder Detection

The skill dynamically detects whether you are in the primary repository or a git worktree:

# Fish syntax:
set -l REPO_ROOT (git rev-parse --show-toplevel)
set -l FOLDER_NAME (basename "$REPO_ROOT")

# Bash syntax:
REPO_ROOT=$(git rev-parse --show-toplevel)
FOLDER_NAME=$(basename "$REPO_ROOT")

If you are in ~/github/roc, $FOLDER_NAME is roc. If you are in a worktree such as ~/github/roc-fix-shift-home-lockup, $FOLDER_NAME is roc-fix-shift-home-lockup. Remote fleet machines mirror this folder under their respective repository parent paths.

Worktree Portability & Relative Paths (worktree.useRelativePaths)

Linked git worktrees store administrative pointer files:

  • Inside the worktree: .git (file containing gitdir: <path_to_main_repo>/.git/worktrees/<name>)
  • Inside the main repo: .git/worktrees/<name>/gitdir (file containing <path_to_worktree>/.git)

By default, Git writes absolute paths (/home/nazmul/... on Linux vs /Users/nazmul/... on macOS). If worktrees or their .git files are mirrored across systems with different home directory roots, Git will fail on the remote host with:

fatal: not a git repository: (null)

which causes any tests or tools that invoke git (such as cargo-rustdoc-fmt validation tests in build-infra) to fail.

To prevent this:

  1. Always enable relative worktree paths globally:
    git config --global worktree.useRelativePaths true
    
    Or explicitly pass --relative when creating a worktree:
    git worktree add --relative ../<worktree_folder> <branch>
    
  2. To repair existing worktrees with absolute path mismatches:
    cd ~/github/roc
    git config worktree.useRelativePaths true
    git worktree repair
    
    Git will detect the absolute path mismatch and convert all linked worktrees to relative paths in place.

Read the full file on GitHub · 142 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago Changed db0059429db8
  2. 15d ago Changed · +53 lines · +2 tokens per session 916662dacc5c
  3. 1mo ago First seen · 89 lines · 29 tokens per session scan A d0d2708a79fb

Subscribe to this mod's changes

test-cross-platform is a skill published in the GitHub repository r3bl-org/r3bl-open-core (486 stars, last pushed yesterday), licensed Apache-2.0. It adds 31 tokens to every session and 1,640 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-09.