sec-opendata-th: Instructions file for Gemini CLI

GEMINI.md

sec-opendata-th GEMINI.md is an instructions file for Gemini CLI from nutdnuy/sec-opendata-th. It costs 382 tokens per session, scanned A, original, MIT.

A set of operating instructions for using Thailand’s SEC Open Data repository through its Python command-line tool.

In plain words
What is it for?
Use it when retrieving data about funds, financial reports, licences, provident funds, investments, ESG, or other SEC Open Data areas.
Why use it?
It gives coding agents a consistent way to search funds, call SEC data endpoints, handle paginated results, and preserve coverage across SEC categories.

Instructions file for Gemini CLI

Written for Gemini CLI: the file is GEMINI.md. Also seen: mentions AGENTS.md.

This is nutdnuy/sec-opendata-th's own configuration. It tells Gemini CLI how to work on sec-opendata-th 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 sec-opendata-th configures →

Reuse

Borrowing it

Nothing to install: this file belongs to nutdnuy/sec-opendata-th. 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/nutdnuy/sec-opendata-th/master/GEMINI.md
Clone the repo
git clone --depth 1 https://github.com/nutdnuy/sec-opendata-th

Made for: Gemini CLI.

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 sec-opendata-th GEMINI.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/nutdnuy/sec-opendata-th/gemini-md/github.svg)](https://agentmods.dev/instructions/nutdnuy/sec-opendata-th/gemini-md)
Your own site
<a href="https://agentmods.dev/instructions/nutdnuy/sec-opendata-th/gemini-md"><img src="https://agentmods.dev/badge/instructions/nutdnuy/sec-opendata-th/gemini-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 sec-opendata-th GEMINI.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/nutdnuy/sec-opendata-th/gemini-md"><img src="https://agentmods.dev/badge/instructions/nutdnuy/sec-opendata-th/gemini-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 382 This file is loaded in full into every session.
When invoked 382 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 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.00382 $0.00382
Opus 5.5 $0.00153 $0.00153
Sonnet 5.5 $0.00076 $0.00076
Haiku 4.5 $0.00038 $0.00038

Measured today against content hash 96e923431cdf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

sec-opendata-th GEMINI.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.

GEMINI.md · 31 lines

What it actually says

Gemini / Antigravity Instructions

Follow AGENTS.md. Treat this repository as the source of truth for SEC Open Data Thailand access across all AI tools.

Use the Python CLI for data pulls:

.venv/bin/python -m secopendata categories
.venv/bin/python -m secopendata amc-search "กสิกร"
.venv/bin/python -m secopendata fund-search "K-CHANGE" --status Registered
.venv/bin/python -m secopendata request --method GET --path /v1/<category>/<path>
.venv/bin/python -m secopendata request --method GET --path /v2/fund/factsheet/performance --cursor-paginate
.venv/bin/python -m secopendata request --method POST --path /v1/<category>/<path> --json '{"Name":""}'

Use skills/sec-open-api/SKILL.md as the reusable operating guide. Preserve generic /v1 endpoint coverage for digital assets, funds, Licence Check, One Report, provident funds, debt, equity, ESG, operators/professionals, investors, and future SEC portal categories. Use --cursor-paginate for v2 endpoints that return next_cursor and items.

For /onBording or missing credentials, follow skills/sec-onboarding/SKILL.md; have the user run the hidden-input setup in their own terminal. Reuse existing configuration and inspect only redacted status. For offline lookups, use skills/sec-fund-search/SKILL.md.

Resolve fund and AMC names from the bundled offline catalog before asking for a subscription key. Use the live API when the user needs fresher data or details that are not present in the compact catalog.

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 · +5 lines · +65 tokens per session 96e923431cdf
  2. 2mo ago First seen · 26 lines · 317 tokens per session scan A dfe001a2be64

Subscribe to this mod's changes

sec-opendata-th GEMINI.md is an instructions file published in the GitHub repository nutdnuy/sec-opendata-th (8 stars, last pushed today), licensed MIT. It adds 382 tokens to every session, about $0.0015 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-08-31.

Related

sec-opendata-th GEMINI.md compared with instructions from other repositories

sec-opendata-th GEMINI.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
sec-opendata-th GEMINI.mdnutdnuy/sec-opendata-thInstructions file8todayMITA382Gemini CLI
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143ktodayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode