Agent skill

Frb Cargokit

by fzyzcjy in fzyzcjy/flutter_rust_bridge

Explain how cargokit is sourced, copied, and analyzed inside flutterrustbridge.

MITAuto-check passedMobile

Install Frb Cargokit

skills CLI
$ npx skills add fzyzcjy/flutter_rust_bridge --skill frb-cargokit -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install fzyzcjy/flutter_rust_bridge frb-cargokit --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/fzyzcjy/flutter_rust_bridge.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/frb-cargokit .claude/skills/frb-cargokit && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
frb-cargokit
GitHub stars
5.4k
Token cost
~1.1k tokens
SKILL.md length
552 words
Files
1
Skills in repo
28
Repo updated
First seen
Licence
MIT

At a glance

Explain how cargokit is sourced, copied, and analyzed inside flutterrustbridge.

  • Works in 2 steps: External source → Copied outputs
  • Working on integrationtemplate//cargokit
  • SKILL.md covers Overview, Mental Model, Source Of Truth and Synchronizing Copies, plus 4 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Frb Cargokit is an agent skill from fzyzcjy/flutter_rust_bridge. Explain how cargokit is sourced, copied, and analyzed inside flutterrustbridge. Use when working on integrationtemplate//cargokit, frbexample//cargokit, integrate/generate output drift, or any diff that mentions cargokit and you need to identify the true source of truth before judging the change.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Mobile, covering Cross-platform mobile apps. It works with Rust and Flutter. The repository describes itself as: Flutter/Dart <- Rust binding generator, feature-rich, but seamless and simple. The licence is MIT.

When your agent uses it

  • Working on integrationtemplate//cargokit
  • Frbexample//cargokit
  • Integrate/generate output drift
  • Any diff that mentions cargokit and you need to identify the true source of truth before judging the change

Example prompts

  • “/frb-cargokit”

Workflow steps

2 steps, taken from the first numbered list in SKILL.md.

  1. External source
  2. Copied outputs

What it can do on your machine

Read from SKILL.md and the folder at commit 848e438. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Frb Cargokit loads about 1.1k tokens when it runs. Until then it costs about 81 tokens; SKILL.md has 552 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~81
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from fzyzcjy/flutter_rust_bridge at commit 848e438, republished under its MIT licence (© fzyzcjy). 552 words, ~1,150 tokens.

Download SKILL.mdSave it as .claude/skills/frb-cargokit/SKILL.md (or your agent's skills folder).
name
frb-cargokit
description
Explain how cargokit is sourced, copied, and analyzed inside flutter_rust_bridge. Use when working on `integration_template/**/cargokit`, `frb_example/**/cargokit`, integrate/generate output drift, or any diff that mentions cargokit and you need to identify the true source of truth before judging the change.

FRB Cargokit

Overview

Use this skill to avoid mixing together three different things: the external cargokit repository, the template submodule pointers in FRB, and copied cargokit files inside generated examples.

The main job is to determine which layer a change belongs to before analyzing whether the change is correct.

Mental Model

There are two important cargokit forms inside FRB:

  1. External source FRB depends on an external cargokit repository through git submodules under frb_codegen/assets/integration_template/**/cargokit.

  2. Copied outputs FRB commands such as integrate/generate often copy concrete cargokit files into frb_example/**/cargokit or frb_example/**/rust_builder/cargokit.

This means a large cargokit diff in examples often does not mean FRB designed a large new cargokit behavior. It may only mean a template or submodule change propagated into copied outputs.

Source Of Truth

Treat these paths as the source of truth when deciding cargokit behavior:

  • frb_codegen/assets/integration_template/app/rust_builder/cargokit
  • frb_codegen/assets/integration_template/plugin/cargokit

Treat these paths as downstream copies unless the evidence shows otherwise:

  • frb_example/**/cargokit/**
  • frb_example/**/rust_builder/cargokit/**

Do not start by judging copied example files in isolation. First determine which source submodule pointer or template content produced them.

Synchronizing Copies

Use ./frb_internal sync-cargokit-copies to refresh checked-in Cargokit copies from the template submodules when those copies are not already regenerated by the integrate CI. The command mirrors the Rust integration template writer's Cargokit filtering and copied-file prelude.

Do not add flutter_via_create, flutter_via_integrate, or flutter_package to this sync map; the integrate generation CI already recreates those examples from templates. The CI Generate :: Internal job runs this as part of ./frb_internal generate-internal --set-exit-if-changed --coverage, so the normal generate-internal diff gate also catches Cargokit copy drift. If Cargokit copies drift, fix the source-of-truth template/submodule first when appropriate, run ./frb_internal sync-cargokit-copies, and commit the resulting copied-output refresh.

Show full SKILL.md (274 more words)Show less

Diff Analysis Order

When a user asks "what happened to cargokit?" follow this order:

  1. Identify the layer. Decide whether the diff is a submodule pointer update, a template file change, or copied output churn.

  2. If the change is a submodule pointer update, inspect the two external cargokit commits first. Compare the old and new submodule SHAs inside the submodule repository before saying anything about the FRB-side diff.

  3. Only then inspect copied example files. Ask whether they merely reflect the upstream change or whether FRB also introduced independent local edits.

  4. Separate semantic changes from churn. Distinguish real logic changes from format-only refreshes, lockfile updates, scaffold refreshes, and regenerated outputs.

What To Say Explicitly

When answering, state which of these is true:

  • "This is an external cargokit change exposed by a submodule pointer update."
  • "This is downstream copy churn caused by integrate/generate."
  • "This repository also has local copied cargokit edits in examples."

If discussing correctness, tie the judgment to the correct layer:

  • For submodule updates, judge the diff between the two external SHAs.
  • For copied outputs, judge whether the copy is expected and synchronized.
  • Do not infer upstream intent from a regenerated example diff alone.

Common Mistakes

Avoid these mistakes:

  • Treating frb_example/**/cargokit/** as the primary implementation source.
  • Assuming a large example diff implies a large semantic cargokit change.
  • Analyzing copied files before checking the submodule pointer diff.
  • Mixing "FRB updated the pointer" with "FRB locally rewrote cargokit."

Scope Boundary

This skill explains ownership, propagation, and diff interpretation.

Use frb-code-generation when you need to know which generation command to run. Use frb-debugging when generation or cargokit-related behavior is failing and needs deeper investigation.

© fzyzcjy, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .claude/skills/frb-cargokit of fzyzcjy/flutter_rust_bridge.

Open the folder on GitHubat commit 848e438

Compare with similar skills

Frb Cargokit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Frb Cargokit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Frb Cargokit this skillfzyzcjy/flutter_rust_bridge5.4k—~1.1kAutomated safety check: PassMIT
Puremusicqingyueyin/Pure-music188—~907Automated safety check: PassGPL-3.0
Core API Changelibnativeapi/nativeapi166—~2.5kAutomated safety check: PassMIT
Winapp CLIboshi-xixixi/TraeSkill276—~1.9kAutomated safety check: PassMIT
Spec To Repoalirezarezvani/claude-skills28k—~2.7kAutomated safety check: NotesMIT
Engine Whats Newflutter/flutter180k—~978Automated safety check: PassBSD-3-Clause

Similar skills

  • Puremusic

    qingyueyin/Pure-music

    Pure-music 项目开发指南,覆盖 Windows Flutter/Dart 前端、Rust 后端、音频播放、歌词解析与渲染、桌面歌词、主题背景、设置、FFI、文档和测试。处理此仓库的代码理解、问题诊断、功能开发、缺陷修复、性能优化或代码审查时使用。

    188 GitHub stars~907 tokensUpdated today
    MobileAuto-check passed
  • Core API Change

    libnativeapi/nativeapi

    Carry a change to the C++ public API in core/ all the way downstream — design check, header edit, six platform implementations, C ABI + Rust/Dart/C/JS/Python regeneration, per-binding verification…

    166 GitHub stars~2.5k tokensUpdated today
    MobileAuto-check passed
  • Winapp CLI

    boshi-xixixi/TraeSkill

    Windows App Development CLI (winapp) for building, packaging, signing, debugging, and UI-automating Windows applications.

    276 GitHub stars~1.9k tokensUpdated 5 mo ago
    MobileAuto-check passed
  • Spec To Repo

    alirezarezvani/claude-skills

    A skill your agent uses when the user says 'build me an app', 'create a project from this spec', 'scaffold a new repo', 'generate a starter', 'turn this idea into code', 'bootstrap a project', 'I…

    28k GitHub stars~2.7k tokensUpdated 1 mo ago
    Backend & APIsAuto-check: notes
  • Engine Whats New

    flutter/flutter

    Generates the "what's new" release summary and diff file for changes in the Flutter engine (//engine/src/flutter) between two releases (e.g., 3.47 vs 3.44).

    180k GitHub stars~978 tokensUpdated today
    MobileAuto-check passed
  • Flutter Cherry Pick

    flutter/flutter

    How to land a formal cherry-pick of a merged PR for the flutter/flutter repo stable or beta channel.

    180k GitHub stars~1.8k tokensUpdated today
    MobileAuto-check passed

More from fzyzcjy/flutter_rust_bridge

All 28 skills in this repo
  • Frb Add Contributor

    fzyzcjy/flutter_rust_bridge

    Add or reconcile flutterrustbridge contributors through all-contributors PRs.

    5.4k GitHub stars~1.6k tokensUpdated yesterday
    Auto-check passed
  • Frb Android Emulator Prepare

    fzyzcjy/flutter_rust_bridge

    A skill your agent uses when preparing, installing, diagnosing, or explaining the host Android Emulator environment for flutterrustbridge local runtime validation, including Android SDK command-line…

    5.4k GitHub stars~2.1k tokensUpdated yesterday
    Auto-check: notes
  • Frb Cargokit Dev

    fzyzcjy/flutter_rust_bridge

    Develop or update CargoKit for flutterrustbridge. An agent skill from fzyzcjy/flutter_rust_bridge.

    5.4k GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Frb Categorize Code Diff

    fzyzcjy/flutter_rust_bridge

    A skill your agent uses when classifying a flutterrustbridge branch or PR diff into test and non-test changes, including colocated Rust test modules.

    5.4k GitHub stars~524 tokensUpdated yesterday
    Auto-check passed
  • Frb CI Filter

    fzyzcjy/flutter_rust_bridge

    A skill your agent uses when running focused flutterrustbridge GitHub Actions CI via cifilter, adding/removing the ci-manual-dispatch PR label, choosing exact CI jobs or matrix entries, documenting…

    5.4k GitHub stars~2.4k tokensUpdated yesterday
    Auto-check passed
  • Frb Code Generation

    fzyzcjy/flutter_rust_bridge

    A skill your agent uses when modifying Rust APIs, codegen, generated examples, or platform scaffolds in flutterrustbridge to select generation commands and preserve source-of-truth and convergence…

    5.4k GitHub stars~1.5k tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Frb Cargokit

What does Frb Cargokit do?

Explain how cargokit is sourced, copied, and analyzed inside flutterrustbridge. Frb Cargokit is an agent skill from fzyzcjy/flutter_rust_bridge. Explain how cargokit is sourced, copied, and analyzed inside flutterrustbridge.

When should I use Frb Cargokit?

Frb Cargokit fits situations like: working on integrationtemplate//cargokit; frbexample//cargokit; integrate/generate output drift; any diff that mentions cargokit and you need to identify the true source of truth before judging the change.

How do I install Frb Cargokit in Claude Code?

Run `npx skills add fzyzcjy/flutter_rust_bridge --skill frb-cargokit -a claude-code`. Or copy the skill folder (.claude/skills/frb-cargokit in fzyzcjy/flutter_rust_bridge) into .claude/skills/frb-cargokit in your project. Claude Code loads it when a task matches its description.

How do I install Frb Cargokit in Codex?

Run `npx skills add fzyzcjy/flutter_rust_bridge --skill frb-cargokit -a codex`. Or copy the skill folder (.claude/skills/frb-cargokit in fzyzcjy/flutter_rust_bridge) into .agents/skills/frb-cargokit in your project. Codex loads it when a task matches its description.

Can I use Frb Cargokit in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add fzyzcjy/flutter_rust_bridge --skill frb-cargokit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/frb-cargokit, .gemini/skills/frb-cargokit, .github/skills/frb-cargokit and .opencode/skills/frb-cargokit in your project.

What does Frb Cargokit need to run?

SKILL.md names no scripts, command-line tools or credentials: Frb Cargokit is instructions for the agent only.

Does Frb Cargokit access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Frb Cargokit safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Frb Cargokit use?

Frb Cargokit is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Frb Cargokit use?

About 1.1k tokens (SKILL.md is roughly 4.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Frb Cargokit?

Skills that share tags, products or a category with Frb Cargokit: Puremusic (qingyueyin/Pure-music, 188 stars), Core API Change (libnativeapi/nativeapi, 166 stars), Winapp CLI (boshi-xixixi/TraeSkill, 276 stars) and Spec To Repo (alirezarezvani/claude-skills, 28k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Frb Cargokit?

fzyzcjy (a GitHub user) maintains it in fzyzcjy/flutter_rust_bridge, which has 5,446 GitHub stars. The repository holds 28 skills in this directory. The repository was last updated on October 10, 2026.

Source: fzyzcjy/flutter_rust_bridge on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.