Token导航 LogoToken导航TokenDH.com
开发需要联网github未标认证来源可访问许可证需确认审计通过

thinking-thought-experiment思维实验

Agent Skill

thinking-thought-experiment 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

588

周安装

24

GitHub Stars

46

下载量

188
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:thinking-thought-experiment(思维实验)
来源仓库:https://github.com/tjboudreaux/cc-thinking-skills
仓库路径:skills/thinking-thought-experiment
安装命令:
npx skills add https://github.com/tjboudreaux/cc-thinking-skills --skill thinking-thought-experiment
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/tjboudreaux/cc-thinking-skills --skill thinking-thought-experiment

简介

思维实验用于处理 GitHub 仓库、Issue 和 Pull Request 信息。

  • 适合在 Codex、Claude、Cursor 等宿主中整理代码协作事项。
  • 通过 npx 安装并指定技能,可结合仓库路径进一步核验用法。
  • 使用前需确认权限范围、维护状态及是否涉及网络或文件操作。
  • thinking-thought-experiment 属于开发类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

Thought Experiments

Overview

Thought experiments use imagination to test ideas when direct experimentation is impractical, impossible, or premature. Einstein's elevator, Schrödinger's cat, and the trolley problem have advanced physics and philosophy. In engineering, thought experiments help evaluate designs, explore edge cases, and stress-test decisions before implementation.

Core Principle: Structured imagination is a tool. When you can't test in reality, test in your mind with discipline.

When to Use

  • Evaluating architecture before building
  • Exploring edge cases and failure modes
  • Stress-testing strategies and plans
  • Ethical considerations
  • Competitive scenario analysis
  • Understanding complex systems
  • When empirical testing is costly or impossible

Decision flow:

Need to evaluate an idea?
  → Can you test empirically? → yes → Test
  → Is empirical test too costly/slow? → yes → THOUGHT EXPERIMENT FIRST
  → Are you evaluating edge cases? → yes → THOUGHT EXPERIMENT
  → Is this a one-way decision? → yes → THOUGHT EXPERIMENT

Types of Thought Experiments

1. The Hypothetical Scenario

Imagine a specific situation and trace consequences:

"What if we had 100x current traffic tomorrow?"
"What if our primary database failed right now?"
"What if a competitor copied our core feature?"

2. The Extreme Case

Push a parameter to its limit:

"What happens with 0 users? 1 billion users?"
"What if latency was 0? What if it was 10 seconds?"
"What if this team was 1 person? 100 people?"

3. The Counterfactual

Imagine the opposite of reality:

"What if we hadn't chosen microservices?"
"What if we didn't have this dependency?"
"What if our main customer segment didn't exist?"

4. The Role Reversal

Think from a different perspective:

"What would a malicious actor do with this system?"
"How would a new hire experience this codebase?"
"What would a competitor do with our technology?"

5. The Time Shift

Move forward or backward in time:

"How will this look in 5 years?"
"If we had known this a year ago, what would we have done?"
"What will we wish we had built today?"

The Thought Experiment Process

Step 1: Define the Experiment

State clearly what you're testing:

## Thought Experiment: Database Failure Resilience

Question: How would our system behave if the primary database
         became unavailable for 30 minutes during peak traffic?

Variables:
- Database state: Unavailable
- Duration: 30 minutes
- Traffic: Peak (3x normal)
- Preparation time: None (unexpected)

Step 2: Set the Initial Conditions

Describe the starting state precisely:

## Initial Conditions

System state:
- 10,000 active users
- 500 RPS to database
- No circuit breaker currently
- 10-second connection timeout
- No read replica failover configured

User behavior:
- Users will retry failed requests
- ~50% will leave after 2 failures

Step 3: Trace the Consequences

Walk through what happens step by step:

## Consequence Chain

T+0s: Database becomes unavailable
T+0-10s: Requests queue waiting for connection
T+10s: Connection timeouts start
T+10-30s: App servers accumulate waiting requests
T+30s: Thread pools exhausted
T+30s-2m: Cascading timeouts to upstream services
T+2m: Load balancer health checks fail
T+2m: Alerts fire (too late - damage done)
T+2-30m: Service completely unavailable
T+30m: Database returns, but app servers need restart
T+35m: Service gradually recovers
T+1h: Backlog of failed requests processed

Step 4: Identify Insights

What did you learn?

## Insights

1. Circuit breaker would limit cascade (need to implement)
2. Thread pool exhaustion is the failure mode (need limits)
3. Alerts fire too late (need proactive monitoring)
4. Recovery is slow (need automated recovery)
5. User experience is terrible (need graceful degradation)

Step 5: Derive Actions

What should you do based on this experiment?

## Actions

| Insight | Action | Priority |
|---------|--------|----------|
| No circuit breaker | Implement circuit breaker | High |
| Thread pool exhaustion | Add connection limits | High |
| Late alerts | Add DB latency monitoring | Medium |
| Slow recovery | Automate failover | Medium |
| Poor UX | Implement degraded mode | Medium |

Thought Experiment Patterns

The Failure Mode Analysis

## Thought Experiment: What if [component] fails?

For each critical component:
- API Gateway fails: [Trace consequences]
- Auth service fails: [Trace consequences]
- Cache layer fails: [Trace consequences]
- Message queue fails: [Trace consequences]

Template for each:
1. What fails immediately?
2. What fails within 1 minute?
3. What's the blast radius?
4. How would we know?
5. How would we recover?

The Adversarial Analysis

## Thought Experiment: Attacker Perspective

"I am a malicious actor with [access level]. How would I cause maximum damage?"

Scenario 1: External attacker with no access
- What public endpoints are vulnerable?
- What would a DDoS look like?
- What data could I infer from public behavior?

Scenario 2: Compromised user account
- What can I access beyond my own data?
- Can I escalate privileges?
- What's the blast radius of one compromised account?

Scenario 3: Malicious insider
- What would a rogue employee do?
- What access is over-provisioned?
- What audit trails would catch this?

The Scale Experiment

## Thought Experiment: 10x Scale

Current: 10,000 users, 100 RPS
Imagined: 100,000 users, 1,000 RPS

What breaks?
- [ ] Database connections (pool exhaustion at ~300)
- [ ] Single-threaded workers (CPU bound at ~500 RPS)
- [ ] Memory per request (OOM at ~800 RPS)
- [ ] Network bandwidth (saturated at ~1500 RPS)

What doesn't break?
- [x] Stateless API servers (horizontally scalable)
- [x] CDN-served assets (already edge-cached)
- [x] Read-heavy queries (can add replicas)

First constraint to address: Database connection pooling

The Timeline Experiment

## Thought Experiment: 3 Years From Now

It's 2027. Our system is [successful/struggling]. Why?

Success scenario:
- What architectural decisions paid off?
- What did we avoid that would have hurt us?
- What did we invest in that scaled well?

Struggle scenario:
- What technical debt crushed us?
- What market change did we miss?
- What architecture couldn't adapt?

Present implications:
- What should we invest in now for 2027 success?
- What should we avoid now to prevent 2027 failure?

Thought Experiment Template

# Thought Experiment: [Title]

## Question
What am I trying to understand?
[Precise question]

## Setup
Initial conditions:
- [Condition 1]
- [Condition 2]

Variables being tested:
- [Variable 1]: [Value in experiment]
- [Variable 2]: [Value in experiment]

## Thought Experiment
[Step-by-step trace of what happens]

T+0: [Initial event]
T+X: [Consequence]
T+Y: [Next consequence]
...
T+end: [Final state]

## Observations
What happened in the experiment?
- [Observation 1]
- [Observation 2]

## Insights
What did I learn?
- [Insight 1]
- [Insight 2]

## Implications
What should I do differently?
- [Action 1]
- [Action 2]

## Limitations
What didn't this experiment capture?
- [Limitation 1]
- [Limitation 2]

Verification Checklist

  • Defined a clear, specific question
  • Set up realistic initial conditions
  • Traced consequences systematically
  • Considered second-order effects
  • Identified non-obvious insights
  • Derived actionable implications
  • Acknowledged experiment limitations

Key Questions

  • "What happens if [extreme scenario]?"
  • "How would this look from [different perspective]?"
  • "What would [5 years from now] tell us about this decision?"
  • "What if the opposite were true?"
  • "What's the worst thing that could happen?"
  • "How would a [malicious actor/competitor/novice] interact with this?"

Einstein's Approach

"A thought experiment is a device with which one performs an intentional, structured process of intellectual deliberation in order to speculate, within a specifiable problem domain, about potential consequents (or antecedents) for a designated antecedent (or consequent)."

More simply: Imagine a scenario, trace what happens, and learn.

"I have no special talents. I am only passionately curious."

Thought experiments are curiosity with structure. Ask "what if?" systematically, trace the answer carefully, and you'll see what testing in reality would eventually show you—sometimes years sooner.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.46%
按下载量换算67

Claude

28.4%
按下载量换算53

Cursor

20.04%
按下载量换算38

Gemini CLI

8.71%
按下载量换算16

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills