Install any skill in seconds. Free to start, no credit card required.
Get Started Free →nexu-io/code-import
Read an existing repository's structure into the project cwd as a normalised snapshot the agent can analyse without re-walking the tree on every turn.
Passed 16 of 20 test cases with the skill, and 5 of 20 without it.
and 13 more in the full report
13 fixed6 passed either way5 still failing0 broke
Tokens, turns and time describe resource use, not a dollar price.
One of 12 test cases the skill fixed. Same model, same prompt, with and without the skill.
When `code/index.json` is generated for `/workspace/backend-service`, which top-level field indicates whether pnpm, npm, or yarn lockfiles were present?
| Checked | Without skill | With skill |
|---|---|---|
| The lockfile type is stored in the lockfileKind field. | Missed | Passed |
The instructions your model reads when the skill loads.
Spec §10 / §21.3.2: a code-migration / tune-collab run starts from a
real repo (cloned via od project import or a path the user
provided). This atom turns the raw checkout into a normalised
on-disk record that subsequent atoms (design-extract,
rewrite-plan, patch-edit) operate against. The point is to
stop re-walking the tree on every turn — the agent reads
code/index.json once and trusts the snapshot until the next
explicit re-import.
| Source | Required | Notes |
|---|---|---|
repoPath | yes | Absolute path to the repo's root, supplied via od project import or an upstream od.context.assets[] reference |
targetStack | yes | { framework, packageManager, styleSystem, componentLibrary } via the matching form GenUI surface |
project-cwd/
└── code/
├── index.json # { files: { path, size, language, imports[] }[], packageJson?, lockfileKind, framework, styleSystem }
├── components.json # detected components with file path + props snapshot
├── routes.json # detected routing model (next/app, react-router, vite-router, …)
└── meta.json # { repoPath, gitSha, walkedAt, atomDigest, walkBudgetMs }
code/index.json is the input every other Phase 7 atom reads. The
walk respects the runner's budgetMs option (default 60s) so
large monorepos don't burn an entire run on import.
The atom completes when code/index.json exists and contains at
least one entry. Empty repos abort with a clear error event so the
user re-imports.
test cases passed, vs 5 / 20 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.