Agent skill

Repo Map

by LunCoSim in LunCoSim/lunco-sim

Orient within the LunCoSim workspace: repository layout, crate ownership, runnable binaries, API launch modes, and the right evidence path for a task.

Apache-2.0Auto-check passedDevelopment

Install Repo Map

skills CLI
$ npx skills add LunCoSim/lunco-sim --skill repo-map -a claude-code

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

GitHub CLI
$ gh skill install LunCoSim/lunco-sim repo-map --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/LunCoSim/lunco-sim.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/repo-map .claude/skills/repo-map && 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
repo-map
GitHub stars
107
Token cost
~2.9k tokens
SKILL.md length
1,034 words
Files
1
Skills in repo
40
Repo updated
First seen
Licence
Apache-2.0

At a glance

Orient within the LunCoSim workspace: repository layout, crate ownership, runnable binaries, API launch modes, and the right evidence path for a task.

  • Choosing an app
  • SKILL.md covers When a capability is hard to…, Top-level layout, Binaries — which one do I run? and Talking to a running app…, plus 3 more sections
  • Calls cargo
  • Locating a feature

What it does

Repo Map is an agent skill from LunCoSim/lunco-sim. Orient within the LunCoSim workspace: repository layout, crate ownership, runnable binaries, API launch modes, and the right evidence path for a task. Use when choosing an app, locating a feature or crate, launching the simulator, workbench, or server, using headless mode, or avoiding an ambiguous bare cargo run. It distinguishes production luncosim scene and visual evidence from numeric headless execution, identifies lunica as the Modelica workbench, explains the canonical API port, and points to the…

Its SKILL.md is about 2.9k 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 Development, covering Codebase onboarding. The repository describes itself as: Collaborative Multiphysics Cosimulator For Space Missions 🌎🚀🌚. The licence is Apache-2.0.

When your agent uses it

  • Choosing an app
  • Locating a feature
  • Launching the simulator
  • Using headless mode

Example prompts

  • “/repo-map”

What it can do on your machine

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

Repo Map loads about 2.9k tokens when it runs. Until then it costs about 142 tokens; SKILL.md has 1,034 words of instructions outside code blocks.

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

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 LunCoSim/lunco-sim at commit 43f1301, republished under its Apache-2.0 licence (© LunCoSim). 1,034 words, ~2,911 tokens.

Download SKILL.mdSave it as .claude/skills/repo-map/SKILL.md (or your agent's skills folder).
name
repo-map
description
Orient within the LunCoSim workspace: repository layout, crate ownership, runnable binaries, API launch modes, and the right evidence path for a task. Use when choosing an app, locating a feature or crate, launching the simulator, workbench, or server, using headless mode, or avoiding an ambiguous bare `cargo run`. It distinguishes production `luncosim` scene and visual evidence from numeric headless execution, identifies `lunica` as the Modelica workbench, explains the canonical API port, and points to the authoritative application and crate indexes.

Repo map — layout, binaries, and when to use them

A Rust/Bevy Cargo workspace: 60+ library crates + a handful of app binaries, plus assets, docs, specs, and skills. This skill is the fast orientation; the two authoritative, always-current indexes are:

When those disagree with anything here, they win.

When a capability is hard to find

This map routes to owners; it is not an exhaustive capability list. Before calling a feature missing, use capability-discovery: search the relevant skills and docs, then crates/, assets/, registrations/callers, maintained dependencies, and the live API/runtime. Search alternate vocabulary and standard USD schema/property names before adding a new command, field, tool, or crate. Report the exact searched scope and distinguish “not found” from “not verified” or “externally blocked”.

Top-level layout

DirWhat's in it
crates/All Rust code — libraries and the app binaries (there is no apps/ dir).
assets/Runtime data: scenes/ (USD), models/ (Modelica .mo), scripting/ (rhai prelude/examples/tools), tutorials/, ui/ (runtime-authored HTML/CSS-like surfaces), vessels/, shaders/, props/, missions/, config/.
docs/architecture/ (numbered design docs), apps/, tutorials/, crates-index.md, scripting-guide.md, principles.md.
specs/Numbered feature specs (NNN-name/spec.md) — the intent behind subsystems.
skills/Agent skills (this one, author-scenario, authoring-vessel-controllers, run-modelica, test-via-api, lunco-ui, runtime-ui, lunco-theme).
mcp/Node MCP server wrapping the HTTP API as tools for AI agents.
scripts/build*.sh, check_*.sh (lints/wasm), api/ (HTTP helpers), deploy/, perf/.

Binaries — which one do I run?

Pick by task, not by habit:

I want to…RunWhy
Ground physics / rovers / USD scenes / Modelica / visual evidenceluncosimThe production scene/runtime binary; use it for scene tests, screenshots, and visual acceptance.
Numeric headless simulation / CI automationluncosim-serverThe same simulation through run_headless(), with no GUI evidence; use it for numeric/API automation.
Author / compile / simulate Modelica models, browse source librarieslunicaThe Modelica workbench (⚠️ NOT the main sim).
Download / verify / process external assetslunco-assets + lunco-assets-{transport,download,processing}-- download|list|process; explicit workers/CLI compose shared transport, atomic installation, and native processors.

Launch the installed production executable, or explicitly select a checkout build when source validation is the goal. Workspace default-members make a bare cargo run ambiguous — always pass a target:

bash
# GitHub/release install on PATH (or override with an absolute installed path).
export LUNCOSIM_BIN="${LUNCOSIM_BIN:-luncosim}"
export LUNCOSIM_SERVER_BIN="${LUNCOSIM_SERVER_BIN:-luncosim-server}"
export LUNICA_BIN="${LUNICA_BIN:-lunica}"
"$LUNCOSIM_BIN"
"$LUNCOSIM_BIN" --api 4101
"$LUNCOSIM_SERVER_BIN" --api 4101

# Source checkout alternative: build, then override the variables before use.
# cargo build -p lunco-luncosim --bin luncosim -j 4
# export LUNCOSIM_BIN=target/debug/luncosim
# cargo build -p lunco-luncosim-server --bin luncosim-server -j 4
# export LUNCOSIM_SERVER_BIN=target/debug/luncosim-server

"$LUNICA_BIN" --api 4101

# Source checkout alternative for the Modelica workbench:
# cargo build -p lunco-modelica-ui --bin lunica -j 4
# export LUNICA_BIN=target/debug/lunica

Utility / dev bins: modelica_run (lunco-modelica-execution, headless Modelica CLI → CSV), modelica_library_indexer (lunco-modelica-assets, rebuild the Modelica-library search index — re-run after a source-library change), lunica_worker (lunco-modelica-execution, wasm compile worker, bundled not run), build_modelica_library_assets (lunco-modelica-assets), net_smoke (lunco-luncosim, production transport smoke test). Authored luncosim behavior tests run through luncosim test plus their Rhai scenarios. Details: docs/apps/README.md.

Talking to a running app (agents)

The windowed apps that embed the API bridge (luncosim, lunica, and anything with LunCoApiPlugin) honor:

  • --api [PORT] — enable the HTTP automation API. Default port 4101. This is mandatory for luncosim visual/runtime validation; use an explicit free port. (lunco_api_contracts::DEFAULT_API_PORT); the MCP config points here via LUNCO_API_PORT. Without --api, no network surface.

  • --no-ui — headless (skip winit/egui, run the shared sim loop).

  • --scene <path> — (luncosim) load a USD scene on boot; path is relative to the assets/ root (do not prefix with assets/).

Use production luncosim for scene-test and visual evidence. Use luncosim-server (or luncosim --no-ui) for numeric/headless evidence only; headless runs cannot prove screenshots, rendering, or visual acceptance. Keep the binary, revision, readiness state, and evidence type explicit in reports; these evidence paths are complementary, not interchangeable.

Drive it: POST /api/commands with {"type":"ExecuteCommand","command":"<Name>","params":{...}}; discover the live command set with DiscoverSchema (it's introspected, never hard-coded). Full recipe in the run-modelica / test-via-api skills.

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

Crate domains at a glance

Crates are grouped into 8 domains in docs/crates-index.md. Use this to jump to the right one; read the index for the full responsibility.

DomainCrates ownKey crates
Core foundationprimitives, session/authority substrate, docs/journal, time, storage, hashing, cache, settings, themelunco-core, lunco-core-session, lunco-doc, lunco-twin-journal, lunco-time, lunco-storage, lunco-hash
Simulation enginecelestial, environment, terrain, experiments, cosimlunco-celestial, lunco-cosim, lunco-experiments, lunco-terrain-*
Vessel control & hardwaresemantic input, mobility, robotics, avatar, FSW/OBC/hardware, controllerlunco-input-core, lunco-mobility, lunco-controller, lunco-cosim
USD integrationOpenUSD↔Bevy: authored document, operation core, geometry, visuals, physics, joint admission, sim schemas, actuation, materialslunco-usd-document, lunco-usd-core, lunco-usd-geometry, lunco-usd-commands, lunco-usd-bevy, lunco-usd-avian, lunco-usd-avian-joints, lunco-usd-actuation, lunco-materials
Networking & APItransport, transport-neutral replication, scenario wire contracts, HTTP API, telemetry, attributeslunco-networking, lunco-networking-core, lunco-networking-scenario, lunco-networking-sync, lunco-api, lunco-telemetry-core, lunco-telemetry
Workbench & UIIDE shell, shell-independent widgets, optional guided presentation, runtime-authored HUI/Flair surfaces, reusable Twin/Files browser, viz, 2D canvas, edit tools, focused transform gizmo, render intent/recovery, web bootlunco-workbench, lunco-workbench-core, lunco-workbench-widgets, lunco-workbench-guided-ui, lunco-workbench-runtime-ui, lunco-workbench-browser, lunco-ui, lunco-viz, lunco-canvas, lunco-luncosim-edit-core, lunco-luncosim-edit-gizmo-ui, lunco-luncosim-edit-ui, lunco-render-recovery
Scripting & modelingModelica, event-driven Rhai, tools, hooks, behavior trees, authored lessonslunco-modelica-core, lunco-modelica-ui-core, lunco-modelica-ui, lunco-scripting, lunco-scripting-rhai-world, lunco-scripting-rhai-runtime, lunco-scripting-rhai-core, lunco-scripting-rhai, lunco-tools, lunco-hooks, lunco-behavior, lunco-luncosim
Applicationsthe entry-point binaries aboveluncosim, luncosim-server, lunica

Where does X live? (routing)

Looking for…Go to
A subsystem's design/intentdocs/architecture/NN-*.md (numbered) or specs/NNN-*/spec.md
Which crate owns a responsibilitydocs/crates-index.md
How to run/launch anythingdocs/apps/README.md
Writing rover/vehicle behavior (rhai)skill author-scenario + docs/scripting-guide.md
Authoring a reloadable Twin-facing UIskill runtime-ui + docs/architecture/runtime-authored-ui.md
A self-driving vessel / GNC / autopilotskill authoring-vessel-controllers
Running Modelica / experiments over the APIskill run-modelica
Verifying a change end-to-end via the APIskill test-via-api
Runtime data (scenes, models, scripts)assets/ (see layout table)
Build/lint/deploy helpersscripts/

Gotchas / naming traps

  • No apps/ directory — every binary lives in a crates/<crate>/src/{main.rs,bin/}.
  • lunica ≠ the main sim. It is the Modelica workbench (crates lunco-modelica-ui (workbench), lunco-modelica-ui-core (shared UI contracts), lunco-modelica-core (runtime host), and lunco-modelica-execution (workers)); luncosim is the ground-physics simulator and luncosim-server is its headless launcher.
  • Web application features are explicit. build_web.sh and check_wasm.sh select api,ui for lunica and api-transport,networking,ui for luncosim, without native transport-http. Native file watching stays in the UI host's native Bevy dependencies.
  • Do not launch LunCoSim through cargo run. Build the named package/bin, then execute $LUNCOSIM_BIN directly. Bare cargo run is also ambiguous because the default members are lunco-luncosim and lunco-modelica-ui.
  • lunco-luncosim produces the luncosim binary (crate name ≠ binary name); luncosim-server is a separate crate (lunco-luncosim-server) that exists only to default to headless.
  • API port is 4101 by default; always pass an explicit free port when another session owns it.
  • Don't pkill a running app to restart — use the API Exit command (see test-via-api).
  • Composition roots: lunco-luncosim-core owns the dependency-light Bevy substrate; lunco-luncosim-simulation owns renderer-independent domain composition; lunco-luncosim-services owns startup/API/network/persistence services; lunco-luncosim-runtime composes the substrate, simulation, services, and application scripting/policy integration; lunco-luncosim composes runtime with lunco-luncosim-ui for the GUI; lunco-luncosim-server launches runtime directly. USD stage composition is owned by lunco-usd-bevy::flatten_stage.

© LunCoSim, Apache-2.0. 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 skills/repo-map of LunCoSim/lunco-sim.

Open the folder on GitHubat commit 43f1301

Compare with similar skills

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

Repo Map compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Repo Map this skillLunCoSim/lunco-sim107—~2.9kAutomated safety check: PassApache-2.0
Codebase Knowledge Graph Q&AEgonex-AI/Understand-Anything86k—~1.2kAutomated safety check: PassMIT
Understand ExplainEgonex-AI/Understand-Anything86k—~1.3kAutomated safety check: PassMIT
Project Onboarding Guide from Knowledge GraphEgonex-AI/Understand-Anything86k—~1.2kAutomated safety check: PassMIT
GitDiagram Repository Overviewahmedkhaleel2004/gitdiagram18k—~427Automated safety check: PassMIT
Deepwiki Rssopaco/deepwiki-rs3.1k—~748Automated safety check: PassMIT

Similar skills

  • Codebase Knowledge Graph Q&A

    Egonex-AI/Understand-Anything

    Answers questions about a codebase by searching a prebuilt knowledge graph of its files, functions, classes and dependencies, not by rereading every source file.

    86k GitHub stars~1.2k tokensUpdated today
    DevelopmentAuto-check passed
  • Understand Explain

    Egonex-AI/Understand-Anything

    Gives an in-depth explanation of one file, function or module by reading the project's knowledge graph and checking that the graph is still fresh.

    86k GitHub stars~1.3k tokensUpdated today
    DevelopmentAuto-check passed
  • Writes an onboarding guide for new team members from a project's existing knowledge graph, after checking that the graph still matches the current commit.

    86k GitHub stars~1.2k tokensUpdated today
    DevelopmentAuto-check passed
  • GitDiagram Repository Overview

    ahmedkhaleel2004/gitdiagram

    Explains the architecture of a public GitHub repository through GitDiagram: how the code is organized, the main components with paths, and a Mermaid diagram.

    18k GitHub stars~427 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Deepwiki Rs

    sopaco/deepwiki-rs

    AI-powered Rust documentation generation engine for comprehensive codebase analysis, C4 architecture diagrams, and automated technical documentation.

    3.1k GitHub stars~748 tokensUpdated 26 days ago
    DevelopmentAuto-check passed
  • Explore Codebase with Graph

    tirth8205/code-review-graph

    Navigates a codebase through the code-review-graph MCP tools: architecture overview, symbol search, caller and callee tracing, flows and oversized functions.

    32k GitHub starsUsed in 1 repo~335 tokens
    DevelopmentAuto-check passed

More from LunCoSim/lunco-sim

All 40 skills in this repo
  • Nightly Changelog

    LunCoSim/lunco-sim

    Generate concise LunCoSim nightly GitHub release notes with platform downloads, installation guidance, an AI-agent mission prompt, and a changelog link.

    107 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Build or repair a reusable scene component through a live LunCoSim Editor session.

    107 GitHub stars~4.4k tokensUpdated today
    Auto-check passed
  • Assembly Quality

    LunCoSim/lunco-sim

    Build or review a componentized LunCoSim USD assembly with a realistic, dimensionally checkable presentation.

    107 GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Author Rhai Tests

    LunCoSim/lunco-sim

    Author and review LunCoSim behavioral, asset-backed, component, mission, visual, and requirements-verification tests.

    107 GitHub stars~3.5k tokensUpdated today
    Auto-check passed
  • Author Rhai Tool

    LunCoSim/lunco-sim

    Create, extend, register, or debug a reusable LunCoSim Rhai tool library for live USD authoring, component linting, inspection, or test support.

    107 GitHub stars~5.2k tokensUpdated today
    Auto-check passed
  • Author Tutorial

    LunCoSim/lunco-sim

    Author an interactive tutorial, guided lesson, onboarding flow, coach-mark tour, or objectives checklist in LunCoSim.

    107 GitHub stars~1.4k tokensUpdated today
    Auto-check passed

Categories

Questions about Repo Map

What does Repo Map do?

Orient within the LunCoSim workspace: repository layout, crate ownership, runnable binaries, API launch modes, and the right evidence path for a task. Repo Map is an agent skill from LunCoSim/lunco-sim. Orient within the LunCoSim workspace: repository layout, crate ownership, runnable binaries, API launch modes, and the right evidence path for a task.

When should I use Repo Map?

Repo Map fits situations like: choosing an app; locating a feature; launching the simulator; using headless mode.

How do I install Repo Map in Claude Code?

Run `npx skills add LunCoSim/lunco-sim --skill repo-map -a claude-code`. Or copy the skill folder (skills/repo-map in LunCoSim/lunco-sim) into .claude/skills/repo-map in your project. Claude Code loads it when a task matches its description.

How do I install Repo Map in Codex?

Run `npx skills add LunCoSim/lunco-sim --skill repo-map -a codex`. Or copy the skill folder (skills/repo-map in LunCoSim/lunco-sim) into .agents/skills/repo-map in your project. Codex loads it when a task matches its description.

Can I use Repo Map 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 LunCoSim/lunco-sim --skill repo-map -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/repo-map, .gemini/skills/repo-map, .github/skills/repo-map and .opencode/skills/repo-map in your project.

What does Repo Map need to run?

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

Does Repo Map 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 Repo Map 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 Repo Map use?

Repo Map is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Repo Map use?

About 2.9k tokens (SKILL.md is roughly 12k 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 Repo Map?

Skills that share tags, products or a category with Repo Map: Codebase Knowledge Graph Q&A (Egonex-AI/Understand-Anything, 86k stars), Understand Explain (Egonex-AI/Understand-Anything, 86k stars), Project Onboarding Guide from Knowledge Graph (Egonex-AI/Understand-Anything, 86k stars) and GitDiagram Repository Overview (ahmedkhaleel2004/gitdiagram, 18k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Repo Map?

LunCoSim (a GitHub organization) maintains it in LunCoSim/lunco-sim, which has 107 GitHub stars. The repository holds 40 skills in this directory. The repository was last updated on October 10, 2026.

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