chanlun-engine-skill AGENTS.md

chanlun-engine-skill AGENTS.md is an instructions file for Codex, OpenCode from adsorgcn/chanlun-engine-skill. It costs 289 tokens per session, scanned A, original, MIT.

An AI-agent skill for calculating technical-analysis structures and trading signals for Chinese A-share stocks from market data. It uses fixed scripts to identify patterns and output states such as buy candidate, hold, sell, or wait.

In plain words
What is it for?
Use it to download daily stock data, calculate the defined market structures, and report signals with the price level that invalidates them.
Why use it?
It keeps calculations consistent and prevents the agent from manually guessing patterns from a price chart.

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/adsorgcn/chanlun-engine-skill/agents-md
Clone the repo
git clone --depth 1 https://github.com/adsorgcn/chanlun-engine-skill

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 chanlun-engine-skill AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/adsorgcn/chanlun-engine-skill/agents-md.svg)](https://agentmods.dev/instructions/adsorgcn/chanlun-engine-skill/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/adsorgcn/chanlun-engine-skill/agents-md"><img src="https://agentmods.dev/badge/instructions/adsorgcn/chanlun-engine-skill/agents-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 289 This file is loaded in full into every session.
When invoked 289 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 $0.00289 $0.00289
Opus 5 $0.00144 $0.00144
Sonnet 5 $0.00058 $0.00058
Haiku 4.5 $0.00029 $0.00029

Measured 4d ago against content hash 237852746e8e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

chanlun-engine-skill 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 4d 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 · 19 lines

What it actually says

chanlun-engine-skill

本仓库是一个 Agent Skill:用确定性脚本计算 A 股缠论结构(分型/笔/线段/中枢/买卖点/背驰), 输出四态操作判定(买入候选/持有/卖出减仓/等待观察)与失效价位。

规则入口:读 SKILL.md 并严格遵守其中的硬性禁令与新手引导流程。 核心纪律:脚本算一切结构与判定,你只解读转述;禁止自己看K线心算缠论。

常用命令(在仓库根目录):

python scripts/setup_env.py --recommended        # 环境自检+装免费行情源
python scripts/get_data.py --symbol 600519 --out k.csv   # 取日K(自动选数据源)
python scripts/chan_engine.py --symbol 600519.SH --csv k.csv   # 结构+判定 JSON

Codex 用户安装为技能:把本仓库放入 .agents/skills/chanlun-engine-skill/(项目级) 或 ~/.agents/skills/chanlun-engine-skill/(用户级),或用 $skill-installer install <本仓库URL>

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. 4d ago First seen · 19 lines · 289 tokens per session scan A 237852746e8e

Subscribe to this mod's changes

chanlun-engine-skill AGENTS.md is an instructions file published in the GitHub repository adsorgcn/chanlun-engine-skill (8 stars, last pushed 10d ago), licensed MIT. It adds 289 tokens to every session, about $0.0014 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.