How it works
- You generate a
routes.csvfile describing your application’s pages. - You upload the CSV in the dashboard.
- The agent receives the route structure as context and references specific pages when guiding users.
Downloads
routes-template.csv
Starter CSV template. Fill in your pages and upload.
AI skill (file)
Download the skill for Cursor, Codex, or any AI editor.
Install in Cursor
One-click install as a reusable Cursor command.
Adding navigation routes
1
Generate your routes.csv
Create a
routes.csv file following the format below. You can:- One-click with Cursor — install the build-routes command and let the AI generate it from your codebase.
- Start from the template — download the routes-template.csv and fill in your own pages.
- Use the AI skill — download the build-routes skill for any AI coding editor.
- Build manually — follow the format specification and examples below.
2
Upload in the dashboard
Navigate to Navigation in the dashboard sidebar and upload your
routes.csv file.3
The agent uses it automatically
The navigation context is included in the agent’s system prompt. No additional configuration needed.
CSV format
Theroutes.csv file uses four columns:
Formatting rules
- The first row must be the header:
name,path,description,parameters - Every
namemust be unique across the file - Every
pathmust start with/ - Dynamic segments in
pathmust use:paramNamesyntax and have a matching entry inparameters - Only quote fields if they contain a comma
- Group related routes together for readability
Generating routes from your codebase
You can extract routes from common frontend frameworks:Next.js (App Router)
Next.js (App Router)
Each directory under Convert bracket syntax to colon syntax:
app/ with a page.tsx maps to a route. Dynamic segments use [paramName] folders.[userId] becomes :userId.React Router
React Router
Search your router configuration for Each
path properties:path value maps directly to a row in the CSV.Vue / Angular
Vue / Angular
Look for route arrays in your router config. Vue uses
path in routes: [...], Angular uses RouterModule.forRoot(...). The path format is the same.Manual discovery
Manual discovery
Navigate your application and record each page’s URL. Replace dynamic values (IDs, slugs) with
:paramName placeholders. Check your sidebar, navbar, tabs, and settings pages for the full list.Examples
A small application with a dashboard, settings, and user management:Auto-generate with AI
Let your AI coding agent scan your codebase and produce theroutes.csv for you.
- Cursor (one-click)
- Cursor (quick prompt)
- Any AI editor
Click the link below to install
build-routes as a reusable command in Cursor. You’ll be asked to review the command before it’s saved.Install build-routes command in CursorOnce installed, run the command from Cursor’s command palette anytime you need to regenerate routes.When to use navigation
Navigation is most useful when:- Your product has many pages and users frequently ask “where do I find X?”
- You want the agent to link directly to relevant pages in its answers
- Your site structure changes and you want the agent to stay current
Navigation routes are processed and stored per project. Re-upload your
routes.csv whenever your site structure changes.