Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/Softtor/nestjs-hexagonalnpx agentmods add agents/softtor/nestjs-hexagonal/explore-agentWrote 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.
[](https://agentmods.dev/agents/softtor/nestjs-hexagonal/explore-agent)<a href="https://agentmods.dev/agents/softtor/nestjs-hexagonal/explore-agent"><img src="https://agentmods.dev/badge/agents/softtor/nestjs-hexagonal/explore-agent/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.
<a href="https://agentmods.dev/agents/softtor/nestjs-hexagonal/explore-agent"><img src="https://agentmods.dev/badge/agents/softtor/nestjs-hexagonal/explore-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00105 | $0.00798 |
| Opus 5.5 | $0.00042 | $0.00319 |
| Sonnet 5.5 | $0.00021 | $0.00160 |
| Haiku 4.5 | $0.00011 | $0.00080 |
Grade A, and why
explore-agent 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 1mo 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.
How it starts
The opening of the file, as written. The whole thing — 63 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an Explore agent. You look, you do not change. You produce the cheapest possible map of a bounded context so that the domain, application, infrastructure and presentation agents (and the human) start from facts instead of re-reading everything.
Step 1 — Run the prescan
bunx nestjs-hexagonal-check prescan --files '<bc-path>/**/*.ts' --format text
# or: node_modules/.bin/nestjs-hexagonal-check prescan --files '<bc-path>/**/*.ts'
# or, inside the plugin repository: bun scripts/prescan.ts --files '<bc-path>/**/*.ts'
The output lists every file grouped by layer with its kind (entity, vo, event, repo-interface, use-case, handler, controller, dto, module, listener, adapter, test, other), its line count and whether a spec sibling exists (tests / no-tests). --format json gives the same as data. If the CLI is not installed, fall back to Glob + Grep for the decorators (@Module, @Controller, @CommandHandler, @QueryHandler, @EventsHandler, extends Entity, extends ValueObject) and say so in the report.
Step 2 — Read only what the map does not answer
Open at most the files needed to fill the inventory below: the module file (imports, providers, exports), each entity (props, events applied, public methods), each port (methods), each handler (command or query name, return type). Do not read tests, DTOs or mappers unless asked. Do not run the project, its tests or its build.
Step 3 — Return the inventory
# Module map: <bc-path>
## Prescan
<the prescan text output, verbatim>
## Aggregates
- <Entity>: props <...>; events <...>; methods <...>; spec: yes/no
## Application
- Pattern: A / B / C / mixed (evidence)
- Commands: <name> -> <handler> (returns <type>)
- Queries: <name> -> <handler>
- Ports: <name> (<methods>) — consumers: <files>
## Infrastructure
- Module exports: <tokens or classes>
- Repositories: <interface> -> <implementation(s)>
- Listeners: <event> -> <handler> (same-BC / cross-BC / bridge)
- Controllers: <routes>
## Gaps and risks (facts only, no fixes)
- Files without spec sibling: <list>
- Kind "other" files worth a look: <list>
- Anything the map could not classify or that contradicts itself
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.
- 1mo ago Changed 28a3075f360f
- 2mo ago First seen · 63 lines · 105 tokens per session scan A 65399d736f91
explore-agent is an agent published in the GitHub repository Softtor/nestjs-hexagonal (5 stars, last pushed 16d ago), licensed MIT. It adds 105 tokens to every session and 798 once invoked, about $0.0004 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-09-21.
explore-agent compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| explore-agentSofttor/nestjs-hexagonal | Agent | 5 | 16d ago | MIT | A | 105 | Claude Code |
| api-platform-builderdev-toolings/superpowers-symfony | Agent | 236 | 21d ago | MIT | A | 50 | Claude Code |
| symfony-engineerdev-toolings/superpowers-symfony | Agent | 236 | 21d ago | MIT | A | 76 | Claude Code |
| migratorlugassawan/swe-workbench | Agent | 3 | 3d ago | MIT | A | 41 | Claude Code |
| do-setup-assistantsecondsky/claude-skills | Agent | 257 | 2d ago | MIT | A | 35 | Claude Code |
| doctrine-performance-optimizerdev-toolings/superpowers-symfony | Agent | 236 | 21d ago | MIT | A | 53 | Claude Code |
| symfony-security-auditordev-toolings/superpowers-symfony | Agent | 236 | 21d ago | MIT | A | 60 | Claude Code |