Agent skill

Rust Modern Modules

by AkimioJR in AkimioJR/AutoFilm

Enforce modern Rust module file layout. An agent skill from AkimioJR/AutoFilm.

Custom licenceAuto-check passedDevelopment

Install Rust Modern Modules

skills CLI
$ npx skills add AkimioJR/AutoFilm --skill rust-modern-modules -a claude-code

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

GitHub CLI
$ gh skill install AkimioJR/AutoFilm rust-modern-modules --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/AkimioJR/AutoFilm.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/rust-modern-modules .claude/skills/rust-modern-modules && 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
rust-modern-modules
GitHub stars
1.1k
Token cost
~323 tokens
SKILL.md length
133 words
Files
2
Skills in repo
3
Repo updated
First seen
Licence
Custom licence

At a glance

Enforce modern Rust module file layout. An agent skill from AkimioJR/AutoFilm.

  • Works in 5 steps: Inspect nearby Rust modules before… → If both layouts are viable, choose… → If refactoring an existing mod.rs, avoid… → …
  • Refactors Rust modules
  • SKILL.md covers Rule, Workflow and Examples
  • Calls cargo

What it does

Rust Modern Modules is an agent skill from AkimioJR/AutoFilm. Enforce modern Rust module file layout. Use when Codex creates, splits, moves, or refactors Rust modules, especially when deciding between mod.rs and foo.rs plus foo/bar.rs layouts.

Its SKILL.md is about 320 tokens, which your agent loads only when the skill is triggered. The skill folder holds 2 other files (for example `agents/openai.yaml`).

It sits in Development, covering Refactoring. It works with Rust. The repository describes itself as: 一个为Emby、Jellyfin提供生成strm、动漫追番、绘制媒体库海报的小工具.

When your agent uses it

  • Refactors Rust modules
  • Especially when deciding between mod.rs and foo.rs plus foo/bar.rs layouts

Example prompts

  • “/rust-modern-modules”

Workflow steps

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

  1. Inspect nearby Rust modules before creating files.
  2. If both layouts are viable, choose foo.rs as the parent module and foo/*.rs for children.
  3. If refactoring an existing mod.rs, avoid moving it unless the user asked for a layout cleanup or the move is necessary for the task.
  4. Keep module declarations private by default: use mod child; first, then widen to pub mod child; only when external access is needed.
  5. Run cargo fmt after moving or creating Rust module files.

What it can do on your machine

Read from SKILL.md and the folder at commit a77d03a. 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

    Shell commands in SKILL.md call:

    • cargo

    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

Rust Modern Modules loads about 323 tokens when it runs. Until then it costs about 52 tokens; SKILL.md has 133 words of instructions outside code blocks.

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

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

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 133 words (~323 tokens).

name
rust-modern-modules

Read the full SKILL.md on GitHub

Files

SKILL.md and 1 other file in .agents/skills/rust-modern-modules of AkimioJR/AutoFilm.

  • SKILL.md
  • agents/openai.yaml

Open the folder on GitHubat commit a77d03a

Compare with similar skills

Rust Modern Modules 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.

Rust Modern Modules compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Rust Modern Modules this skillAkimioJR/AutoFilm1.1k—~323Automated safety check: PassCustom licence
Migrate Core Code to Submodulestinyhumansai/openhuman42k—~2.6kAutomated safety check: PassGPL-3.0
Rust Best Practicesfarm-fe/farm5.6k3 repos~1.1kAutomated safety check: PassMIT
RTK Rust Design Patternsrtk-ai/rtk83k—~1.9kAutomated safety check: PassApache-2.0
RTK Rust Code Simplifierrtk-ai/rtk83k—~1.1kAutomated safety check: PassApache-2.0
Rust Hygiene Audittsz-org/tsz577—~1.5kAutomated safety check: PassApache-2.0

Similar skills

  • Migrate Core Code to Submodules

    tinyhumansai/openhuman

    Plans and carries out moving non-host-specific code and its tests from the OpenHuman core into vendored tiny submodule libraries, then releases the submodule and re-pins the host.

    42k GitHub stars~2.6k tokensUpdated today
    DevelopmentAuto-check passed
  • Guide for writing idiomatic Rust code based on Apollo GraphQL's best practices handbook.

    5.6k GitHub starsUsed in 3 repos~1.1k tokens
    DevelopmentAuto-check passed
  • Describes seven Rust design patterns for the RTK CLI filter modules, with when to use each, RTK examples, and notes on when a pattern is overkill.

    83k GitHub stars~1.9k tokensUpdated today
    DevelopmentAuto-check passed
  • Reviews RTK's Rust code for over-engineering and verbose patterns, applying idioms like iterator chains and early returns while protecting a specific list of constraints from being simplified away.

    83k GitHub stars~1.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Run a deep DRY + code-hygiene audit of the Rust workspace and turn the findings into verified, deduplicated, hierarchical GitHub tech-debt issues.

    577 GitHub stars~1.5k tokensUpdated 29 days ago
    DevelopmentAuto-check passed
  • Coding Agent

    mastra-ai/mastra

    Authoring playbook for building agents that write, edit, review, or refactor code.

    29k GitHub stars~2.3k tokensUpdated today
    DevelopmentAuto-check passed

More from AkimioJR/AutoFilm

  • Git Atomic Commit

    AkimioJR/AutoFilm

    Plan and create atomic Git commits for larger workspace changes.

    1.1k GitHub stars~613 tokensUpdated 6 days ago
    Auto-check passed
  • Git Commit Message

    AkimioJR/AutoFilm

    Write or review Git commit messages for this workspace. An agent skill from AkimioJR/AutoFilm.

    1.1k GitHub stars~393 tokensUpdated 6 days ago
    Auto-check passed

Works with

Categories

Questions about Rust Modern Modules

What does Rust Modern Modules do?

Enforce modern Rust module file layout. An agent skill from AkimioJR/AutoFilm. Rust Modern Modules is an agent skill from AkimioJR/AutoFilm. Enforce modern Rust module file layout.

When should I use Rust Modern Modules?

Rust Modern Modules fits situations like: refactors Rust modules; especially when deciding between mod.rs and foo.rs plus foo/bar.rs layouts.

How do I install Rust Modern Modules in Claude Code?

Run `npx skills add AkimioJR/AutoFilm --skill rust-modern-modules -a claude-code`. Or copy the skill folder (.agents/skills/rust-modern-modules in AkimioJR/AutoFilm) into .claude/skills/rust-modern-modules in your project. Claude Code loads it when a task matches its description.

How do I install Rust Modern Modules in Codex?

Run `npx skills add AkimioJR/AutoFilm --skill rust-modern-modules -a codex`. Or copy the skill folder (.agents/skills/rust-modern-modules in AkimioJR/AutoFilm) into .agents/skills/rust-modern-modules in your project. Codex loads it when a task matches its description.

Can I use Rust Modern Modules 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 AkimioJR/AutoFilm --skill rust-modern-modules -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/rust-modern-modules, .gemini/skills/rust-modern-modules, .github/skills/rust-modern-modules and .opencode/skills/rust-modern-modules in your project.

What does Rust Modern Modules need to run?

Going by SKILL.md and its folder, Rust Modern Modules needs the command-line tools its instructions call (cargo).

Does Rust Modern Modules 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 Rust Modern Modules 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 Rust Modern Modules use?

Rust Modern Modules has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does Rust Modern Modules use?

About 323 tokens (SKILL.md is roughly 1.3k 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 Rust Modern Modules?

Skills that share tags, products or a category with Rust Modern Modules: Migrate Core Code to Submodules (tinyhumansai/openhuman, 42k stars), Rust Best Practices (farm-fe/farm, 5.6k stars), RTK Rust Design Patterns (rtk-ai/rtk, 83k stars) and RTK Rust Code Simplifier (rtk-ai/rtk, 83k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Rust Modern Modules?

AkimioJR (a GitHub user) maintains it in AkimioJR/AutoFilm, which has 1,055 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 3, 2026.

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