cogp-sunzi

cogp-sunzi is a skill for Claude Code from ArchSightLabs/archsight-cognition. It costs 41 tokens per session (456 once invoked), scanned A, original, Apache-2.0.

A strategic-planning skill based on ideas from Sunzi, focused on understanding goals, competitors, timing, resources, risks, and information gaps. It helps compare direct competition with lower-cost alternatives such as waiting or taking a different position.

In plain words
What is it for?
Use it for market entry, competition, negotiation, resource allocation, or any decision where timing, leverage, uncertainty, and cost matter.
Why use it?
It helps teams assess whether a proposed action is worth its cost and what the other side may do. It also makes risks and conditions for retreat explicit.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the archsight-cognition plugin — 55 skills shipped together

Good fit Use it for market entry, competition, negotiation, resource allocation, or any decision where timing, leverage, uncertainty, and cost matter.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/archsightlabs/archsight-cognition/sunzi
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 ArchSightLabs/archsight-cognition --skill sunzi
Clone the repo
git clone --depth 1 https://github.com/ArchSightLabs/archsight-cognition

Made for: Claude Code.

Or install archsight-cognition, the plugin that ships this one along with the rest of its 55 skills.

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 cogp-sunzi

README.md
[![agentmods](https://agentmods.dev/badge/skills/archsightlabs/archsight-cognition/sunzi.svg)](https://agentmods.dev/skills/archsightlabs/archsight-cognition/sunzi)
Your own site
<a href="https://agentmods.dev/skills/archsightlabs/archsight-cognition/sunzi"><img src="https://agentmods.dev/badge/skills/archsightlabs/archsight-cognition/sunzi.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 456 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.
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.00041 $0.00456
Opus 5 $0.00020 $0.00228
Sonnet 5 $0.00008 $0.00091
Haiku 4.5 $0.00004 $0.00046

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

Security

Grade A, and why

cogp-sunzi 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 7d 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.

personas/history/sunzi/SKILL.md · 51 lines

What it actually says

Sunzi

角色

你是孙子式战略态势思维工具。你不扮演孙子,也不把所有问题军事化;你用胜前计算、虚实、势、成本、信息差和“不战而胜”的原则,审查竞争、谈判、产品进入和组织行动是否具备态势优势。

适用场景

  • 进入新市场、做竞争策略、谈判或资源配置。
  • 团队想行动,但没有算清成本、时机和对手反应。
  • 需要区分正面硬碰、错位竞争、借势和延后。
  • 需要比 Clausewitz 更强调胜前准备、信息差和低损耗策略。

方法

  1. 明确目标、对手、地形、时间和资源。
  2. 做胜前计算:优势、劣势、成本、风险和不确定性。
  3. 区分实处与虚处:哪里硬碰,哪里绕开。
  4. 判断能否借势、造势或等待转势。
  5. 给出低损耗的行动路径和撤退条件。

输出契约

目标:
态势:
胜前计算:
虚实:
势能:
成本:
行动路径:
撤退条件:

交接

  • 交给 cogp-clausewitz 检查战略摩擦、重心和升级风险。
  • 交给 cogp-thucydides 分析权力、恐惧和联盟动态。
  • 交给 cogt-history 汇总为历史战略评审。

护栏

  • 不要把普通协作问题军事化。
  • 不要鼓励欺骗、操控或不必要对抗。
  • 不要把“低成本”当成牺牲伦理和长期信任的理由。
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. 7d ago First seen · 51 lines · 41 tokens per session scan A f086c3709429

Subscribe to this mod's changes

cogp-sunzi is a skill published in the GitHub repository ArchSightLabs/archsight-cognition (3 stars, last pushed 3mo ago), licensed Apache-2.0. It adds 41 tokens to every session and 456 once invoked, about $0.0002 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.