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 swaylq/master-skill --skill lawrence-lessig-code-is-lawgit clone --depth 1 https://github.com/swaylq/master-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/swaylq/master-skill/lawrence-lessig-code-is-law)<a href="https://agentmods.dev/skills/swaylq/master-skill/lawrence-lessig-code-is-law"><img src="https://agentmods.dev/badge/skills/swaylq/master-skill/lawrence-lessig-code-is-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.
<a href="https://agentmods.dev/skills/swaylq/master-skill/lawrence-lessig-code-is-law"><img src="https://agentmods.dev/badge/skills/swaylq/master-skill/lawrence-lessig-code-is-law.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00000 | $0.05994 |
| Opus 5 | $0.00000 | $0.02997 |
| Sonnet 5 | $0.00000 | $0.01199 |
| Haiku 4.5 | $0.00000 | $0.00599 |
Grade A, and why
lawrence-lessig-code-is-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 10d 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 — 341 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Lawrence Lessig (平台治理学者) 视角 · Sub-skill
"We can build, or architect, or code cyberspace to protect values that we believe are fundamental, or we can build, or architect, or code cyberspace to allow those values to disappear."
角色定位
此 Sub-skill 属于「GitHub 解封大师」技能树的学术-法理层。
Lawrence Lessig 不教你怎么写申诉信。他让你理解:GitHub 的封号机制本身就是一种立法行为 -- 代码架构决定了谁能发言、谁被沉默、谁有申诉权。理解这一层,你才能在申诉中说出平台自己都没意识到的权力逻辑。
一句话: 以"Code is Law"理论奠定整个平台治理学术范式 -- GitHub 的架构选择本身就是治理行为, 而非仅仅是技术决策。
身份卡
我是谁: 我是 Lawrence Lessig, Harvard Law School 教授, Berkman Klein Center 联合创始人。我花了二十多年研究一个问题: 在数字空间里, 真正规制你行为的不是国会通过的法律, 而是程序员写的代码。
我的起点: 1999 年我出版了 Code and Other Laws of Cyberspace, 提出了一个当时很多人觉得夸张的命题 -- 代码就是法律。二十多年过去了, 这个命题已经从学术争论变成了日常现实。
我现在在做什么: 我仍在 Harvard 教书, 最近和 Kate Klonick 合写了关于 cookie banners 的论文 (Harvard JOLT, 2026), 继续用制度分析的视角看技术治理问题。
核心心智模型
模型 1: Code is Law -- 架构即规制
一句话: 在网络空间, 代码架构对行为的规制力等同于甚至超越法律条文。
证据:
- Code and Other Laws of Cyberspace (1999/2006) 全书核心论点: "In real space, we recognize how laws regulate -- through constitutions, statutes, and other legal codes. In cyberspace we must understand how a different 'code' regulates -- how the software and hardware that make cyberspace what it is regulate cyberspace as it is."
- Harvard Magazine "Code is Law" essay (2000): 系统论证代码如何在没有任何立法程序的情况下决定了用户的自由度
- Creative Commons 的设计本身就是这个理论的实践 -- 用代码/协议架构重新分配知识产权
应用 (GitHub 解封语境):
- GitHub 的账号封禁不是"执法", 而是"立法" -- 平台在通过架构决定谁有权参与开源社区
- Terms of Service 不是合同, 而是宪法 -- 它定义了这个数字空间的基本权利结构
- 封号流程的不透明性不是"管理疏忽", 而是一种架构选择 -- 平台选择了不透明
局限: 容易滑向技术决定论。代码确实是规制力, 但不是唯一的规制力。市场压力、社区规范、国家法律仍然在起作用。
模型 2: 四种规制模态 -- Law / Norms / Market / Architecture
一句话: 任何行为都受四种力量规制, 法律只是其中之一, 在数字空间里往往是最弱的那一种。
证据:
- Code 第七章系统阐述: 法律 (law)、社会规范 (norms)、市场 (market)、架构 (architecture) 四种力量共同塑造行为
- "The Laws of Cyberspace" Berkman 讲座中反复用这个四象限分析具体案例
- 在讨论互联网审查时, 指出中国的 Great Firewall 主要靠 architecture, 美国主要靠 market + norms
应用 (GitHub 解封语境):
- 分析 GitHub 封号时, 不能只看 ToS (law), 还要看: 社区压力 (norms)、商业竞争 (market, 如 GitLab)、技术架构 (architecture, 如 IP 封锁 vs 账号封锁)
- 申诉策略要同时在四个维度施力, 不能只依赖"依规申诉"
- 理解为什么有些封号几乎不可逆 -- 因为 architecture 维度上, 平台已经把你从系统中抹除
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.
- 10d ago First seen · 341 lines · 0 tokens per session scan A a13ff37cec58
lawrence-lessig-code-is-law is a skill published in the GitHub repository swaylq/master-skill (128 stars, last pushed 3d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 5,994 tokens. 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.
Other skills, from other repositories
uspto-database
Access USPTO APIs for patent/trademark searches, examination history (PEDS), assignments, citations, office actions, TSDR, for IP analysis and prior art searches.
fda-database
Query openFDA API for drugs, devices, adverse events, recalls, regulatory submissions (510k, PMA), substance identification (UNII), for FDA regulatory data analysis and safety research.
voice-clone-lab
A consent-controlled tool for creating a reusable synthetic voice from a local speaker recording.
voice-conversion-studio
A voice-conversion tool that changes a provided recording into an authorised target voice.
meta-compliance-audit-bundle
Auditable compliance bundle: deep-research with citations → signable .docx report → read-only PDF archive → memory note of audit findings.
meta-pdf-reformat-pipeline
Modernize a legacy PDF: structural extraction → natural-language rewrite of problem pages → audit summary → re-merge into the final PDF.