entry-gate

entry-gate is a skill for Claude Code, Codex from KCNyu/clawock. It costs 109 tokens per session (1,174 once invoked), scanned A, original, MIT.

A preliminary screening step for a stock or other investment that has not yet been researched or held. It checks whether enough reliable information exists to justify deeper research, separately from whether the investment looks good.

In plain words
What is it for?
Use it before researching a new candidate or taking exposure. It checks evidence quality, quote freshness, instrument details, and fixed disqualifying conditions, then routes the candidate onward or stops it.
Why use it?
It prevents spending a full research run or opening a new position when the company or instrument is not understandable or the available information is too weak or old.

Skill for Claude CodeCodex

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 skills/kcnyu/clawock/entry-gate
Any agent
npx skills add KCNyu/clawock --skill entry-gate
Clone the repo
git clone --depth 1 https://github.com/KCNyu/clawock

Made for: Claude Code, Codex.

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 entry-gate

README.md
[![agentmods](https://agentmods.dev/badge/skills/kcnyu/clawock/entry-gate.svg)](https://agentmods.dev/skills/kcnyu/clawock/entry-gate)
Your own site
<a href="https://agentmods.dev/skills/kcnyu/clawock/entry-gate"><img src="https://agentmods.dev/badge/skills/kcnyu/clawock/entry-gate.svg" alt="Measured on agentmods" height="20"></a>
Per session 109 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,174 The whole file, excluding the scripts and references it only reads on demand.
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.00109 $0.01174
Opus 5 $0.00055 $0.00587
Sonnet 5 $0.00022 $0.00235
Haiku 4.5 $0.00011 $0.00117

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

Security

Grade A, and why

entry-gate 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.

skills/entry-gate/SKILL.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.

Entry Gate

Manual, run once per candidate name. It is cheap on purpose: it decides whether the expensive work is worth doing, and its output routes straight into the full-report mode of the market's analysis skill.

Write memory/entry-gates/<TICKER>-<YYYY-MM-DD>.json and let the script decide. You supply findings and evidence; the verdict is computed.

What the script computes, and will overrule you on

  • information.grade (A/B/C) from the evidence source classes you cite;
  • quote_freshness from quote.as_of against assessed_at;
  • verdict and routing — a stated verdict that disagrees with the computed one is a validation error, not a note;
  • whether a hard veto's industry exception is actually encoded for this sector.

Vetoes are resolved before any check is counted, so checks_passed can never rescue a vetoed name.

Step 1 — quote and instrument kind

Use the workspace pipelines, never a web price:

clawock analyze-us {TICKER}   # US
clawock analyze-hk {TICKER}   # HK

quote.source_class must be one of the pipeline names, or validation fails outright. A quote older than 24h makes the verdict gray rather than pass.

Set instrument_kind. A leveraged ETF has no company fundamentals to grade: it takes the underlying_exposure / decay_and_regime / sizing_limit / liquidity checks and routes to leverage_look_through. When the ticker is in config/instruments.json, the registry's leverage_multiple overrules your declaration.

Step 2 — mechanism and key variables

mechanism is one sentence: who pays, why, and what makes it repeat. If you cannot write it from primary sources, that is the unintelligible_revenue_mechanism veto, not a writing problem.

Then 3–7 key_variables, each with why it decides the outcome — not a metric dump.

Step 3 — checks, each carrying evidence

Company: business_quality, moat, management_governance, valuation, dilution, downside. Every pass/fail needs at least one evidence_ids entry; unknown is the honest answer when you have not verified it, and it makes the verdict gray.

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. 4d ago First seen · 100 lines · 109 tokens per session scan A 9a6c67f6abab

Subscribe to this mod's changes

entry-gate is a skill published in the GitHub repository KCNyu/clawock (14 stars, last pushed today), licensed MIT. It adds 109 tokens to every session and 1,174 once invoked, about $0.0005 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 skills, from other repositories

company-research

A 股个股研究六阶段 SOP(profile → financials → estimates → valuation → risk → report),Phase 0 范围 = 财务估值闭环。当任务是研究 / 分析 / 评估一只或多只已指定代码的 A 股个股时使用;规定每阶段取哪些数据、调哪些 calc 函数、必须落盘什么产物、过什么 Gate。不用于:从市场中筛选标的、泛行业讨论、概念解释、给投资动作建议。.

simonlin1212/Vibe-Research · 115 tokens

data-access

A 股零鉴权取数手册。当需要真实的行情 / 市值 / 估值快照、季度报告期累计财务数据、机构一致预期 EPS、PE 历史序列、公告标题、日 K 线、交易日历时使用;只允许运行本 skill 登记的脚本取数(腾讯 / 新浪 / 同花顺 / baostock / 深交所 / 东财),禁止凭模型记忆给数,禁止自造爬虫。概念解释、观点讨论等不需要取数的话题不要加载。.

simonlin1212/Vibe-Research · 127 tokens

industry-chain

产业链下钻与不可替代性判定方法:以龙头为"需求入口"沿供应链逐层下钻(整机 / 龙头 → 部件 → 核心器件 → 材料 → 衬底与设备),用物理 / 材料约束(扩产周期、良率、认证周期、有无替代)当筛子找供给刚性的卡口;给每个标的贴不可替代性标签(techmoat / capacitymoat / both / 待补)并列证据;含"卡口越硬越贵"与预期差四问的校准。当任务涉及产业链位置、上下游、护城河、不可替代性、供给瓶颈、竞争格局时加载;单纯取数、估值计算、财报拆分等不涉及产业链结构的任务不要加载。只产出框架与证据表,不给投资动作建议。.

simonlin1212/Vibe-Research · 212 tokens

catalyst-risk

催化剂与风险的反证式写法:每个强结论必须先找反证;催化剂按"兑现型 / 预期型 / 周期型"分类并要求可验证的数据时点;风险按技术路线断层、客户集中、产能过剩与价格战、周期顶、预期透支(假便宜 PEG)、一致预期下修、治理与流动性、数据源冲突分类;裁决点的标准写法(什么数据出来会改变判断 + 下一个公开数据时点);知识档案旧结论的反证处理。当任务涉及风险、反证、催化剂、裁决点、预期兑现、什么会推翻结论时加载;单纯取数、估值计算、财报拆分等不需要反证框架的任务不要加载。只产出框架、概率与裁决点,不给投资动作建议。.

simonlin1212/Vibe-Research · 206 tokens

earnings-analysis

财报拆解手册:报告期累计值 → 单季(quarterize)→ 最新单季 / TTM / TTM 同比 / 环比的口径地图,扣非与归母的取舍(一次性损益),季节性与报告期对齐(分子分母同期),三表交叉核对(利润表 / 资产负债表 / 现金流量表),比率(毛利率 / 费用率 / 负债率)一律经 calc ratio,"转向看最新期、规模看 TTM"的判读模板与质量检查清单。当任务涉及财报、季报、业绩、利润拆分、同比环比、毛利率、现金流、扣非时加载;只查行情 / 公告 / 产业链结构、或只讨论概念不涉及财务数字的任务不要加载。取数层不做任何算术,所有派生数字出自 calc;不给投资动作建议。.

simonlin1212/Vibe-Research · 216 tokens

valuation

成长股估值口径手册(A 股为主,US/HK 通用):扣非×4 年化 PE、前瞻 PE、TTM PE 历史分位、PEG(扣非×4 PE ÷ 前瞻 CAGR)、前瞻 CAGR 与 TTM 同比交叉验证、一致预期分歧、四锚 PE 消化年数与"30 倍锚三铁律"、判读规则与常见错误。当任务涉及估值、PE、PEG、贵不贵、能不能消化、历史分位、一致预期时加载;只讨论概念、与估值无关的取数 / 行情 / 公告问题不要加载。所有数字一律经 calc/ 计算,本 skill 只管口径与判读,不给价格锚、不给投资动作建议。.

simonlin1212/Vibe-Research · 187 tokens