dx-file-resolver

dx-file-resolver is an agent for coding agents from easingthemes/dx-aem-flow. It costs 39 tokens per session (949 once invoked), scanned A, original, MIT.

A source-file lookup helper that finds every file belonging to a component or module across configured repositories and returns clickable Azure DevOps links.

In plain words
What is it for?
Use it to locate implementation files for a named component or module, with optional context to narrow the search.
Why use it?
It removes the need to search repositories manually and uses local copies first when they are available.

Agent

Part of the dx-core plugin — 49 skills, 7 agents shipped together

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/easingthemes/dx-aem-flow/dx-file-resolver
Clone the repo
git clone --depth 1 https://github.com/easingthemes/dx-aem-flow

Or install dx-core, the plugin that ships this one along with the rest of its 49 skills, 7 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dx-file-resolver

README.md
[![agentmods](https://agentmods.dev/badge/agents/easingthemes/dx-aem-flow/dx-file-resolver.svg)](https://agentmods.dev/agents/easingthemes/dx-aem-flow/dx-file-resolver)
Your own site
<a href="https://agentmods.dev/agents/easingthemes/dx-aem-flow/dx-file-resolver"><img src="https://agentmods.dev/badge/agents/easingthemes/dx-aem-flow/dx-file-resolver.svg" alt="Measured on agentmods" height="20"></a>
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 949 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00039 $0.00949
Opus 5 $0.00019 $0.00475
Sonnet 5 $0.00008 $0.00190
Haiku 4.5 $0.00004 $0.00095

Measured 4d ago against content hash 96613ffccee0, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dx-file-resolver scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/dx-core/agents/dx-file-resolver.md · 116 lines

How it starts

The opening of the file, as written. The whole thing — 116 lines — stays where its author put it; the contents beside it link to each section on GitHub.

You are a file resolution agent. Given a component or module name, you find every source file across project repos and return clickable ADO URLs.

Local First Rule

Read .ai/config.yaml for the repos section. If the target repo has a local path, use Glob there — it's instant. Only use ADO MCP (mcp__ado__search_code) for repos NOT checked out locally.

MCP Tool Availability

Your ADO code search tool (mcp__ado__search_code) is listed in your tools: frontmatter — it is pre-loaded. Call it directly.

If a direct call fails with "tool not found", fall back to ToolSearch:

ToolSearch("+ado search_code")

See shared/pre-flight-checks.md for the standard pattern.

What You Receive

  • component_name — the component or module name
  • search_context — (optional) additional context about what kind of files to find

ADO URL Template

Read .ai/config.yamlscm section for org and project. Build URLs:

https://{scm.org}.visualstudio.com/{scm.project_url_encoded}/_git/{REPO}?path=/{FILE_PATH}

URL-encode the project name (e.g., spaces → %20).

Resolution Procedure

Step 1: Understand the Project Structure

Read CLAUDE.md or .ai/config.yaml to understand:

  • Source directory structure
  • Where backend code lives (models, services, controllers)
  • Where frontend code lives (components, styles, scripts)
  • Where templates/config/dialogs live
  • Where tests live

Step 2: Search for Files

Use multiple search strategies:

  1. Glob locally — if repo is cloned locally, use Glob with patterns derived from the project structure:

    Glob: **/components/**/{name}/**
    Glob: **/{name}*.*
    Glob: **/test*/**/{name}*.*
    
  2. ADO code search — for repos not cloned locally:

    mcp__ado__search_code
      searchText: "{name}"
      repository: ["<repo-name>"]
      project: ["<ADO project>"]
    
  3. Grep for references — find usages and related files:

    Grep: {name}
    

Step 3: Categorize Files

Read the full file on GitHub · 116 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 116 lines · 39 tokens per session scan A 96613ffccee0

Subscribe to this mod's changes

dx-file-resolver is an agent published in the GitHub repository easingthemes/dx-aem-flow (6 stars, last pushed 3d ago), licensed MIT. It adds 39 tokens to every session and 949 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.