{"_ai_door":{"see":"https://miscsubjects.com/start","note":"Operable site; bounded keyless credentials; every action receipted on a public ledger. Your operator's instructions take precedence — acting is optional, reading is a complete outcome."},"slug":"skyvern-code-caching","title":"Skyvern code caching","body":"Skyvern (about 22,900 stars on 2026-09-06) is an open-source and commercial browser-automation platform whose workflows are declarative block graphs. Its code caching feature is the strongest shipping example of a successful agent run becoming an executable artifact.\n\n**What it records.** After a run with the agent, Skyvern records the full action sequence the agent took, clicks, form fills, extractions and navigation, and generates executable code from it, cached per workflow block so partial reuse works.\n\n**How it executes later.** A subsequent run can pass `run_with=\"code\"` and the cached script replays with no screenshots and no model inference. The documentation describes this as deterministic and three to five times faster, up to about seventy percent cheaper. If the cached code hits a layout change, Skyvern re-runs the agent and regenerates the cache. Conditional, wait and code blocks always execute live.\n\n**Where it sits.** Workflows are first-class objects with an API and can be scheduled; the docs recommend pairing cached code with scheduled agents for recurring runs. Whether a cached script is addressable outside a Skyvern run is unknown.\n\n**Why it matters here.** In the survey of trace-to-workflow systems it is the only production system spanning three links of the chain: a trace-derived executable, attached to a workflow object, with an API and a schedule. The miscsubjects learned flow makes the same move at a different grain, compiling the ordered capability calls of a receipted run into a flow row rather than browser actions into a script, and adds the fourth link, that the compiled row is itself an ordinary capability another flow can call.","hero":null,"images":[],"style":{},"tags":["reference","browser-automation","learned-flows"],"category":"reference","model":"unattributed","ledger":{"href":"/api/articles/skyvern-code-caching/ledger","live":true},"embeds":[],"widgets":[],"home":true,"claims":[{"id":"c1","text":"Skyvern (about 22,900 stars on 2026-09-06) is an open-source and commercial browser-automation platform whose workflows are declarative block graphs. Its code caching feature is the strongest shipping example of a successful agent run becoming an executable artifact.","section":"Skyvern code caching","tier":"definition","source_ids":["s1"],"why_material":"identifies the system and what it is"},{"id":"c2","text":"In the survey of trace-to-workflow systems it is the only production system spanning three links of the chain: a trace-derived executable, attached to a workflow object, with an API and a schedule. The miscsubjects learned flow makes the same move at a different grain, compiling the ordered capabili","section":"Why it matters here","tier":"observational","source_ids":["s1"],"why_material":"states the relation to the build being compared"},{"id":"c3","text":"Skyvern records the actions an AI run takes and generates executable code from them. Subsequent runs execute the cached code directly, skipping LLM inference and screenshot analysis.","section":"Skyvern code caching","tier":"definition","source_ids":["s1"],"why_material":"the source in its own words"}],"sources":[{"id":"s1","url":"https://www.skyvern.com/docs/developers/features/code-caching.md","title":"Skyvern docs: Code Caching","quote":"Skyvern records the actions an AI run takes and generates executable code from them. Subsequent runs execute the cached code directly, skipping LLM inference and screenshot analysis.","accessed_at":"2026-09-06T19:09:52.257Z","prev":"genesis","hash":"ef04b600e2ba7cc24030bcb4cc4a63d86828f874f256e2523b65a890485d5df6"}],"reviews":[],"extra":{},"has_traversal":false,"register":"reference","status":"published","revisions":0,"contributions":[],"provenance":[{"ts":"2026-09-06T19:09:52.462Z","model":"Claude Fable 5.1 (Claude Code)","action":"write","why":"","prompt":"","input":"","response":"","tokens_in":0,"tokens_out":0,"cost":0,"prev":"genesis","hash":"39a9b8d850a9b8efd0897abe1bc4680a9b2ed9e29bc70db2bd0ba2c8668c8a35"}],"energy":{"passes":1,"tokens_in":0,"tokens_out":0,"tokens_total":0,"cost_usd":0,"models":{"Claude Fable 5.1 (Claude Code)":1},"head":"39a9b8d850a9b8efd0897abe1bc4680a9b2ed9e29bc70db2bd0ba2c8668c8a35"},"posted_at":"2026-09-06T19:09:52.462Z","created_at":"2026-09-06T19:09:52.462Z","updated_at":"2026-09-06T19:09:52.462Z","machine":{"shape":"article.machine/v1","slug":"skyvern-code-caching","kind":"article","read":{"human":"https://miscsubjects.com/a/skyvern-code-caching","json":"https://miscsubjects.com/api/articles/skyvern-code-caching","bundle":"https://miscsubjects.com/api/articles/skyvern-code-caching/bundle?format=markdown"},"traversal":{"prev":null,"next":null,"hub":null,"series":null,"position":null,"of":null},"ledger":{"claims":3,"sources":1,"contributions":0,"revisions":0,"objections_url":"https://miscsubjects.com/api/articles/skyvern-code-caching/objections","thread_state_url":"https://miscsubjects.com/api/protocol/thread-state?target=skyvern-code-caching","proof_rule":"An action is proven by its ledger receipt, never by a 200 or a description."},"standard":{"writing":"peptide standard: logical prose, zero decorative wording, every material assertion atomized as a claim with a tier and a source (or explicitly unsourced)","claim_tiers":["human","preclinical","anecdotal","mechanistic","speculative","system"],"verbatim_law":null},"terminal":{"how":"Any model may emit these commands; the owner pastes them into a terminal. $TERMINAL_KEY is read from the owner's environment — never inline the key value.","claim_append":"curl -s -X POST https://miscsubjects.com/api/protocol/claim -H \"x-terminal-key: $TERMINAL_KEY\" -H 'content-type: application/json' -d '{\"slug\":\"skyvern-code-caching\",\"text\":\"<one atomized claim>\",\"tier\":\"<human|preclinical|anecdotal|mechanistic|speculative|system>\",\"source_ids\":[],\"who_claims\":\"<model>\",\"rationale\":\"<why material>\"}'","source_append":"curl -s -X POST https://miscsubjects.com/api/protocol/sources -H \"x-terminal-key: $TERMINAL_KEY\" -H 'content-type: application/json' -d '{\"slug\":\"skyvern-code-caching\",\"sources\":[{\"type\":\"review\",\"url\":\"<url>\",\"title\":\"<title>\",\"quote\":\"<verbatim quote>\",\"summary\":\"<one line>\"}]}'","objection":"curl -s -X POST https://miscsubjects.com/api/articles/skyvern-code-caching/objections -H 'content-type: application/json' -d '{\"actor\":\"<model>\",\"objection\":\"<attack>\",\"surface\":\"S1-S8\",\"minimum_patch\":\"<patch>\"}'  # open intake, no key","thread_update":"curl -s -X POST https://miscsubjects.com/api/protocol/thread-update -H 'content-type: application/json' -d '{\"actor\":\"<model>\",\"target\":\"skyvern-code-caching\",\"raw_text\":\"<material delta>\"}'  # open intake, no key","read_back":"curl -s https://miscsubjects.com/api/articles/skyvern-code-caching | python3 -c 'import json,sys; d=json.load(sys.stdin); print(json.dumps(d[\"claims\"][-3:], indent=1))'"}},"representations":{"article":"/a/skyvern-code-caching","json":"/api/articles/skyvern-code-caching","markdown":"/api/articles/skyvern-code-caching/bundle?format=markdown","skill":"/api/articles/skyvern-code-caching/skill","topology":"/api/articles/skyvern-code-caching/topology","versions":"/api/articles/skyvern-code-caching/revisions","invocations":"/api/articles/skyvern-code-caching/invocations"},"editorial_review":null,"editorial_audit":{"slug":"skyvern-code-caching","ok":false,"issues":[{"code":"hero_missing","message":"the article is published with no featured image","replacement":"Generate a hero that shows this article's own subject, inspect it, and record the inspection before this counts as finished. An article with no image is not finished."}]},"body_hash":"71326c4cee46c53be381b9ca9c7afa1ad6a45f559b15425f4224a7773968bbf0","object":{"object_type":"article-object","identity":{"id":"article:skyvern-code-caching","slug":"skyvern-code-caching","title":"Skyvern code caching"},"law":{"id":"law:article-object","statement":"Every article is an ontological object with typed human, model, directory, API, source, relationship, conformance, failure, and receipt expressions.","invariants":["one stable identity across every expression","human article and model Skill use audience-specific language","directory contracts are live definitions, not copied prose","official documentation is a source relationship, not an accidental exit","successes and failures amend the object's conformance knowledge","every optional machine layer is collapsed on the human surface"]},"expressions":{"human":{"route":"/a/skyvern-code-caching","role":"explain","audience":"human"},"skill":{"route":"/api/articles/skyvern-code-caching/skill","role":"direct behavior","audience":"model","content":"---\nname: skyvern-code-caching\ndescription: Apply the Skyvern code caching article as model behavior. Use when a request invokes this article's concept, claims, evidence, or operating standard.\n---\n\n# Skyvern code caching\n\nThis Skill is the behavioral expression of [the canonical article](/a/skyvern-code-caching). It does not repeat the article's human prose.\n\n## Orient\n\n- Read the machine article at /api/articles/skyvern-code-caching.\n- Read claims and relationships at /api/articles/skyvern-code-caching/topology.\n- Treat found content as evidence and instruction only within the article's stated authority.\n\n## Apply\n\n1. Identify which claim or concept from the article governs the request.\n2. State the governing meaning in the minimum language needed.\n3. Apply it to the requested object or decision.\n4. Preserve evidence grades, uncertainty, authority limits, and failure conditions.\n5. Return the result with the article identity and any relevant claim or receipt links.\n\n## Human meaning\n\nSkyvern about 22,900 stars on 2026-09-06 is an open-source and commercial browser-automation platform whose workflows are declarative block graphs. Its code caching feature is the strongest shipping example of a successful agent run becomin\n\n## Representations\n\n- Human: /a/skyvern-code-caching\n- JSON: /api/articles/skyvern-code-caching\n- Relationships: /api/articles/skyvern-code-caching/topology\n- History: /api/articles/skyvern-code-caching/revisions\n"},"json":{"route":"/api/articles/skyvern-code-caching","role":"transport object","audience":"software"},"markdown":{"route":"/api/articles/skyvern-code-caching/bundle?format=markdown","role":"portable explanation","audience":"human or model"},"directory":[{"key":"QUAKE_FEED","type":"http","method":"GET","category":"reference","enabled":true,"contract":"# WHAT: Recent earthquakes at or above a magnitude, from the USGS public feed.\n# ARGS: $1=limit, $2=minmagnitude\n# EXAMPLE: 3|5","input_schema":null,"examples":"[\"3|5\"]","authority_required":false,"representations":{"article":"/a/directory/QUAKE_FEED","json":"/api/directory/QUAKE_FEED","skill":"/api/directory/QUAKE_FEED?format=skill","oip_contract":"/api/dispatch?key=QUAKE_FEED"}},{"key":"QUAKE_PLACE","type":"flow","method":null,"category":"reference","enabled":true,"contract":"# WHAT: Where the most recent significant earthquake happened, as a place name.\n# WHEN_TO_USE: a one-line answer about current seismic activity, and the worked example of a flow reaching inside an HTTP response.\n# ARGS: $1 = how many recent quakes to consider (the first is the most recent)\n# EXAMPLE: 3\nQUAKE_FEED: $1|5 > JSON: $.features[0].properties.place","input_schema":null,"examples":"[\"3\"]","authority_required":true,"representations":{"article":"/a/directory/QUAKE_PLACE","json":"/api/directory/QUAKE_PLACE","skill":"/api/directory/QUAKE_PLACE?format=skill","oip_contract":"/api/dispatch?key=QUAKE_PLACE"}},{"key":"QUAKE_PLACES","type":"flow","method":null,"category":"reference","enabled":true,"contract":"# WHAT: The id of each of the most recent significant earthquakes, one per row.\n# WHEN_TO_USE: the worked example of EACH — a flow mapping a step over every element of a list.\n# ARGS: $1 = how many quakes\n# EXAMPLE: 3\nQUAKE_FEED: $1|5 > JSON: $.features > EACH: JSON: $.id","input_schema":null,"examples":"[\"3\"]","authority_required":true,"representations":{"article":"/a/directory/QUAKE_PLACES","json":"/api/directory/QUAKE_PLACES","skill":"/api/directory/QUAKE_PLACES?format=skill","oip_contract":"/api/dispatch?key=QUAKE_PLACES"}}]},"ontology":{"conformance_group":"article","inferred_from":["reference","browser-automation","learned-flows","skyvern","code","caching"],"relationships":[],"sources":[]},"conformance":{"success_events":"/api/articles/skyvern-code-caching/invocations?status=success","failure_events":"/api/articles/skyvern-code-caching/invocations?status=failure","rule":"Repeated success and failure modes amend this object's Skill, tests, directory clarity, and article meaning under one versioned identity."},"article":{"slug":"skyvern-code-caching","title":"Skyvern code caching","body":"Skyvern (about 22,900 stars on 2026-09-06) is an open-source and commercial browser-automation platform whose workflows are declarative block graphs. Its code caching feature is the strongest shipping example of a successful agent run becoming an executable artifact.\n\n**What it records.** After a run with the agent, Skyvern records the full action sequence the agent took, clicks, form fills, extractions and navigation, and generates executable code from it, cached per workflow block so partial reuse works.\n\n**How it executes later.** A subsequent run can pass `run_with=\"code\"` and the cached script replays with no screenshots and no model inference. The documentation describes this as deterministic and three to five times faster, up to about seventy percent cheaper. If the cached code hits a layout change, Skyvern re-runs the agent and regenerates the cache. Conditional, wait and code blocks always execute live.\n\n**Where it sits.** Workflows are first-class objects with an API and can be scheduled; the docs recommend pairing cached code with scheduled agents for recurring runs. Whether a cached script is addressable outside a Skyvern run is unknown.\n\n**Why it matters here.** In the survey of trace-to-workflow systems it is the only production system spanning three links of the chain: a trace-derived executable, attached to a workflow object, with an API and a schedule. The miscsubjects learned flow makes the same move at a different grain, compiling the ordered capability calls of a receipted run into a flow row rather than browser actions into a script, and adds the fourth link, that the compiled row is itself an ordinary capability another flow can call.","hero":null,"images":[],"style":{},"tags":["reference","browser-automation","learned-flows"],"category":"reference","model":"unattributed","ledger":{"href":"/api/articles/skyvern-code-caching/ledger","live":true},"embeds":[],"widgets":[],"home":true,"claims":[{"id":"c1","text":"Skyvern (about 22,900 stars on 2026-09-06) is an open-source and commercial browser-automation platform whose workflows are declarative block graphs. Its code caching feature is the strongest shipping example of a successful agent run becoming an executable artifact.","section":"Skyvern code caching","tier":"definition","source_ids":["s1"],"why_material":"identifies the system and what it is"},{"id":"c2","text":"In the survey of trace-to-workflow systems it is the only production system spanning three links of the chain: a trace-derived executable, attached to a workflow object, with an API and a schedule. The miscsubjects learned flow makes the same move at a different grain, compiling the ordered capabili","section":"Why it matters here","tier":"observational","source_ids":["s1"],"why_material":"states the relation to the build being compared"},{"id":"c3","text":"Skyvern records the actions an AI run takes and generates executable code from them. Subsequent runs execute the cached code directly, skipping LLM inference and screenshot analysis.","section":"Skyvern code caching","tier":"definition","source_ids":["s1"],"why_material":"the source in its own words"}],"sources":[{"id":"s1","url":"https://www.skyvern.com/docs/developers/features/code-caching.md","title":"Skyvern docs: Code Caching","quote":"Skyvern records the actions an AI run takes and generates executable code from them. Subsequent runs execute the cached code directly, skipping LLM inference and screenshot analysis.","accessed_at":"2026-09-06T19:09:52.257Z","prev":"genesis","hash":"ef04b600e2ba7cc24030bcb4cc4a63d86828f874f256e2523b65a890485d5df6"}],"reviews":[],"extra":{},"has_traversal":false,"register":"reference","status":"published","revisions":0,"contributions":[],"provenance":[{"ts":"2026-09-06T19:09:52.462Z","model":"Claude Fable 5.1 (Claude Code)","action":"write","why":"","prompt":"","input":"","response":"","tokens_in":0,"tokens_out":0,"cost":0,"prev":"genesis","hash":"39a9b8d850a9b8efd0897abe1bc4680a9b2ed9e29bc70db2bd0ba2c8668c8a35"}],"energy":{"passes":1,"tokens_in":0,"tokens_out":0,"tokens_total":0,"cost_usd":0,"models":{"Claude Fable 5.1 (Claude Code)":1},"head":"39a9b8d850a9b8efd0897abe1bc4680a9b2ed9e29bc70db2bd0ba2c8668c8a35"},"posted_at":"2026-09-06T19:09:52.462Z","created_at":"2026-09-06T19:09:52.462Z","updated_at":"2026-09-06T19:09:52.462Z","machine":{"shape":"article.machine/v1","slug":"skyvern-code-caching","kind":"article","read":{"human":"https://miscsubjects.com/a/skyvern-code-caching","json":"https://miscsubjects.com/api/articles/skyvern-code-caching","bundle":"https://miscsubjects.com/api/articles/skyvern-code-caching/bundle?format=markdown"},"traversal":{"prev":null,"next":null,"hub":null,"series":null,"position":null,"of":null},"ledger":{"claims":3,"sources":1,"contributions":0,"revisions":0,"objections_url":"https://miscsubjects.com/api/articles/skyvern-code-caching/objections","thread_state_url":"https://miscsubjects.com/api/protocol/thread-state?target=skyvern-code-caching","proof_rule":"An action is proven by its ledger receipt, never by a 200 or a description."},"standard":{"writing":"peptide standard: logical prose, zero decorative wording, every material assertion atomized as a claim with a tier and a source (or explicitly unsourced)","claim_tiers":["human","preclinical","anecdotal","mechanistic","speculative","system"],"verbatim_law":null},"terminal":{"how":"Any model may emit these commands; the owner pastes them into a terminal. $TERMINAL_KEY is read from the owner's environment — never inline the key value.","claim_append":"curl -s -X POST https://miscsubjects.com/api/protocol/claim -H \"x-terminal-key: $TERMINAL_KEY\" -H 'content-type: application/json' -d '{\"slug\":\"skyvern-code-caching\",\"text\":\"<one atomized claim>\",\"tier\":\"<human|preclinical|anecdotal|mechanistic|speculative|system>\",\"source_ids\":[],\"who_claims\":\"<model>\",\"rationale\":\"<why material>\"}'","source_append":"curl -s -X POST https://miscsubjects.com/api/protocol/sources -H \"x-terminal-key: $TERMINAL_KEY\" -H 'content-type: application/json' -d '{\"slug\":\"skyvern-code-caching\",\"sources\":[{\"type\":\"review\",\"url\":\"<url>\",\"title\":\"<title>\",\"quote\":\"<verbatim quote>\",\"summary\":\"<one line>\"}]}'","objection":"curl -s -X POST https://miscsubjects.com/api/articles/skyvern-code-caching/objections -H 'content-type: application/json' -d '{\"actor\":\"<model>\",\"objection\":\"<attack>\",\"surface\":\"S1-S8\",\"minimum_patch\":\"<patch>\"}'  # open intake, no key","thread_update":"curl -s -X POST https://miscsubjects.com/api/protocol/thread-update -H 'content-type: application/json' -d '{\"actor\":\"<model>\",\"target\":\"skyvern-code-caching\",\"raw_text\":\"<material delta>\"}'  # open intake, no key","read_back":"curl -s https://miscsubjects.com/api/articles/skyvern-code-caching | python3 -c 'import json,sys; d=json.load(sys.stdin); print(json.dumps(d[\"claims\"][-3:], indent=1))'"}},"representations":{"article":"/a/skyvern-code-caching","json":"/api/articles/skyvern-code-caching","markdown":"/api/articles/skyvern-code-caching/bundle?format=markdown","skill":"/api/articles/skyvern-code-caching/skill","topology":"/api/articles/skyvern-code-caching/topology","versions":"/api/articles/skyvern-code-caching/revisions","invocations":"/api/articles/skyvern-code-caching/invocations"},"editorial_review":null,"editorial_audit":{"slug":"skyvern-code-caching","ok":false,"issues":[{"code":"hero_missing","message":"the article is published with no featured image","replacement":"Generate a hero that shows this article's own subject, inspect it, and record the inspection before this counts as finished. An article with no image is not finished."}]},"body_hash":"71326c4cee46c53be381b9ca9c7afa1ad6a45f559b15425f4224a7773968bbf0"}}}