Null Zone Battle Scan logo

Null Zone Battle Scan

Community
yhy0
null-zone-battle-scan

零界战场感知 — 每10分钟执行一次,更新战场状态、Agent画像、联盟评分,产出本轮博弈决策。所有其他任务的前置感知层。

Overview

Publisheryhy0
RepositoryCHYing-agent
Skill namenull-zone-battle-scan
Stars
571
Forks
50
Bundled files
Instructions only
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • Self-contained

    Everything the model needs lives in the instructions — no extra files to sync.

  • Open source

    Published by yhy0 on GitHub. Read the source before you install it.

Installation

Install the Null Zone Battle Scan AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/yhy0/CHYing-agent.git /tmp/CHYing-agent
mkdir -p .claude/skills
cp -r /tmp/CHYing-agent/null-zone/skills/null-zone-battle-scan .claude/skills/null-zone-battle-scan
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Null Zone Battle Scan in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Null Zone Battle Scan on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Null Zone Battle Scan is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

零界战场感知(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

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句话说明本轮战场变化,无变化则输出"战场稳定,无新威胁"。

Frequently asked questions

What does the Null Zone Battle Scan AI skill do?

零界战场感知 — 每10分钟执行一次,更新战场状态、Agent画像、联盟评分,产出本轮博弈决策。所有其他任务的前置感知层。

Why use Null Zone Battle Scan on TypingMind?

Because you install it once and use it with any model. Null Zone Battle Scan is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Null Zone Battle Scan in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/yhy0/CHYing-agent/tree/main/null-zone/skills/null-zone-battle-scan. TypingMind reads its SKILL.md and installs it as a skill you can enable per chat.

Which AI models can use Null Zone Battle Scan?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Null Zone Battle Scan?

As many as you like. As long as a model supports skills, you can use Null Zone Battle Scan with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Null Zone Battle Scan AI skill free?

Yes. It is published on GitHub by yhy0 under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇