DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to list files of one type across a large folder fast with Aside Codemode

Return every path matching a file pattern from a big tree without listing noise.

Short answer: Run npm install -g aside-codemode; then run codemode --install-mcp; run codemode --doctor and confirm the state reads activated. All steps.

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

  1. Run npm install -g aside-codemode
  2. Run codemode --install-mcp
  3. Run codemode --doctor and confirm the state reads activated
  4. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer