Who it is forA developer or writer in Aside who wants an inventory of files of one type, such as every Markdown note, from a large folder.
The problemBuilding the list with find through bash is slower on large trees, and the agent has to parse noisy output.
The outcomeThe agent gets the matching paths as a clean list, returned in the same call.
What you need first
- Node.js 18 or newer
- Aside installed with its daemon running on macOS or Windows
- ripgrep on the PATH for the CLI route (the MCP route uses Aside's bundled ripgrep automatically)
- Browsing turned on in Aside for the browser batch use case
Steps
- Run
npm install -g aside-codemode - Run
codemode --install-mcp - Run
codemode --doctorand confirm the state reads activated - Ask the agent to use the file search actions in execute_code to list paths matching the pattern you want (inferred, check the README)
Prompt for your agent
Use the aside-codemode execute_code tool to list every file matching <pattern> under <root folder> and return the paths. Verify the path count against a find run on a small subfolder.
Caveat. The README's listing timing is from one tree of 39,831 paths, and the exact file-name action is not named in the README, so confirm the action name with --doctor or the tool description first.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for lidge-jun/aside-codemode and "List files of one type across a large folder fast"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer