dexter-jp AGENTS.md

dexter-jp AGENTS.md is an instructions file for Codex, OpenCode from edinetdb/dexter-jp. It costs 1,377 tokens per session, scanned A, original, MIT.

Repository guidance for Dexter JP, a command-line AI agent for researching Japanese listed companies using financial data, web search, browser access, and multiple language-model providers.

In plain words
What is it for?
Use it when developing Dexter JP's research workflows, financial queries, web scraping, model providers, command-line interface, skills, or evaluations.
Why use it?
It maps the agent, terminal interface, finance tools, search tools, browser, skills, and evaluation code so changes can be made in the right area.

Instructions file for CodexOpenCode

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 instructions/edinetdb/dexter-jp/agents-md
Clone the repo
git clone --depth 1 https://github.com/edinetdb/dexter-jp

Made for: Codex, OpenCode.

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 dexter-jp AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/edinetdb/dexter-jp/agents-md.svg)](https://agentmods.dev/instructions/edinetdb/dexter-jp/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/edinetdb/dexter-jp/agents-md"><img src="https://agentmods.dev/badge/instructions/edinetdb/dexter-jp/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,377 This file is loaded in full into every session.
When invoked 1,377 The same file — it is already loaded in full.
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.1 $0.01377 $0.01377
Opus 5 $0.00688 $0.00688
Sonnet 5 $0.00275 $0.00275
Haiku 4.5 $0.00138 $0.00138

Measured today against content hash 1a75aba0c116, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

dexter-jp AGENTS.md 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 today.

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.

AGENTS.md · 100 lines

How it starts

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

Repository Guidelines

  • Repo: https://github.com/edinetdb/dexter-jp
  • Dexter JP is a CLI-based AI agent for deep financial research on Japanese listed companies, built with TypeScript, Ink (React for CLI), and LangChain. Powered by EDINET DB API.

Project Structure

  • Source code: src/
    • Agent core: src/agent/ (agent loop, prompts, scratchpad, token counting, types)
    • CLI interface: src/cli.tsx (Ink/React), entry point: src/index.tsx
    • Components: src/components/ (Ink UI components)
    • Hooks: src/hooks/ (React hooks for agent runner, model selection, input history)
    • Model/LLM: src/model/llm.ts (multi-provider LLM abstraction)
    • Tools: src/tools/ (financial search, web search, browser, skill tool)
    • Finance tools: src/tools/finance/ (financials, text-blocks, earnings, shareholders, key-ratios, screening)
    • Search tools: src/tools/search/ (Exa preferred, Tavily fallback)
    • Browser: src/tools/browser/ (Playwright-based web scraping)
    • Skills: src/skills/ (SKILL.md-based extensible workflows, e.g. DCF valuation)
    • Utils: src/utils/ (env, config, caching, token estimation, markdown tables)
    • Evals: src/evals/ (LangSmith evaluation runner with Ink UI)
  • Config: .dexter/settings.json (persisted model/provider selection)
  • Environment: .env (API keys; see env.example)

Build, Test, and Development Commands

  • Runtime: Bun (primary). Use bun for all commands.
  • Install deps: bun install
  • Run: bun run start or bun run src/index.tsx
  • Dev (watch mode): bun run dev
  • Type-check: bun run typecheck
  • Tests: bun test
  • Evals: bun run src/evals/run.ts (full) or bun run src/evals/run.ts --sample 10 (sampled)

Coding Style & Conventions

  • Language: TypeScript (ESM, strict mode). JSX via React (Ink for CLI rendering).
  • Prefer strict typing; avoid any.
  • Keep files concise; extract helpers rather than duplicating code.
  • Add brief comments for tricky or non-obvious logic.
  • Do not add logging unless explicitly asked.
  • Do not create README or documentation files unless explicitly asked.

Read the full file on GitHub · 100 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. today Changed · +2 lines · +82 tokens per session 1a75aba0c116
  2. 6d ago First seen · 98 lines · 1,295 tokens per session scan A d569f6c8a675

Subscribe to this mod's changes

dexter-jp AGENTS.md is an instructions file published in the GitHub repository edinetdb/dexter-jp (304 stars, last pushed yesterday), licensed MIT. It adds 1,377 tokens to every session, about $0.0069 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-30.

Related

Other instructions, from other repositories

deepagents AGENTS.md

AGENTS.md instructions for langchain-ai/deepagents, covering global development guidelines for the deep agents monorepo, corridor security analysis, development workflow, suppressing ruff rules and pr conventions.

langchain-ai/deepagents · 2,268 tokens

opik copilot-instructions.md

Copilot instructions for comet-ml/opik, covering copilot code review instructions, project overview, 1. git workflow & branch management, branch naming convention and commit message standards.

comet-ml/opik · 5,043 tokens

openagent CLAUDE.md

Claude Code instructions for the-open-agent/openagent, covering claude.md, commands, architecture, backend (go / beego) and frontend (react).

the-open-agent/openagent · 1,049 tokens

langchain-aws AGENTS.md

AGENTS.md instructions for langchain-ai/langchain-aws, covering global development guidelines for the langchain monorepo, project architecture and context, langchain-aws structure, key components and langgraph-checkpoint-aws structure.

langchain-ai/langchain-aws · 1,740 tokens

InvestSkill GEMINI.md

Gemini CLI instructions for yennanliu/InvestSkill, covering investskill — gemini cli setup & usage guide, installation & setup, quick start, navigate to the investskill directory and start gemini cli (loads gemini.md automatically).

yennanliu/InvestSkill · 3,074 tokens

Swarm AGENTS.md

Instructions for christopherkarani/Swarm, covering agent instructions, public repository hygiene and development rules.

christopherkarani/Swarm · 377 tokens