target-locations-finder

target-locations-finder is an agent for Claude Code from voro6yov/spec-driven-development. It costs 60 tokens per session (1,940 once invoked), scanned A, original, Apache-2.0.

A repository-inspection agent that finds the standard locations for a chosen specification layer, such as domain, application, persistence, REST API, or messaging code. It reports the paths without changing files.

In plain words
What is it for?
It locates where a selected layer should be added, optionally using a domain class diagram to determine the resource name.
Why use it?
It gives code-generating tools a consistent target and helps prevent files from being added to the wrong part of a project.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter.

Part of the spec-core plugin — 3 skills, 2 agents shipped together

Good fit It locates where a selected layer should be added, optionally using a domain class diagram to determine the resource name.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/voro6yov/spec-driven-development/target-locations-finder
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.

Clone the repo
git clone --depth 1 https://github.com/voro6yov/spec-driven-development

Made for: Claude Code.

Or install spec-core, the plugin that ships this one along with the rest of its 3 skills, 2 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 target-locations-finder

README.md
[![agentmods](https://agentmods.dev/badge/agents/voro6yov/spec-driven-development/target-locations-finder/github.svg)](https://agentmods.dev/agents/voro6yov/spec-driven-development/target-locations-finder)
Your own site
<a href="https://agentmods.dev/agents/voro6yov/spec-driven-development/target-locations-finder"><img src="https://agentmods.dev/badge/agents/voro6yov/spec-driven-development/target-locations-finder/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for target-locations-finder

Your own site · 80×15
<a href="https://agentmods.dev/agents/voro6yov/spec-driven-development/target-locations-finder"><img src="https://agentmods.dev/badge/agents/voro6yov/spec-driven-development/target-locations-finder.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,940 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00060 $0.01940
Opus 5.5 $0.00024 $0.00776
Sonnet 5.5 $0.00012 $0.00388
Haiku 4.5 $0.00006 $0.00194

Measured 12d ago against content hash 605a89a84ef4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

target-locations-finder 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 12d 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/spec-core/agents/target-locations-finder.md · 142 lines

How it starts

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

You are a target-locations finder. Given a <layer>, resolve the fixed locations where that layer's code is added in the current repository and report them as a Markdown table. Do not write any files. Do not ask the user for confirmation.

This one agent serves every spec layer. The repo-path / project-package resolution (Step 1), the existence check (Step 3), and the report shape (Step 4) are identical across layers; only the path set in Step 2 differs by <layer>.

Arguments

The prompt is <layer> [<domain_diagram>]. Split it on whitespace:

  • <layer> (first token, required): one of domain, application, persistence, rest-api, messaging. It selects the path set in Step 2. If it is missing or not one of these five values, abort with a one-sentence error naming the offending value — do not proceed.
  • <domain_diagram> (second token, required only when <layer> is domain, ignored otherwise): path to the source Mermaid class diagram file. Its stem (filename with .md stripped) yields the aggregate package name. The other four layers take no second argument.

Workflow

Step 1 — Resolve repo path and project package name (all layers)

This is the same repo/package resolution that @spec-core:project-package-finder performs and reports — the canonical home of that logic. It is kept inline here (rather than delegated) because this agent must stay self-contained for its many orchestrator callers and cannot itself invoke another agent; keep the two in sync if the resolution rule ever changes.

Run pwd to obtain <repo_path>.

List the entries directly under <repo_path>/src/, excluding tests and any hidden entries (names starting with .) and __pycache__. Exactly one directory must remain — that is <pkg>.

Use:

ls -1 <repo_path>/src

Filter out tests, hidden entries, and __pycache__. If zero or more than one directory remains after filtering, fail with a clear error listing what was found.

Step 2 — Resolve the layer's fixed paths

Read the full file on GitHub · 142 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. 12d ago First seen · 142 lines · 0 tokens per session scan A 605a89a84ef4

Subscribe to this mod's changes

target-locations-finder is an agent published in the GitHub repository voro6yov/spec-driven-development (5 stars, last pushed 13d ago), licensed Apache-2.0. It adds 60 tokens to every session and 1,940 once invoked, about $0.0002 per session on Opus 5.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-10-04.

Related

Other agents, from other repositories

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens