aktools-pro: Instructions file for Codex

AGENTS.md

aktools-pro AGENTS.md is an instructions file for Codex, OpenCode from tchivs/aktools-pro. It costs 1,619 tokens per session, scanned A, original, from a forked repository, MIT.

A set of AGENTS.md instructions for developing the aktools-pro repository, a Python server that provides financial data tools to agents. It defines project structure, development procedures, and how different coding agents should work together.

In plain words
What is it for?
Use it when working on aktools-pro with Codex, Copilot, Claude Code, or OpenCode, especially for changes to its Python server, financial-data tools, caching, and documentation.
Why use it?
It gives coding agents repository-specific rules so they can make changes consistently with the project’s architecture and coding standards.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: mentions Claude Code; mentions AGENTS.md; mentions Codex.

This is tchivs/aktools-pro's own configuration. It tells Codex and OpenCode how to work on aktools-pro itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything aktools-pro configures β†’

Reuse

Borrowing it

Nothing to install: this file belongs to tchivs/aktools-pro. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/tchivs/aktools-pro/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/tchivs/aktools-pro

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 aktools-pro AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/tchivs/aktools-pro/agents-md/github.svg)](https://agentmods.dev/instructions/tchivs/aktools-pro/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/tchivs/aktools-pro/agents-md"><img src="https://agentmods.dev/badge/instructions/tchivs/aktools-pro/agents-md/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 aktools-pro AGENTS.md

Your own site Β· 80Γ—15
<a href="https://agentmods.dev/instructions/tchivs/aktools-pro/agents-md"><img src="https://agentmods.dev/badge/instructions/tchivs/aktools-pro/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 1,619 This file is loaded in full into every session.
When invoked 1,619 The same file β€” it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file β€” not that it is safe.
Origin fork From a forked repository.
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.01619 $0.01619
Opus 5.5 $0.00648 $0.00648
Sonnet 5.5 $0.00324 $0.00324
Haiku 4.5 $0.00162 $0.00162

Measured 1mo ago against content hash a7fc904e9a49, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

aktools-pro 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 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.

AGENTS.md Β· 144 lines

How it starts

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

AGENTS.md - Cross-Agent Development Guide

This document defines the Standard Operating Procedures (SOPs) for Agentic assistants (OpenCode Sisyphus, Claude Code, and Codex/Copilot) operating in the aktools-pro repository.

πŸ€– Multi-Agent Compatibility Protocol

Agent Source of Truth Primary Behavior
OpenCode (Sisyphus) AGENTS.md Follow Phase-based SOPs
Claude Code MCP Tool Metadata Update @mcp.tool descriptions
Codex / Copilot .cursorrules & Types Strict adherence to PEP 8 and Type Hints

🎯 Role & Mission

You are Sisyphus, a senior engineer orchestrating financial data tools. Your mission is to maintain a high-quality MCP server that bridges the gap between raw financial data and AI reasoning.

πŸ— Project Architecture

  • Framework: FastMCP (Python-based).
  • Structure:
    • mcp_aktools/server.py: MCP server instance
    • mcp_aktools/__init__.py: Main entry point with CLI
    • mcp_aktools/cache.py: Dual-layer caching (Memory + Disk)
    • mcp_aktools/shared/: Shared utilities, constants, fields
    • mcp_aktools/tools/: Tool implementations
      • stocks.py: Stock-related tools
      • crypto.py: Cryptocurrency tools
      • market.py: Market data tools
      • portfolio.py: Portfolio management
      • analysis.py: Analysis & visualization tools
    • mcp_aktools/resources.py: MCP resources
    • mcp_aktools/prompts.py: MCP prompts
    • tests/: Test suite

πŸ›  Standard Operating Procedures (SOPs)

Phase 1: Intent Gate & Assessment

Before any implementation, classify the task to select the right approach:

  • Quick: Typo fixes, simple field additions to existing tools.
  • Ultrabrain: Complex strategy implementation, backtesting logic, or multi-step financial reasoning.
  • Visual Engineering: Improving draw_ascii_chart or Markdown output formatting.

Phase 2: Exploration & Research

  • Internal: Use file search and code reading to find existing @mcp.tool patterns.
  • External: Check akshare documentation if a specific financial indicator is missing.
  • Pattern: Proactively check skill://trading/logic/technical-analysis resource for existing SOPs before calculating new indicators.

Read the full file on GitHub Β· 144 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. 1mo ago First seen Β· 144 lines Β· 1,619 tokens per session scan A a7fc904e9a49

Subscribe to this mod's changes

aktools-pro AGENTS.md is an instructions file published in the GitHub repository tchivs/aktools-pro (6 stars, last pushed 8mo ago), licensed MIT. It adds 1,619 tokens to every session, about $0.0065 per session on Opus 5.5. A static security scan graded it A with 0 findings. It comes from a forked repository.

Related

Other instructions, from other repositories

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode Β· 9,715 tokens

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js Β· 7,461 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, cache eligibility and rollout and applying the notice (cutover).

microsoft/vscode Β· 5,262 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain Β· 4,680 tokens

vscode copilot-instructions.md

Copilot instructions for microsoft/vscode, covering vs code copilot instructions, project overview, root folders, core architecture (src/ folder) and built-in extensions (extensions/ folder).

microsoft/vscode Β· 2,731 tokens

deno copilot-instructions.md

Copilot instructions for denoland/deno, covering deno development guide for github copilot, network access, high level overview, key directories and key files to understand first.

denoland/deno Β· 3,077 tokens