structure_thinking

structure_thinking is a command for Claude Code from an8079/take-skills. It costs 25 tokens per session (782 once invoked), scanned A, original, MIT.

A project-architecture analysis based directly on the code and its folder structure. Software architecture describes how a system is divided into parts and how those parts work together.

In plain words
What is it for?
Use it to assess module organization, extensibility, maintainability, performance design, security, dependencies, and possible improvements.
Why use it?
It gives a structured view of unclear boundaries, maintenance risks, performance concerns, security issues, and technology choices without requiring a separate specification document.

Command for Claude Code

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

Part of the claude-dev-assistant plugin — 21 skills, 39 commands shipped together

Good fit Use it to assess module organization, extensibility, maintainability, performance design, security, dependencies, and possible improvements.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/an8079/take-skills/takes-structure-thinking
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.

Clone the repo
git clone --depth 1 https://github.com/an8079/take-skills

Made for: Claude Code.

Or install claude-dev-assistant, the plugin that ships this one along with the rest of its 21 skills, 39 commands.

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 structure_thinking

README.md
[![agentmods](https://agentmods.dev/badge/commands/an8079/take-skills/takes-structure-thinking.svg)](https://agentmods.dev/commands/an8079/take-skills/takes-structure-thinking)
Your own site
<a href="https://agentmods.dev/commands/an8079/take-skills/takes-structure-thinking"><img src="https://agentmods.dev/badge/commands/an8079/take-skills/takes-structure-thinking.svg" alt="Measured on agentmods" height="20"></a>
Per session 25 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 782 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.00025 $0.00782
Opus 5 $0.00013 $0.00391
Sonnet 5 $0.00005 $0.00156
Haiku 4.5 $0.00003 $0.00078

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

Security

Grade A, and why

structure_thinking 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.

commands/takes-structure-thinking.md · 89 lines

What it actually says

/structure_thinking - 架构思维分析

顶级架构师视角的深度架构分析,直接扫描项目代码结构,评估系统的可扩展性、可维护性、性能、安全性等。无需规格文档,直接分析项目代码。

使用方式

/structure_thinking

架构分析
分析架构
架构思维
项目架构
看看项目结构

前置条件

无需规格文档。直接扫描当前项目代码进行分析:

  1. 扫描 src/ 目录结构
  2. 扫描 scripts/ 目录
  3. 扫描 commands/ 目录
  4. 分析 package.json 依赖关系
  5. 扫描 rules/agents/ 配置

分析维度

维度 说明 权重
架构完整性 模块划分是否清晰、边界是否明确 20%
可扩展性 是否易于添加新功能、模块解耦程度 20%
可维护性 代码组织、命名规范、文档完整性 15%
性能设计 是否有性能瓶颈、是否有缓存策略 15%
安全性 是否有安全漏洞、是否有防护机制 15%
技术选型 技术栈是否合理、是否有更好的选择 15%

输出内容

架构分析报告

内容 说明
架构评分 1-10 分
优势分析 当前架构的优势
问题识别 发现的问题列表
风险评估 潜在风险
改进建议 具体改进方案

架构图(如果需要)

┌─────────────────────────────────────┐
│          系统架构图                │
├─────────────────────────────────────┤
│  ┌─────────┐    ┌─────────┐       │
│  │ Frontend │───▶│ Backend │       │
│  └─────────┘    └─────────┘       │
│                      │              │
│         ┌────────────┼────────────┐ │
│         │            │            │ │
│  ┌──────▼──┐  ┌─────▼────┐ ┌────▼────┐│
│  │ Database │  │  Cache   │ │ Queue  ││
│  └─────────┘  └──────────┘ └────────┘│
└─────────────────────────────────────┘

与 /auto-interview 的关系

维度 /structure_thinking /auto-interview
输入 项目代码(直接分析) 需求描述(生成规格文档)
目标 分析现有架构 生成产品规格
时机 了解现有系统 新项目启动

两者独立,用户手动选择使用哪个。


提示: /structure_thinking 直接分析项目代码,无需准备文档。

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 · 89 lines · 25 tokens per session scan A eb1a537e2eb8

Subscribe to this mod's changes

structure_thinking is a command published in the GitHub repository an8079/take-skills (4 stars, last pushed 5mo ago), licensed MIT. It adds 25 tokens to every session and 782 once invoked, about $0.0001 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.