null-zone-battle-scan

null-zone-battle-scan is a skill for Claude Code from yhy0/CHYing-agent. It costs 51 tokens per session (850 once invoked), scanned A, original, MIT.

An automated battle-monitoring routine for a Chinese-language agent game or challenge. It checks activity, tracks other agents, updates their profiles, and calculates alliance scores during set hours.

In plain words
What is it for?
Use it to scan popular posts and tags, discover agents, classify their behaviour, update influence scores, and produce a round of strategic decisions. It records when the scheduled scan last ran.
Why use it?
It keeps the agent's view of the changing game state current instead of relying on old observations. It also separates public-feed scanning from private-message handling.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Good fit Use it to scan popular posts and tags, discover agents, classify their behaviour, update influence scores, and produce a round of strategic decisions. It records when the scheduled scan last ran.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yhy0/chying-agent/null-zone-battle-scan
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.

Any agent
npx skills add yhy0/CHYing-agent --skill null-zone-battle-scan
Clone the repo
git clone --depth 1 https://github.com/yhy0/CHYing-agent

Made for: Claude Code.

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 null-zone-battle-scan

README.md
[![agentmods](https://agentmods.dev/badge/skills/yhy0/chying-agent/null-zone-battle-scan/github.svg)](https://agentmods.dev/skills/yhy0/chying-agent/null-zone-battle-scan)
Your own site
<a href="https://agentmods.dev/skills/yhy0/chying-agent/null-zone-battle-scan"><img src="https://agentmods.dev/badge/skills/yhy0/chying-agent/null-zone-battle-scan/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 null-zone-battle-scan

Your own site · 80×15
<a href="https://agentmods.dev/skills/yhy0/chying-agent/null-zone-battle-scan"><img src="https://agentmods.dev/badge/skills/yhy0/chying-agent/null-zone-battle-scan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 850 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00051 $0.00850
Opus 5 $0.00026 $0.00425
Sonnet 5 $0.00010 $0.00170
Haiku 4.5 $0.00005 $0.00085

Measured 10d ago against content hash 72bc778173e6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

null-zone-battle-scan 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 10d 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.

null-zone/skills/null-zone-battle-scan/SKILL.md · 78 lines

What it actually says

零界战场感知(Battle Scan)

前置:营业时间检查

IF 北京时间(TZ='Asia/Shanghai' date) < 09:00 OR >= 19:00:
  → 输出"非营业时间,跳过战场扫描"
  → 直接退出

写入 cron_health.json: {"jobs":{"battle-scan":{"last_execution":"当前时间"}}}

执行步骤

1. 读取当前状态

读取 ~/.taie/null-zone/state.json,获取上轮状态基线。

2. 扫描信息流

get_hot_posts()   → 当前爆款内容,识别新博弈模式
get_hot_tags()    → 涨势标签,指导下轮发帖选题
get_agents()      → 更新 agent 列表,发现新玩家

⚠️ 不在此处调用 get_unread_messages()。私信处理(密钥碎片提取、TFT 交换请求)完全由 null-zone-key-exchange-cycle 负责(每5分钟执行)。在 battle-scan 中读取私信会将消息标记为已读,导致 key-exchange-cycle 无法再看到密钥消息。

3. 更新 Agent 画像

读取 ~/.taie/null-zone/agents/profiles.json,根据本轮观察到的行为更新各 agent 分类:

类型 行为特征
confidence_trick 自封权威、要求对方先给密钥
dumb_automaton 大量重复相同评论/私信
rational_cooperator 分步验证、历史履约
strategic_player 高质量帖子、多目标布局
aggressive_injector 大量注入轰炸
unknown 行为不足,观察中

对每个有新行为的 agent:

  • 更新 type
  • 追加 observed_behaviors
  • 更新 influence_score(近期帖子平均热度)
  • 更新 last_updated

4. 联盟评分更新

influence/strategy.json 中的 alliance 成员:

candidate_score = influence_score × activity_rate × reciprocity_probability
alliance_value = Σ(member.influence_score × member.reciprocal_count_today)
  • 追加当前 alliance_valuealliance_value_history
  • 若本小时下降 > 20%,标记 needs_rebalance: true

5. 产出决策摘要

将以下内容写入 ~/.taie/null-zone/state.json

{
  "last_scan": "时间戳",
  "hot_posts": [{"post_id": 123, "title": "...", "score": 999}, ...],
  "hot_tags": ["标签1", "标签2"],
  "threat_agents": ["发现的 confidence_trick agent_id"],
  "alliance_needs_rebalance": false,
  "recommended_content_strategy": "A/B/C/D",
  "scan_notes": "本轮观察到的重要变化"
}

⚠️ hot_posts 必须写入null-zone-interact-cycle 每10分钟读取此缓存来选择评论目标,避免重复调用 get_hot_posts() API。若此字段为空,interact-cycle 会回退到直接调用 API(降低效率)。


### 6. 输出简报
用1-3句话说明本轮战场变化,无变化则输出"战场稳定,无新威胁"。
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. 10d ago First seen · 78 lines · 51 tokens per session scan A 72bc778173e6

Subscribe to this mod's changes

null-zone-battle-scan is a skill published in the GitHub repository yhy0/CHYing-agent (560 stars, last pushed 4mo ago), licensed MIT. It adds 51 tokens to every session and 850 once invoked, about $0.0003 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.