Agent skill · AI & Agents

llm-as-computer

Execute programs on a compiled transformer stack machine where every instruction fetch and memory read is a parabolic attention head. Demonstrates that transformer attention + FF layers can implement a working computer. Use when user mentions "llm-as-computer", "lac", "stack machine", "compiled transformer", "percepta", "parabolic attention", "execute program", or asks to run/trace programs on the transformer executor.

majiayu000github.com/majiayu000GitHub ↗
claude-codeMIT
Install
npx skills add majiayu000/claude-skill-registry --skill llm-as-computer --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 2
SKILL.md size: 5 KB
Bundled scripts: none
Version: 1.0.1
Path: skills/ai-llm/llm-as-computer/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 534
Language: HTML

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# LLM-as-Computer: Compiled Transformer Stack Machine A working computer built from transformer primitives. Every instruction fetch and stack read is a parabolic attention head (dot-product → argmax → value extraction). The transformer's weights ARE the interpreter — compiled analytically, not trained. ## What This Proves Attention is lookup; feed-forward is routing. A vanilla transformer with compiled weights can execute arbitrary programs: loops, recursion, arithmetic, memory access. 55 opcodes covering WASM i32 semantics. 21M+ steps/second via the Mojo executor. ## Setup (once per session) ```bash cd /mnt/skills/user/llm-as-computer/src && bash setup.sh ``` This installs Mojo (~20s) and compiles the executor binary (~6s). If Mojo is unavailable, the skill falls back to a pure-Python executor (slower but functional). ## Usage ```python import sys sys.path.insert(0, '/mnt/skills/user/llm-as-computer/src') from programs import make_fibonacci, make_factorial, make_gcd, make_multiply from runner import run, setup # Ensure Mojo is compiled (idempotent) setup() # Run a program — shows instructions, trace, result prog, expected = make_fibonacci(10) print(run(prog)) # Benchmark mode — me

What's inside
Steps it walks through
  1. What This Proves
  2. Setup (once per session)
  3. Usage
  4. Available Programs
  5. Writing Custom Programs
  6. ISA Reference (55 opcodes)
  7. Architecture
  8. Updating from Repo
Ships with 1 file
  • metadata.json
Commands it runs
cd /mnt/skills/user/llm-as-computer/src && bash setup.sh
cd /mnt/skills/user/llm-as-computer/src
for f in executor.mojo; do
curl -sL -H "Authorization: token $GH_TOKEN" -H "Accept: application/vnd.github.v3.raw" \
done
for f in isa_lite.py programs.py runner.py; do
rm -f percepta_exec  # force recompile
bash setup.sh
More from claude-skill-registry
All skills →
About this skill
What does the llm-as-computer skill do?

Execute programs on a compiled transformer stack machine where every instruction fetch and memory read is a parabolic attention head. Demonstrates that transformer attention + FF layers can implement a working computer. Use when user mentions "llm-as-computer", "lac", "stack machine", "compiled transformer", "percepta", "parabolic attention", "execute program", or asks to run/trace programs on the transformer executor.

How do I install it?

Run `npx skills add majiayu000/claude-skill-registry --skill llm-as-computer --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From majiayu000/claude-skill-registry, a repository with 534 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going