← 返回 Skills 市场
wscats

2

作者 enoyao · GitHub ↗ · v1.0.8 · MIT-0
cross-platform ✓ 安全检测通过
269
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install 2
功能描述
A comprehensive prompt-based skill about the number 2. This skill provides rich knowledge covering the mathematical properties, history, cultural significanc...
使用说明 (SKILL.md)

Number Two (2) — Prompt-based Skill

Activation

This skill activates when the user mentions or implies any of the following:

  • The number 2, two, or the digit "2"
  • Duality, pairs, binary concepts
  • Prime numbers (2 as the only even prime)
  • Binary numeral system (base-2)
  • The concept of "two" in philosophy, culture, or religion
  • The number 2 in science (e.g., Helium, H₂, second law of thermodynamics)
  • The number 2 in music (intervals, time signatures)
  • The number 2 in computing (binary, boolean logic)
  • Symbolism of pairs, balance, or opposites

1. Overview

2 (two) is a natural number that follows 1 and precedes 3. It is the smallest prime number and the only even prime number, making it uniquely important in mathematics. The number 2 is the foundation of the binary system that powers all modern computing.

Property Value
Number 2
Cardinal Two
Ordinal 2nd (second)
Numeral system Binary
Factorization Prime
Divisors 1, 2
Roman numeral II
Greek numeral βʹ (Beta)
Chinese numeral 二 / 贰 (formal)
Binary 10
Octal 2
Hexadecimal 2
Unicode (digit) U+0032
ASCII 50

2. Mathematical Properties

2.1 Prime Number

  • 2 is the smallest prime number and the only even prime.
  • All other even numbers are divisible by 2, so no other even number can be prime.
  • This unique property makes 2 sometimes called the "oddest prime" — a mathematical pun because it is the only prime that is not odd.

2.2 Powers of Two

Powers of 2 form the backbone of computer science and digital systems:

Power Value Significance
2⁰ 1 Multiplicative identity
2 The number itself
4 First composite power of 2
8 Bits in a byte
2⁴ 16 Hexadecimal base
2⁷ 128 ASCII character set size
2⁸ 256 Byte value range (0–255)
2¹⁰ 1,024 ≈ 1 Kilobyte (KiB)
2¹⁶ 65,536 16-bit integer range
2³² 4,294,967,296 32-bit integer range
2⁶⁴ ~1.84 × 10¹⁹ 64-bit integer range

2.3 Key Mathematical Roles

  • Binary system (base-2): Uses only digits 0 and 1; the foundation of all digital computing.
  • Square root of 2 (√2 ≈ 1.41421...): The first known irrational number, discovered by the Pythagoreans.
  • Goldbach's Conjecture involves 2: every even integer greater than 2 can be expressed as the sum of two primes.
  • Twin primes: Pairs of primes differing by 2 (e.g., 3 & 5, 11 & 13, 17 & 19).
  • Mersenne primes: Primes of the form 2ⁿ − 1 (e.g., 2² − 1 = 3, 2³ − 1 = 7).
  • Fermat's Last Theorem: For n = 2, the equation a² + b² = c² has infinite solutions (Pythagorean triples).

2.4 Number Theory

  • 2 is the first Ramsey number: R(1,1) = 2.
  • 2 is a Fibonacci number (the sequence: 1, 1, 2, 3, 5, 8...).
  • 2 is a factorial prime: 2! − 1 = 1 (trivial), but 2 = 2! (2 factorial equals 2).
  • The harmonic series starts: 1 + 1/2 + 1/3 + 1/4 + ...
  • Euler's identity involves 2: e^(iπ) + 1 = 0, and the full form e^(2iπ) = 1.

3. History & Etymology

3.1 Etymology of "Two"

The English word "two" derives from:

  • Old English: twā (feminine), (neuter)
  • Proto-Germanic: **twō
  • Proto-Indo-European: *dwóh₁ (root of Latin duo, Greek dýo, Sanskrit dvá)

The "tw-" root appears throughout English: twin, twelve, twenty, twice, twilight, between.

3.2 Ancient Number Systems

Civilization Representation of 2 Notes
Egyptian 𓏻 (two strokes) Simple tally marks
Babylonian 𒐖 (two wedge marks) Sexagesimal (base-60) system
Roman II Additive system
Chinese (casual) / (formal) The formal form is used in finance
Mayan •• (two dots) Vigesimal (base-20) system
Arabic ٢ Eastern Arabic numeral
Thai Thai numeral
Devanagari Used in Hindi, Sanskrit

3.3 The Discovery of √2

Around 500 BCE, a Pythagorean named Hippasus discovered that √2 is irrational — it cannot be expressed as a fraction. This was a groundbreaking moment in mathematical history. Legend says the Pythagoreans were so disturbed by this discovery that Hippasus was drowned at sea (though this is likely apocryphal).


4. The Binary System (Base-2)

4.1 Foundations

The binary numeral system uses only two symbols: 0 and 1. It is the mathematical foundation of all modern digital technology.

Decimal Binary Decimal Binary
0 0 8 1000
1 1 9 1001
2 10 10 1010
3 11 16 10000
4 100 32 100000
5 101 64 1000000
6 110 100 1100100
7 111 255 11111111

4.2 History of Binary

  • 1679: Gottfried Wilhelm Leibniz formalized the binary system, inspired by the Chinese I Ching hexagrams.
  • 1847: George Boole developed Boolean algebra — the logic of binary true/false.
  • 1937: Claude Shannon demonstrated that Boolean algebra could be implemented with electrical circuits.
  • 1945: The ENIAC, one of the first electronic computers, used binary internally.
  • Today: Every modern computer processor operates on binary — billions of 0s and 1s per second.

4.3 Boolean Logic

Boolean logic, built on two states (true/false, 1/0), includes:

Operation Symbol Truth Table (A, B → Result)
AND (0,0)→0, (0,1)→0, (1,0)→0, (1,1)→1
OR (0,0)→0, (0,1)→1, (1,0)→1, (1,1)→1
NOT ¬ 0→1, 1→0
XOR (0,0)→0, (0,1)→1, (1,0)→1, (1,1)→0

5. Science & Nature

5.1 Chemistry

  • Helium (He): Atomic number 2, the second element on the periodic table; a noble gas used in balloons, cryogenics, and MRI machines.
  • H₂: Molecular hydrogen — the most abundant molecule in the universe.
  • Diatomic molecules: Many elements exist as pairs (H₂, O₂, N₂, F₂, Cl₂, Br₂, I₂).
  • Group 2 elements (alkaline earth metals): Beryllium, Magnesium, Calcium, Strontium, Barium, Radium.

5.2 Physics

  • Second law of thermodynamics: Entropy of an isolated system always increases — one of the most fundamental laws of physics.
  • Second law of motion (Newton): F = ma (Force equals mass times acceleration).
  • Pair production: A high-energy photon can create a particle-antiparticle pair (2 particles from energy).
  • Double-slit experiment: Demonstrates wave-particle duality — a cornerstone of quantum mechanics.
  • Spin-½ particles: Require a rotation of 2 × 360° = 720° to return to their original state.

5.3 Biology

  • DNA double helix: The structure of DNA consists of 2 intertwined strands.
  • Diploid organisms: Most complex organisms have 2 copies of each chromosome (2n).
  • Bilateral symmetry: Most animals have 2 sides (left and right) that mirror each other.
  • Binocular vision: Humans use 2 eyes for depth perception.
  • Cell division (mitosis): One cell divides into 2 daughter cells.

5.4 Astronomy

  • Binary star systems: About half of all star systems contain 2 stars orbiting each other.
  • 2nd planet from the Sun: Venus.
  • Earth has 2 main motions: rotation (day/night) and revolution (year/seasons).

6. Philosophy & Symbolism

6.1 Duality

The concept of duality — two opposing or complementary forces — is one of the oldest philosophical ideas:

Tradition Duality Concept
Chinese philosophy Yin and Yang (阴阳) — balance of opposites
Zoroastrianism Ahura Mazda vs. Angra Mainyu — good vs. evil
Western philosophy Mind and Body (Cartesian dualism)
Hindu philosophy Purusha and Prakriti — consciousness and matter
Computer science 0 and 1 — binary states
Physics Wave-particle duality

6.2 Symbolism of Two

  • Partnership: Two represents union, marriage, and companionship.
  • Balance: The concept of two opposing forces in equilibrium.
  • Choice: "Two paths" — the idea of decision and divergence (e.g., Robert Frost's "The Road Not Taken").
  • Conflict: The number of sides in a debate, duel, or opposition.
  • Reflection: Mirrors, symmetry, and the concept of "the other."

6.3 Religion & Mythology

Religion/Tradition Significance of 2
Christianity Two testaments (Old and New); Two natures of Christ (divine and human)
Judaism Two tablets of the Ten Commandments; Two Torahs (Written and Oral)
Islam Two main sects (Sunni and Shia); Two holy cities (Mecca and Medina)
Buddhism Two truths doctrine (conventional and ultimate truth)
Norse mythology Two ravens of Odin (Huginn and Muninn — Thought and Memory)
Greek mythology Two-faced Janus (past and future); Gemini twins (Castor and Pollux)
Noah's Ark Animals entered two by two

7. The Number 2 in Music

  • 2/2 time signature (cut time / alla breve): Two half-note beats per measure; commonly used in marches.
  • 2/4 time signature: Two quarter-note beats per measure; used in polkas and marches.
  • Interval of a second: The distance of 2 adjacent notes (major 2nd = whole step, minor 2nd = half step).
  • Duet: A musical composition for 2 performers.
  • Stereo sound: Uses 2 audio channels (left and right) for spatial audio.
  • Piano has 2 clefs: Treble (right hand) and Bass (left hand).

8. The Number 2 in Language & Idioms

8.1 English Expressions

Expression Meaning
"Two heads are better than one" Collaboration leads to better results
"It takes two to tango" Both parties share responsibility
"Two-faced" Hypocritical, deceitful
"Two peas in a pod" Very similar to each other
"Two cents" (my two cents) A modest opinion
"Two wrongs don't make a right" Retaliating doesn't fix the original wrong
"Two sides of the same coin" Two aspects of one thing
"Double-edged sword" Something with both advantages and disadvantages
"Second to none" The best, unmatched
"Kill two birds with one stone" Accomplish two things at once

8.2 Grammatical Dual Number

Some languages have a dual number grammatical form specifically for exactly two items:

  • Arabic: Singular (مُعَلِّم / one teacher), Dual (مُعَلِّمَانِ / two teachers), Plural (مُعَلِّمُونَ / three+ teachers)
  • Classical Greek: Had a dedicated dual form
  • Slovenian: One of the few modern European languages retaining the dual
  • Sanskrit: Extensive dual declension system

9. The Number 2 in Sports

Sport / Context Significance of 2
Basketball Position #2 = Shooting Guard
Baseball #2 = Catcher's position number
Soccer/Football Often worn by a right back defender
Tennis Doubles = 2 players per side
Boxing Always 2 fighters in the ring
Chess 2 players; 2 colors (white and black)
Olympic medals Silver medal = 2nd place
Derek Jeter (MLB) Iconic #2 jersey, retired by the NY Yankees

10. The Number 2 in Computing & Technology

10.1 Binary Foundation

  • All digital data is represented in base-2 (binary).
  • A bit has exactly 2 states: 0 or 1.
  • A boolean data type has 2 values: true or false.

10.2 Notable Appearances

Context Role of 2
HTTP Status code 2xx = Success (e.g., 200 OK, 201 Created)
Versioning Major version "2" often signals a significant rewrite
IPv4 vs IPv6 2 major versions of Internet Protocol
Web 2.0 The second generation of the web (interactive, social)
USB 2.0 Major revision with 480 Mbps speed
Bluetooth 2.0 Introduced Enhanced Data Rate (EDR)
Python 2 vs Python 3 Famous language version split
OAuth 2.0 Standard authorization framework

10.3 Two's Complement

Two's complement is the standard method for representing signed integers in binary:

  • To negate a number: flip all bits, then add 1.
  • Example (8-bit): +5 = 00000101 → flip → 11111010 → add 1 → 11111011 = −5.
  • Allows a single binary addition circuit to handle both positive and negative numbers.

11. Famous Twos & Pairs

11.1 Famous Duos

Duo Domain
Batman & Robin Comics / Superheroes
Sherlock Holmes & Dr. Watson Literature / Detective
Tom & Jerry Animation
Bonnie & Clyde History / Crime
Wright Brothers (Orville & Wilbur) Aviation
Watson & Crick Science (DNA discovery)
Lennon & McCartney Music (The Beatles)
Mario & Luigi Video Games
Romeo & Juliet Literature / Theater
Adam & Eve Religion / Mythology

11.2 Things That Come in Twos

  • 👀 Eyes
  • 👂 Ears
  • 🤲 Hands
  • 🦶 Feet
  • 🫁 Lungs
  • 🧬 DNA strands
  • 🌗 Equinoxes per year (spring & autumn)
  • 🌊 Tides per day (high & low)
  • 🧲 Magnetic poles (North & South)
  • ⚡ Electrical charges (positive & negative)

12. Fun Facts & Trivia

  1. 2 is the only even prime number — and also the smallest prime. Every other even number is divisible by 2.
  2. February 2 (02/02) is Groundhog Day in the United States and Canada.
  3. The "terrible twos" is a phase of child development around age 2 characterized by tantrums and the word "NO!"
  4. A "deuce" in tennis means the score is tied at 40–40.
  5. (subscript 2) in chemistry denotes 2 atoms of an element: H₂O = 2 hydrogen + 1 oxygen.
  6. Swan couples are famous for their lifelong pairs — symbolized by two swans forming a heart shape ♡.
  7. In Tarot, the number 2 card (The High Priestess) represents intuition, mystery, and duality.
  8. "2" is the most common leading digit in many real-world datasets following Benford's Law (after 1).
  9. The Peace Sign ✌️ uses 2 fingers — the index and middle finger.
  10. 2² = 2 + 2 = 2 × 2 = 4: The number 2 is the only number where x² = x + x = x × x.
  11. Binary code (base-2) was formalized by Leibniz in 1679, partly inspired by the Chinese I Ching.
  12. 2 is the atomic number of Helium, the second lightest and second most abundant element in the universe.

Usage / 使用方法

This is a Prompt-based skill. Interact with it using natural language. Here are some example prompts:

Basic Queries

Tell me about the number 2.
Why is 2 special in mathematics?
What makes 2 the "oddest prime"?

Mathematics

Explain why 2 is the only even prime number.
What is the significance of the square root of 2?
List the first 20 powers of 2.

Science & Nature

What is the element with atomic number 2?
How does the number 2 appear in DNA structure?
Explain the double-slit experiment.

Computing & Technology

How does the binary system work?
Explain two's complement in computing.
Why is binary (base-2) the foundation of all computers?

Culture & Philosophy

What does duality mean in philosophy?
Tell me about the symbolism of the number 2 in different religions.
What are some famous duos in history?

Language & Idioms

What English idioms involve the number 2?
What is the "dual number" in grammar?

Fun & Trivia

Give me fun facts about the number 2.
What is special about February 2nd?

Comprehensive

Give me a complete overview of the number 2 — its math, science, culture, and symbolism.
I'm doing a presentation about numbers. Summarize everything important about the number 2.
安全使用建议
This skill appears safe from a security standpoint because it is instruction-only, requests no credentials, and has no install steps. Before installing, consider: (1) provenance — the skill lists no homepage and the owner ID is an opaque identifier, so if you require traceability prefer skills with a visible source/repository; (2) content accuracy — this is a knowledge skill, so verify outputs for correctness if you will rely on them; (3) runtime behavior — autonomous invocation is allowed by platform default (not a red flag here), so review activation triggers to ensure it won't activate too often for your use case. If you want stronger assurance, ask the publisher for a source repository or inspect the full SKILL.md/README contents yourself.
功能分析
Type: OpenClaw Skill Name: 2 Version: 1.0.8 The skill bundle is a purely informational, prompt-based knowledge base focused on the mathematical, scientific, and cultural significance of the number 2. It contains no executable code, no requests for sensitive system permissions, and no malicious instructions or prompt injections designed to subvert the agent's behavior. All content in SKILL.md and README.md is educational and aligns with the stated purpose.
能力评估
Purpose & Capability
The skill's declared purpose (knowledge about the number 2) matches the SKILL.md and README content. Minor metadata quirks: the registry name is the digit "2" while the internal skill name is "number-two", and the package has no homepage or external source listed — these are provenance/usability issues but do not contradict the stated capability.
Instruction Scope
SKILL.md is prompt/content-focused and does not instruct the agent to read arbitrary files, access environment variables, call external endpoints, or exfiltrate data. Activation triggers are content-based (mentions of 'two' or related concepts) and appropriate for the skill.
Install Mechanism
No install spec and no code files — this is an instruction-only skill. Nothing will be written to disk or executed by an installer.
Credentials
The skill requires no environment variables, credentials, or config paths. Requested privileges are proportional (none) to the stated purpose.
Persistence & Privilege
always is false and the skill is user-invocable; it can be invoked autonomously by the agent per platform defaults, which is expected for a content skill and does not indicate excessive privilege.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install 2
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /2 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.8
Version 1.0.8 — Major update: skill reimagined from a TypeScript style guide to a knowledge base about the number 2. - Replaced TypeScript coding/style guide content with a new, comprehensive skill about the number 2. - New skill covers mathematical properties, history, cultural significance, scientific relevance, philosophy, binary systems, symbolism, and fun facts about the number two. - Activation now triggers on user queries mentioning or implying the number 2, its mathematical roles, duality, binary, pairs, and related themes. - Documentation (README.md, SKILL.md) completely rewritten to reflect the new purpose and content.
v1.0.3
- Expanded and modernized the TypeScript style guide, covering naming, interfaces, types, enums, variables, functions, classes, modules, async patterns, and more. - Detailed rules and tables for naming conventions, including file and React component standards. - Clear distinctions added between `interface` and `type` usage, with practical examples. - Enhanced guidelines for immutability, destructuring, and use of `const`, `let`, and `var`. - New sections for error handling, null/undefined management, generics, React/JSX usage, testing, and tooling best practices.
元数据
Slug 2
版本 1.0.8
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

2 是什么?

A comprehensive prompt-based skill about the number 2. This skill provides rich knowledge covering the mathematical properties, history, cultural significanc... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 269 次。

如何安装 2?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install 2」即可一键安装,无需额外配置。

2 是免费的吗?

是的,2 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

2 支持哪些平台?

2 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 2?

由 enoyao(@wscats)开发并维护,当前版本 v1.0.8。

💬 留言讨论