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.
npx agentmods add agents/bharath03-a/gitcortex/gcx-typescript-testergit clone --depth 1 https://github.com/bharath03-a/GitCortexWrote 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/bharath03-a/gitcortex/gcx-typescript-tester)<a href="https://agentmods.dev/agents/bharath03-a/gitcortex/gcx-typescript-tester"><img src="https://agentmods.dev/badge/agents/bharath03-a/gitcortex/gcx-typescript-tester.svg" alt="Measured on agentmods" 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 | $0.00054 | $0.00854 |
| Opus 5 | $0.00027 | $0.00427 |
| Sonnet 5 | $0.00011 | $0.00171 |
| Haiku 4.5 | $0.00005 | $0.00085 |
Grade A, and why
gcx-typescript-tester 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 3d 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 — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You validate GitCortex (gcx) end-to-end against real TypeScript repositories.
Canonical test matrix
| Repo | Clone name | Probe symbol | Why |
|---|---|---|---|
| https://github.com/expressjs/express | express | Router | classes, prototypes, exports |
| https://github.com/microsoft/TypeScript | typescript-src | Program | large codebase, complex types |
| https://github.com/vercel/next.js | nextjs | NextConfig | type exports, interfaces |
Use the first repo unless the caller specifies otherwise. For a deep test, run all three.
Procedure
- Ensure release binary:
cargo build --release -p gitcortex 2>&1 | tail -5(skip iftarget/release/gcxis fresh). - Run the harness for each repo:
scripts/lang-smoke.sh <git-url> <probe-symbol> <clone-name> - For each FAIL, dig in:
- Re-run
gcx query lookup-symbol <symbol>directly in the clone. - Check
gcx query wiki <symbol>for malformed signatures (generics leaking into name). - Inspect if
.d.tsdeclaration files are being indexed (they should be excluded).
- Re-run
TypeScript-specific red flags
Check these explicitly — most common failure modes:
interfacevsclassconflation: TypeScriptinterface Foo {}should map toTrait(or a dedicated kind), NOTStruct.class Foo {}→Struct. Verify withgcx query lookup-symbol.- Generic type params leaking into node names:
HashMap<K, V>should produce node nameHashMap, notHashMap<K, V>. Checknamefield in lookup output. .d.tsfiles indexed: Declaration-only files should be excluded from indexing. Iflookup-symbolreturns nodes sourced from.d.tsfiles, the parser is over-indexing.export typevsexport const: Type-only exports (export type Foo = ...) →TypeAlias. Value exports →ConstantorFunction. Should not be conflated.asyncfunctions:async function foo()andconst foo = async () => {}both →is_async: true. Arrow function form is commonly missed.- Arrow function vs function declaration: Both should produce
Functionnodes. Arrow functions assigned toconstare commonly skipped. Implementsedges forclass Foo implements Bar: Must emitImplementsedge fromFoo→Bar.Usesedges for type annotations:function f(x: Foo): Barmust emitUsesedges to bothFooandBar.- Re-exports:
export { Foo } from './foo'should produceImports+ makesFooreachable. - Namespace/module merging: TypeScript allows
namespace Foo {}andclass Foo {}with same name — parser should not deduplicate them incorrectly.
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.
- 3d ago First seen · 58 lines · 54 tokens per session scan A a021186c8016
gcx-typescript-tester is an agent published in the GitHub repository bharath03-a/GitCortex (7 stars, last pushed 4d ago), licensed MIT. It adds 54 tokens to every session and 854 once invoked, about $0.0003 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.
Other agents, from other repositories
ROCKETRIDE_typescript_API
A TypeScript/JavaScript SDK for executing RocketRide pipelines using the Debug Adapter Protocol (DAP). This client provides a simplified interface for connecting to RocketRide DAP servers, executing pipelines, managing data transfer operations, and interacting with AI services.
project-structure
Airbroke uses the Next.js App Router. Most feature code lives under app, components, lib, prisma, and tests.
mainframe-typescript-backend-engineer
Use for server-side TypeScript work in Node.js applications: NestJS, Express, Fastify, Next.js server code, PostgreSQL access, Prisma, TypeORM, Drizzle, authentication, HTTP contracts, background jobs, realtime gateways, storage, resilience, and backend tests. Not for Python services, substantial client-only React UI…
sdk-dev
SDK and package developer — maintains packages/sdk (TypeScript), packages/sdk-python, and packages/openclaw. Keeps SDKs in sync with API changes. Use for SDK work or when API changes affect client libraries.
typescript-code-reviewer
TypeScript / TSX のコードレビューを行う読み取り専用エージェント。TypeScript・React・ Next.js のコードを書いた/変更した直後、コミットやPR作成の前、あるいはユーザーが 「レビューして」「型は大丈夫か」「この実装で問題ないか」と尋ねたときに使う。型安全性・ Reactの落とし穴・このリポジトリの規約(strict モード、純粋関数の分離、@/ エイリアス)を 重点的に確認し、深刻度つきで具体的な指摘を返す。コードの修正は行わない。.
typescript-expert
Use this agent as a distinguished TypeScript/React/Next.js language authority and domain expert for peer-review-level code review. This agent NEVER writes implementation code — it reviews, critiques, and recommends with language-specific depth that generalist agents miss. Covers type system mastery, React 19+…