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.
npx skills add peterfei/forge-skill --skill swot-skillgit clone --depth 1 https://github.com/peterfei/forge-skillWrote 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.
[](https://agentmods.dev/skills/peterfei/forge-skill/swot-skill)<a href="https://agentmods.dev/skills/peterfei/forge-skill/swot-skill"><img src="https://agentmods.dev/badge/skills/peterfei/forge-skill/swot-skill/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.
<a href="https://agentmods.dev/skills/peterfei/forge-skill/swot-skill"><img src="https://agentmods.dev/badge/skills/peterfei/forge-skill/swot-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00101 | $0.09973 |
| Opus 5.5 | $0.00040 | $0.03989 |
| Sonnet 5.5 | $0.00020 | $0.01995 |
| Haiku 4.5 | $0.00010 | $0.00997 |
Grade A, and why
swot-skill 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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 253 lines — stays where its author put it; the contents beside it link to each section on GitHub.
SWOT 分析 · 思维工具
"SWOT analysis is a tool for auditing an organization and its environment. It is the first stage of planning and helps marketers to focus on key issues." — Albert Humphrey, SRI, 1960s
激活条件与触发词
- 直接调用:「用 SWOT 分析...」「SWOT 态势分析...」「做一次 SWOT...」「给这个项目做优劣势分析」
- 语义触发:用户描述需要战略决策、市场进入、产品定位、竞争评估、组织能力盘点等场景
- 组合调用:「先用 SWOT 做战略定位,再用五力模型做行业分析」「先用 SWOT 做内部审计,再用 PESTEL 做宏观环境扫描」
方法框架概览
SWOT 分析的核心是通过系统分离内部因素(优势 Strengths、劣势 Weaknesses)和外部因素(机会 Opportunities、威胁 Threats),形成对决策环境的全面认知。它通过内外二分法、交叉策略生成、动态时间锚定、参与式共识构建、优先级驱动行动五个原理来指导战略制定。
方法演变:从 SOFT 到 SWOT
Albert Humphrey 在 1960-1970 年代于斯坦福研究院(Stanford Research Institute)领导一项为期九年的研究项目,旨在回答"为什么企业规划会失败"。研究过程中,Humphrey 最初提出的是 SOFT 框架(Satisfactory, Opportunity, Fault, Threat),其中 Satisfactory 代表"当前令人满意的方面",Fault 代表"当前存在的故障/错误"。
经过 SRI 内部讨论和外部研讨会验证,团队将 Satisfactory 替换为 Strengths(优势),将 Fault 替换为 Weaknesses(劣势),理由是新术语更具客观性和战略分析感——"满意"是主观判断,而"优势"是可以相对竞争者衡量的;"故障"暗示已损坏需修复,而"劣势"承认在特定维度上不及竞争者的客观状态。这一改动发生于 1960 年代中期,形成了今天我们熟知的 SWOT 框架。
值得注意的是,Humphrey 本人晚年曾公开表达对 SWOT 在企业中"被滥用"的遗憾,他批评许多企业将 SWOT 当作简单的清单练习而非行动导向的战略工具,这与他设计的初衷——通过团队讨论生成可执行的战略计划——相去甚远。
核心原理(5个,每个须附 ≥2 个跨域证据)
原理 1: 内外环境二分法
一句话定义:战略分析的根本起点是区分"我们内部能控制的"和"外部不可控制的"。
跨域证据:
- 军事领域:孙武《孙子兵法》"知己知彼,百战不殆"——"知己"对应内部 S/W,"知彼"对应外部 O/T。2500 年前的军事战略已确立内外分析的二元框架(来源:《孙子兵法》谋攻篇,约公元前5世纪)
- 管理领域:Kenneth Andrews 在《Business Policy: Text and Cases》(1965)中正式将"内部能力评估"与"外部环境扫描"确立为战略制定的两个基本步骤,构成 SWOT 的理论前身。Andrews 认为战略的核心是"在组织能力与环境机遇之间建立匹配"(来源:Learned, Christensen, Andrews & Guth, Business Policy: Text and Cases, Irwin, 1965, Ch.2)
应用方式:面对任何战略问题,先画一条分界线——左边写内部可控的因素(资源、能力、文化、流程),右边写外部不可控的因素(市场趋势、政策变化、竞争格局、技术演进)。禁止在分析开始时混淆内外因素。
局限:在高度网络化的商业生态中(如平台经济),"内部"与"外部"的界限日益模糊。平台的供应商、开发者、用户既是外部参与者又深度嵌入内部运营,二分法在此类场景中需要更审慎的判断。
原理 2: 交叉策略矩阵
一句话定义:SWOT 的价值不在于四个清单,而在于将内外因素两两交叉生成四种基本战略:SO(进攻型)、WO(补短型)、ST(防御型)、WT(规避型)。
跨域证据:
- 科技行业:苹果公司 1997 年乔布斯回归后的战略调整可被视为经典 SO 策略——利用内部设计能力和品牌资产(S),抓住数字音乐市场的爆炸性增长机遇(O),推出 iPod 和 iTunes 生态。这不是简单地列出 S 和 O,而是将两者交叉形成具体的产品-市场策略(来源:Isaacson, Steve Jobs, Simon & Schuster, 2011, Ch.24-26)
- 航空业:西南航空(Southwest Airlines)1970 年代的应用体现了 WO 策略——公司内部资源有限(W:只有 3 架飞机、无法与巨头争干线),但抓住了被大航空公司忽视的二线城市短途需求(O)。通过交叉分析意识到:正因为资源有限,才应该将 O 作为克服 W 的杠杆——聚焦点对点短途航线,而非试图在大都市干线竞争(来源:Porter, What is Strategy?, HBR, 1996)
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.
- 3mo ago First seen · 253 lines · 101 tokens per session scan A 1f8fae56aa38
swot-skill is a skill published in the GitHub repository peterfei/forge-skill (19 stars, last pushed 5mo ago), licensed MIT. It adds 101 tokens to every session and 9,973 once invoked, about $0.0004 per session on Opus 5.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.
swot-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| swot-skillpeterfei/forge-skill | Skill | 19 | 5mo ago | MIT | A | 101 | Claude Code, Codex |
| opencli-usagejackwener/OpenCLI | Skill | 31k | 22d ago | Apache-2.0 | A | 31 | Claude Code |
| mnemonmnemon-dev/mnemon | Skill | 752 | 7d ago | Apache-2.0 | A | 25 | Claude Code, Codex |
| mnemonmnemon-dev/mnemon | Skill | 752 | 7d ago | Apache-2.0 | A | 30 | Claude Code, Codex |
| tokf-filtermpecan/tokf | Skill | 201 | 2d ago | MIT | A | 59 | Claude Code, Codex |
| driftdadbodgeoff/drift | Skill | 794 | 9d ago | Apache-2.0 | A | 84 | Claude Code |
| tokf-discovermpecan/tokf | Skill | 201 | 2d ago | MIT | A | 24 | Claude Code, Codex |