an
Open and operate Agent-Native workspace apps through Dispatch MCP, with inline app surfaces, browser-session authentication, and…
Open or create a repo-native visual documentation workspace backed by local Plan MDX files. Use when the user asks to visualize a repository, create durable visual docs for APIs/components/models/flows, launch a visual repo viewer, review repo docs like a visual IDE, or collect
Claude Code
$ npx -y skills add builderio/agent-native --skill visualize-repo --agent claude-code
Codex
$ npx skills add builderio/agent-native --skill visualize-repo -a codex -y
Cursor
$ npx skills add builderio/agent-native --skill visualize-repo -a cursor -y
Gemini CLI
$ npx skills add builderio/agent-native --skill visualize-repo -a gemini-cli -y
GitHub Copilot
$ npx skills add builderio/agent-native --skill visualize-repo -a github-copilot -y
OpenCode
$ npx skills add builderio/agent-native --skill visualize-repo -a opencode -y
Windsurf
$ npx skills add builderio/agent-native --skill visualize-repo -a windsurf -y
name: visualize-repo description: >- Open or create a repo-native visual documentation workspace backed by local Plan MDX files. Use when the user asks to visualize a repository, create durable visual docs for APIs/components/models/flows, launch a visual repo viewer, review repo docs like a visual IDE, or collect Plan comments that should become coding-agent changes. metadata: visibility: exported
`/visualize-repo` opens a local, source-controlled visual documentation layer for a repository. It is for durable repo understanding, not a one-off plan: components can have wireframes, APIs can have specs, models can have schema views, and reviewers can comment on those docs before sending work to a coding agent.
Run the Agent-Native CLI from the repo root:
npx @agent-native/core@latest visualize-repo --open
Useful variants:
npx @agent-native/core@latest visualize-repo init npx @agent-native/core@latest visualize-repo --target actions --target server/db/schema.ts npx @agent-native/core@latest visualize-repo check npx @agent-native/core@latest visualize-repo verify npx @agent-native/core@latest visualize-repo --no-open
The command writes or updates `agent-native.json` with an `apps.visualize-repo` local-files section, creates a starter MDX folder at `.agent-native/visual-docs/repo-overview`, then serves it through the Plan local bridge. The hosted Plan UI can render the review surface, but the plan source stays in local files and bridge comments stay in `comments.json`.
If `agent-native.json` does not exist, let the CLI bootstrap one. It scans for high-value starting points such as `actions/`, `app/components/`, `app/pages/`, `server/db/schema.ts`, `src/`, `packages/`, `templates/`, `docs/`, and `content/`. Keep the first run targeted. Prefer 5-20 visualized nodes over a generated wall of repo prose.
Use explicit targets when the user already knows the important surface:
npx @agent-native/core@latest visualize-repo \ --target actions/webhooks.ts \ --target server/db/schema.ts \ --target app/components/PromptComposer.tsx
1. Inspect `agent-native.json` and the generated `plan.mdx`. 2. Read the source anchors listed for each target before changing the visual docs. 3. Add only the visual blocks that earn their keep: `api-endpoint` for stable APIs, `data-model` for durable schema, `wireframe` for user-facing components/flows, `diagram` for architecture, and `annotated-code` for load-bearing implementation. 4. Run `npx @agent-native/core@latest visualize-repo check` after editing MDX. 5. Use `verify` before handoff when renderer correctness matters.
When acting on comments, treat local `comments.json` as the feedback inbox. Agent-targeted comments should become code changes plus matching MDX updates so the visual docs and executable code stay in sync.
`visualize-repo check` is local/offline lint. `visualize-repo --open` starts a localhost bridge and opens the Plan UI against local files; it does not publish the plan to hosted storage and performs no hosted Plan database writes. `visualize-repo verify` may send the MDX folder to the Plan app's public validation action so the real renderer schema can check it. For no hosted content egress, pass `--app-url` pointing at a local Plan app or skip `verify` and rely on `check`.
Do not call hosted Plan write tools for this workflow unless the user explicitly asks to publish or share the docs. Avoid `create-visual-plan`, `update-visual-plan`, `import-visual-plan-source`, `patch-visual-plan-source`, and `get-plan-feedback` for local repo docs; edit the MDX files directly and use the local bridge.
Agent-Native is an open-source TypeScript framework for building agents that pair autonomous work with a purpose-built UI. Define each capability once as an action: the agent uses it as a tool, and the UI calls it from code.
Open and operate Agent-Native workspace apps through Dispatch MCP, with inline app surfaces, browser-session authentication, and…
Use Agent-Native Assets for image and video generation requests, brand-safe asset search/export, and human-in-the-loop asset…
Use Content for repo-backed Markdown/MDX docs, blogs, resources, rich document editing, local components, shareable copies, and…
Visualize local Codex and Claude Code context usage, open a report, flag warnings, and suggest prompt/tooling optimizations.
Use Design for UI/UX exploration, side-by-side design directions, interactive prototype previews, user selection, iteration, and…
Rebuild website effects in your repo or Design with exact behavior and original code. Use when asked to remix, borrow, port,…
Behavioral guidelines to reduce common LLM coding mistakes. Use when writing, reviewing, or refactoring code to avoid…
Design and build AI agents for any domain. Use when users: (1) ask to "create an agent", "build an assistant", or "design an AI…