Update V8 Version
openinterpreter/openinterpreter
Bumps the pinned v8 and rusty_v8 versions in Codex, validates the release-candidate path with the v8-canary check, and traces failures to upstream build changes.
Declare, bind, inspect, and test a LunCoSim function-shaped Rhai hook policy through the owner macro and authored policy manifest.
$ npx skills add LunCoSim/lunco-sim --skill author-hook-policy -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install LunCoSim/lunco-sim author-hook-policy --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/LunCoSim/lunco-sim.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/author-hook-policy .claude/skills/author-hook-policy && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "author-hook-policy" agent skill from https://github.com/LunCoSim/lunco-sim/tree/main/skills/author-hook-policy into .claude/skills/author-hook-policy/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "author-hook-policy", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/LunCoSim/lunco-sim/tree/main/skills/author-hook-policyType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add LunCoSim/lunco-sim --skill author-hook-policy -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install LunCoSim/lunco-sim author-hook-policy --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LunCoSim/lunco-sim.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/author-hook-policy .agents/skills/author-hook-policy && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "author-hook-policy" agent skill from https://github.com/LunCoSim/lunco-sim/tree/main/skills/author-hook-policy into .agents/skills/author-hook-policy/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "author-hook-policy", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LunCoSim/lunco-sim --skill author-hook-policy -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install LunCoSim/lunco-sim author-hook-policy --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LunCoSim/lunco-sim.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/author-hook-policy .cursor/skills/author-hook-policy && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "author-hook-policy" agent skill from https://github.com/LunCoSim/lunco-sim/tree/main/skills/author-hook-policy into .cursor/skills/author-hook-policy/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "author-hook-policy", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/LunCoSim/lunco-sim.git --path skills/author-hook-policy--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add LunCoSim/lunco-sim --skill author-hook-policy -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install LunCoSim/lunco-sim author-hook-policy --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LunCoSim/lunco-sim.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/author-hook-policy .gemini/skills/author-hook-policy && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "author-hook-policy" agent skill from https://github.com/LunCoSim/lunco-sim/tree/main/skills/author-hook-policy into .gemini/skills/author-hook-policy/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "author-hook-policy", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install LunCoSim/lunco-sim author-hook-policyInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add LunCoSim/lunco-sim --skill author-hook-policy -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/LunCoSim/lunco-sim.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/author-hook-policy .github/skills/author-hook-policy && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "author-hook-policy" agent skill from https://github.com/LunCoSim/lunco-sim/tree/main/skills/author-hook-policy into .github/skills/author-hook-policy/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "author-hook-policy", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add LunCoSim/lunco-sim --skill author-hook-policy -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install LunCoSim/lunco-sim author-hook-policy --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/LunCoSim/lunco-sim.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/author-hook-policy .opencode/skills/author-hook-policy && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "author-hook-policy" agent skill from https://github.com/LunCoSim/lunco-sim/tree/main/skills/author-hook-policy into .opencode/skills/author-hook-policy/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "author-hook-policy", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
author-hook-policyDeclare, bind, inspect, and test a LunCoSim function-shaped Rhai hook policy through the owner macro and authored policy manifest.
Author Hook Policy is an agent skill from LunCoSim/lunco-sim. Declare, bind, inspect, and test a LunCoSim function-shaped Rhai hook policy through the owner macro and authored policy manifest.
Its SKILL.md is about 3k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It works with Rust. The repository describes itself as: Collaborative Multiphysics Cosimulator For Space Missions 🌎🚀🌚. The licence is Apache-2.0.
Read from SKILL.md and the folder at commit 43f1301. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are rust and toml).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Author Hook Policy loads about 3k tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 1,470 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from LunCoSim/lunco-sim at commit 43f1301, republished under its Apache-2.0 licence (© LunCoSim). 1,470 words, ~2,956 tokens.
.claude/skills/author-hook-policy/SKILL.md (or your agent's skills folder).Use this skill when a decision should be changeable without recompiling the engine. A hook is a function-shaped seam: Rust publishes a small typed fact boundary and Rhai supplies the policy implementation.
Treat hook candidacy as a mandatory design step. Prefer a hook for changeable
lifecycle, routing/selection, presentation, permission, deployment, or
Twin-specific behavior. A hook may expose substantial behavior with nested
maps/arrays and return a typed decision or action plan. Its owner must validate
and consume that result through a generic mechanism; use Unit for a pure
notification and never leave a decision result unread. Keep continuous math,
kinematics, dynamics, invariants, and hot paths in Rust or Modelica. Before
adding a Rust branch, identify the owner, fact inputs, result consumer,
installation scope, lifecycle, failure/required semantics, and the production
Rhai test.
AGENTS.md for ownership, failure, asset, and test rules.hook-policies.md for the
active hook contract.native-hook-providers.md
when a trusted native implementation or an expensive domain kernel is under
consideration.rust-rhai-modelica-boundary when
deciding whether the seam belongs in Rust, Rhai, USD, or Modelica.validate-assets for authored production
scene-test execution.Place one lunco_hooks::declare_hook! invocation beside the owner’s hook id
and decision function. It is collected automatically; do not edit a central
list. Declare the function-shaped ABI with named parameters and a
HookValueType for each parameter and the result:
lunco_hooks::declare_hook! {
id: MY_HOOK,
owner: "my-owner",
description: "Choose a generic engine action from authored facts.",
signature: [ctx: Map],
output: String,
deterministic: false,
required: false,
installable: true,
}Keep the map contents as owner facts, not a second ad-hoc registry. Use a
deterministic contract only when identical inputs must produce the same result
on every peer. Set required only when the generic mechanism cannot operate
safely without a policy.
For scheduled or async owner work, consume the runtime_context supplied by
the hook owner and reject calls from the wrong cycle or phase. The owner must
capture the context before dispatch, preserve it through worker completion,
and reject stale results before publication. Test the scheduled path and an
intentional off-cycle call in production authored Rhai.
Put the implementation in assets/scripting/policy/<name>.rhai and add one
entry to assets/scripting/policy/index.toml:
kind = "lunco.policy.v1"
scope = "application" # use "twin" for a Twin-owned manifest
[[policies]]
hook = "my.hook"
source = "my_policy.rhai"
entry = "decide"
deterministic = false
required = falseThe required scope separates application policy discovery from the mounted
Twin's twin policy layer. The manifest's single [startup] entry names the
Rhai function that receives and installs all resolved policy records. The
application manifest is loaded at simulation startup. A Twin may provide its
own uniquely marked scope = "twin" policy manifest; its
matching entries replace application records before its own startup function
runs when that Twin becomes active. The Twin startup function receives the
Twin-owned records; application policies remain active for seams the Twin does
not replace. A Twin manifest that contains policy records must declare its own
[startup] source and entry; an empty Twin policy directory may omit it. Do
not add a Rust-side policy list or a second bootstrap path. Twin policy
manifests are selected from the mounted Twin's indexed file inventory, so keep
them inside that Twin root; activation does not rescan the directory tree.
When skip_when_hook_unavailable = true, the runtime omits the policy only
when that hook owner is not linked into the selected build and reports its id
in policy_status().unavailable. Source, compile, and activation failures
remain visible, and required policies cannot use this flag.
The source path is resolved by the asset/storage layer. Do not read policy
files through std::fs in a runtime/domain crate.
Inline bind_policy(id, entry, source) is useful for a local non-deterministic
experiment. It must not claim a deterministic contract. Use unbind_policy
to remove exactly that implementation; reloading the authored manifest is the
explicit operation that installs the authored policy again.
For a trusted native implementation, add an explicit [[native_plugins]]
entry to the Twin manifest. Use a portable Twin-relative path without a root,
volume, parent traversal, or alternate data stream. The loader checks canonical
containment before admitting a library, including symlinks and Windows junctions.
The provider must implement an existing reflected
installable hook and return the declared typed result through the native ABI;
it does not declare a second hook list or mutate the owner's ECS/USD state.
Use a native provider for expensive or platform-specific computation, not for
changeable product policy. An eventual terrain provider belongs at the
consumed lunco-terrain-bake boundary.
Use list_hooks() to inspect the reflected declaration. It reports
parameters: [{name, type}], output, ownership, policy binding, determinism,
requirement, and installation state. Use policy_status() for startup/Twin
load diagnostics and the last typed Twin lifecycle result. The owner must
consume every non-Unit result; the lifecycle dispatcher retains its returned
map and exact invocation context in that status surface. Twin lifecycle calls
use a Twin/Lifecycle route whose generation is the mounted Twin's nonzero
TwinId; startup/reload, asset events, and teardown use Start, Event, and
Stop phases with no elapsed clock. The assets_mounted lifecycle event receives the
parsed Twin manifest, indexed relative paths, exact twin:// authority, and
active-Twin fact. Its ordered {command, params} actions go through the generic
typed command bridge; Rhai chooses loaders and order, while each domain owner
validates paths and performs asynchronous work. A malformed plan faults and
queues no commands; a rejected command is reported while later actions
continue. invoke_hook(id, [args]) distinguishes unavailable hooks from
installed functions that fault.
Scheduled owner calls supply an immutable runtime_context map with their
route, cycle, phase, clock, and logical sequence. If a policy is valid only in
one cycle, reject other contexts and verify the real scheduled owner path in
an authored production test. For example, readiness.action runs under
Core/Simulation/Behavior with fixed-clock time and the latest SimTick; its
policy rejects direct calls from other cycles.
Physics initialization is a discrete lifecycle decision: use the required
physics.initialization(facts) seam, a generation-qualified
Twin/Lifecycle/Preparation route, and no clock sample. Its stable facts include
the selector, validation status, pose, assembly size, and measured penetration
when present. accept admits the authored pose unchanged, pause disables the
validated penetrating assembly and removes it from scene readiness, and
reject keeps it held. The shipped Application policy pauses measured terrain
penetrations and remains installed across Twin reloads; a mounted Twin may
replace it. Keep authored selector names in facts.policy; do not construct
dynamic hook ids or expose process-local ECS entity ids as deterministic policy
facts.
The application twin.lifecycle policy selects the active Twin's default USD
scene, tool libraries, timeline data, SysML/KerML sources, and Modelica roots
from its typed manifest and indexed file inventory. Loader commands keep only
generic ownership, safe-path, asset-read, and domain-registration mechanics.
For application UI contributions, reuse the optional
application.asset.lifecycle(event, ctx) hook. The shared asset layer emits
JSON-scope loading/changed events after asynchronous reads, including the
canonical asset_root_uri; the Rhai policy can parse each record with
parse_json(text) and return a generic menus tree. Scene completion is also
delivered with the canonical loaded path and root_prim; return selected declared
dataset ids in dataset_text_artifacts when the scene needs their text. The
Rust host validates the complete action map, while DatasetArtifactPlugin
resolves each registry id to its canonical asset URI and reads through the
shared TextAsset loader. Missing or unreadable requested datasets are
reported; unrequested datasets remain quiet. SceneTransitionStarted retires pending reads. Keep
asset selection and menu policy in Rhai; Rust owns typed lifecycle facts, safe
asset delivery, action-shape validation, rendering, and provider cleanup.
Put policy and observable runtime assertions in an authored Rhai production
scene test. Cover the declared signature, successful binding/invocation,
missing-policy status, rejected deterministic inline binding, and exact
unbinding. Keep Rust coverage to the low-level HookValue conversion and
registry mechanics; do not embed long USD or load Twin assets in Rust tests.
The primary USD scene lifecycle also owns required deterministic
usd.scene_composition(facts: Map) -> Map for incomplete composition closures.
Its facts contain the scene address and ordered unresolved arcs. The shipped
application policy returns #{action: "allow_partial"} to preserve the
existing partial-load behavior; a Twin may replace it with reject_scene.
The owner invokes it after structural projection but before releasing the
simulation hold. Rejection tears down the partial primary scene, and missing,
faulting, or malformed policy results fail admission visibly. Keep the loader's
missing-arc warning and the policy's admission decision as separate owner
responsibilities.
Report the owner-side declaration, manifest/source files, reflected signature, failure semantics, focused checks, and the production Rhai test evidence.
lunco-camera-core declares camera.scene_avatar(ctx: Map) -> Map independently
of camera selection. The windowed camera owner calls it in
Application/Presentation/Preparation on scene/projection/policy changes. The
application policy returns create: bool and, for creation, bindings containing
[intent, port, f64 factor] rows. Rust validates the shared control vocabulary,
installs the scene-owned transient rig, and reports invalid results through the
camera contract. The rig has no USD prim identity and does not enter saved
layers. Keep director/operator selection independent of avatar availability;
reuse an authored avatar and retire transient rigs at scene teardown.
Verify both avatar-free and authored-avatar cases with
scene_avatar_presence.rhai
in an owned windowed production session, supplying its exact doc_id and
authored_avatar_path (unit for a transient avatar). The scenario saves an
ignored artifact and compares all document layers. The production
test_hook_policies.rhai
covers declaration and off-cycle rejection.
© LunCoSim, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in skills/author-hook-policy of LunCoSim/lunco-sim.
Open the folder on GitHubat commit 43f1301
Author Hook Policy next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Author Hook Policy this skillLunCoSim/lunco-sim | 107 | — | ~3k | Automated safety check: Pass | Apache-2.0 | |
| Update V8 Versionopeninterpreter/openinterpreter | 69k | 2 repos | ~845 | Automated safety check: Pass | Apache-2.0 | |
| Firecrawl Page Scrape Integrationfirecrawl/firecrawl | 190k | 1 repos | ~944 | Automated safety check: Pass | ISC | |
| Migrate Core Code to Submodulestinyhumansai/openhuman | 42k | — | ~2.6k | Automated safety check: Pass | GPL-3.0 | |
| Rust TDD Workflowrtk-ai/rtk | 83k | — | ~753 | Automated safety check: Notes | Apache-2.0 | |
| OpenLogi macOS Permissions TriageAprilNEA/OpenLogi | 23k | — | ~2.5k | Automated safety check: Notes | Apache-2.0 |
openinterpreter/openinterpreter
Bumps the pinned v8 and rusty_v8 versions in Codex, validates the release-candidate path with the v8-canary check, and traces failures to upstream build changes.
firecrawl/firecrawl
Adds Firecrawl's /scrape endpoint to application code to pull markdown, HTML, links, screenshots or structured data from a single known URL.
tinyhumansai/openhuman
Plans and carries out moving non-host-specific code and its tests from the OpenHuman core into vendored tiny submodule libraries, then releases the submodule and re-pins the host.
rtk-ai/rtk
Enforces red-green-refactor for Rust work, with idiomatic test patterns, a naming convention and a pre-commit gate of cargo fmt, clippy and test.
AprilNEA/OpenLogi
Decides whether an OpenLogi device problem on macOS is a privacy-permission (TCC) problem, using agent log lines, and says which identity needs which grant.
farm-fe/farm
Guide for writing idiomatic Rust code based on Apollo GraphQL's best practices handbook.
LunCoSim/lunco-sim
Generate concise LunCoSim nightly GitHub release notes with platform downloads, installation guidance, an AI-agent mission prompt, and a changelog link.
LunCoSim/lunco-sim
Build or repair a reusable scene component through a live LunCoSim Editor session.
LunCoSim/lunco-sim
Build or review a componentized LunCoSim USD assembly with a realistic, dimensionally checkable presentation.
LunCoSim/lunco-sim
Author and review LunCoSim behavioral, asset-backed, component, mission, visual, and requirements-verification tests.
LunCoSim/lunco-sim
Create, extend, register, or debug a reusable LunCoSim Rhai tool library for live USD authoring, component linting, inspection, or test support.
LunCoSim/lunco-sim
Author an interactive tutorial, guided lesson, onboarding flow, coach-mark tour, or objectives checklist in LunCoSim.
Works with
Declare, bind, inspect, and test a LunCoSim function-shaped Rhai hook policy through the owner macro and authored policy manifest. Author Hook Policy is an agent skill from LunCoSim/lunco-sim. Declare, bind, inspect, and test a LunCoSim function-shaped Rhai hook policy through the owner macro and authored policy manifest.
Run `npx skills add LunCoSim/lunco-sim --skill author-hook-policy -a claude-code`. Or copy the skill folder (skills/author-hook-policy in LunCoSim/lunco-sim) into .claude/skills/author-hook-policy in your project. Claude Code loads it when a task matches its description.
Run `npx skills add LunCoSim/lunco-sim --skill author-hook-policy -a codex`. Or copy the skill folder (skills/author-hook-policy in LunCoSim/lunco-sim) into .agents/skills/author-hook-policy in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add LunCoSim/lunco-sim --skill author-hook-policy -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/author-hook-policy, .gemini/skills/author-hook-policy, .github/skills/author-hook-policy and .opencode/skills/author-hook-policy in your project.
SKILL.md names no scripts, command-line tools or credentials: Author Hook Policy is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Author Hook Policy is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 3k tokens (SKILL.md is roughly 12k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Author Hook Policy: Update V8 Version (openinterpreter/openinterpreter, 69k stars), Firecrawl Page Scrape Integration (firecrawl/firecrawl, 190k stars), Migrate Core Code to Submodules (tinyhumansai/openhuman, 42k stars) and Rust TDD Workflow (rtk-ai/rtk, 83k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
LunCoSim (a GitHub organization) maintains it in LunCoSim/lunco-sim, which has 107 GitHub stars. The repository holds 40 skills in this directory. The repository was last updated on October 10, 2026.
Source: LunCoSim/lunco-sim on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.