hofstadters-law

hofstadters-law is a skill for Claude Code, Codex from The-Artificer-of-Ciphers-LLC/skills-from-the-artificer. It costs 98 tokens per session (854 once invoked), scanned A, original, MIT.

A planning principle that says software work takes longer than expected, even after you account for that tendency. It explains causes such as hidden work, complexity, testing, and interruptions.

In plain words
What is it for?
Use it when estimating projects, planning sprints or roadmaps, explaining delays, or improving software estimation practices.
Why use it?
It helps expose optimistic estimates and the work that plans often leave out. This makes schedules and commitments more realistic.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when estimating projects, planning sprints or roadmaps, explaining delays, or improving software estimation practices.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/the-artificer-of-ciphers-llc/skills-from-the-artificer/hofstadters-law
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 The-Artificer-of-Ciphers-LLC/skills-from-the-artificer --skill hofstadters-law
Clone the repo
git clone --depth 1 https://github.com/The-Artificer-of-Ciphers-LLC/skills-from-the-artificer

Made for: Claude Code, Codex.

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 hofstadters-law

README.md
[![agentmods](https://agentmods.dev/badge/skills/the-artificer-of-ciphers-llc/skills-from-the-artificer/hofstadters-law/github.svg)](https://agentmods.dev/skills/the-artificer-of-ciphers-llc/skills-from-the-artificer/hofstadters-law)
Your own site
<a href="https://agentmods.dev/skills/the-artificer-of-ciphers-llc/skills-from-the-artificer/hofstadters-law"><img src="https://agentmods.dev/badge/skills/the-artificer-of-ciphers-llc/skills-from-the-artificer/hofstadters-law/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.

agentmods 80×15 button for hofstadters-law

Your own site · 80×15
<a href="https://agentmods.dev/skills/the-artificer-of-ciphers-llc/skills-from-the-artificer/hofstadters-law"><img src="https://agentmods.dev/badge/skills/the-artificer-of-ciphers-llc/skills-from-the-artificer/hofstadters-law.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 854 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.00098 $0.00854
Opus 5 $0.00049 $0.00427
Sonnet 5 $0.00020 $0.00171
Haiku 4.5 $0.00010 $0.00085

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

Security

Grade A, and why

hofstadters-law 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 12d 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.

hofstadters-law/SKILL.md · 59 lines

How it starts

The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Hofstadter's Law

"It always takes longer than you expect, even when you take into account Hofstadter's Law." — Douglas Hofstadter, 1979 (Gödel, Escher, Bach)

The core idea

Software projects almost always take longer than estimated — and this isn't just because people are bad at estimating. The law's self-referential structure is the point: even when you know about the tendency to underestimate, you will still underestimate. The bias is deeper than awareness alone can fix.

Why this happens

1. Optimism bias. Humans naturally plan for the best-case scenario, not the median. We imagine things going right.

2. Unknown unknowns. You can estimate the work you can see. You can't estimate the work you don't know exists yet — and software always has more of that than expected.

3. Complexity is non-linear. Adding features to an existing system is slower than adding them to a greenfield one. Each new piece interacts with everything already there.

4. Integration and testing always take longer than the coding. Developers estimate the coding time, then implicitly assume everything else is "not much." It's always much.

5. Interruptions and context switching. Calendar time is not development time. Meetings, incidents, code reviews, and dependencies eat calendar days without appearing in estimates.

6. The planning fallacy. People plan based on how similar past projects went (not well) while estimating based on an idealized version of the current project.

Practical responses

Estimation strategies:

  • Double your gut estimate. Not rigorous, but often closer to right.
  • Use historical data. How long did similar things actually take? Use that as your baseline, not your intuition.
  • Three-point estimation. Ask: best case, worst case, most likely case. Combine them: (Best + 4×Most Likely + Worst) / 6. This builds in some uncertainty.
  • Break work into small pieces. Estimates are more accurate for small tasks than large ones. A "1-month project" is harder to estimate accurately than 20 "1-week tasks."
  • Add explicit buffer for integration. When estimating a feature, separately estimate: coding, testing, integration, code review, deployment, monitoring. The non-coding parts are often 40–60% of the total.

Read the full file on GitHub · 59 lines

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. 12d ago First seen · 59 lines · 98 tokens per session scan A 57910393111b

Subscribe to this mod's changes

hofstadters-law is a skill published in the GitHub repository The-Artificer-of-Ciphers-LLC/skills-from-the-artificer (4 stars, last pushed 10d ago), licensed MIT. It adds 98 tokens to every session and 854 once invoked, about $0.0005 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.

Related

Other skills, from other repositories

offensive-crypto-attacks

Systematic methodology for identifying and exploiting cryptographic implementation weaknesses in real-world applications. Covers padding oracle attacks against CBC-mode ciphers with PKCS7 padding (Vaudenay's original attack through modern padbuster automation), ECB mode exploitation including block cut-and-paste and…

SnailSploit/Claude-Red · 261 tokens

offensive-c2-frameworks

Command and Control framework deployment, configuration, and operational tradecraft for red team engagements. Covers Cobalt Strike (malleable C2 profiles, Beacon types HTTP/HTTPS/DNS/SMB, Beacon Object Files for in-memory execution, sleep and jitter tuning, named pipe pivoting), Sliver (implant generation across…

SnailSploit/Claude-Red · 250 tokens

offensive-parameter-pollution

HTTP parameter pollution (HPP) checklist: duplicate parameter injection, backend vs frontend parsing differences, WAF bypass via HPP, server-side vs client-side HPP, and practical exploitation patterns. Use when testing web applications for parameter handling flaws.

SnailSploit/Claude-Red · 0 tokens

offensive-wifi

Wireless / 802.11 attack methodology for red team engagements and wireless security assessments. Covers monitor-mode setup, WPA/WPA2-PSK handshake capture and PMKID attacks, WPA3 SAE downgrade and Dragonblood, WPA-Enterprise (EAP) attacks (MSCHAPv2 cracking, EAP-TLS cert theft, evil-twin RADIUS), Karma / Known Beacons…

SnailSploit/Claude-Red · 183 tokens

offensive-z-wave

Z-Wave attack methodology — sniffing with Z-Force / EZ-Wave / RTL-SDR + ZniffMobile, S0 (legacy) network-key derivation flaw and key reuse, S2 (modern) ECDH commissioning analysis, replay/injection on unauthenticated nodes, default-key brute-force on test deployments, and home-automation hub pivots. Use when targeting…

SnailSploit/Claude-Red · 113 tokens

seo

Optimize for search engine visibility and ranking. Use when asked to "improve SEO", "optimize for search", "fix meta tags", "add structured data", "sitemap optimization", or "search engine optimization".

addyosmani/web-quality-skills · 46 tokens