[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M77XGBHWYYACGEE84QJWXJVD":3,"skill-same:01M77XGBHWYYACGEE84QJWXJVD":45},{"skillNo":4,"name":5,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":20,"frontMatter":21,"refName":22,"commitSha":23,"skillDirectory":24,"forksCount":25,"repositoryHtmlUrl":26,"repositoryHomepageUrl":27,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":29,"updatedAt":30,"install":31,"resources":44},"01M77XGBHWYYACGEE84QJWXJVD","vam-scripter",null,"Lord1Egypt\u002Fawesome-skill-forge","Lord1Egypt","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F99746359?v=4","01M7592YDNT0XK9WJ0T2MQVPDN","Mohamed Mounir Ali AL Keshita","01M75GRFNHC8VZNWEB8DKDE433",3,"MIT","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fv\u002Fvam-scripter\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"# VAM Scripter Skill\n\n**Virt-A-Mate Scripter v1.5.1 Language Support**\n\nScripter is a JavaScript-inspired scripting language that runs inside Virt-A-Mate. It provides high-performance scripting without reflection, enabling automation of poses, animations, audio, and interactions.\n\n## gotolm\nScripter v1.5.1 - JavaScript-inspired VAM scripting language.\n\n## Syntax Overview\n\nScripter syntax closely resembles JavaScript with these characteristics:\n\n### Module System\n```javascript\nimport { module } from \"vam-scripter\";\nexport const name = value;\n```\n\n### Variables\n```javascript\nconst name = value;  \u002F\u002F immutable binding\nlet name = value;    \u002F\u002F mutable binding\nvar name = value;    \u002F\u002F mutable binding\n```\n\n### Functions\n```javascript\nfunction name(args) { body }\n() => { body }       \u002F\u002F arrow function syntax\n```\n\n### Control Flow\n```javascript\nif (condition) { ... } else { ... }\nfor (init; condition; update) { ... }\nwhile (condition) { ... }\nbreak; continue;\n```\n\n### Exception Handling\n```javascript\ntry { ... } catch (e) { ... }\nthrow error;\n```\n\n### Data Structures\n```javascript\n[1, 2, 3]                        \u002F\u002F array\n{ key: value }                   \u002F\u002F object\n```\n\n## Core Modules\n\n### vam-scripter Module\n\nThe main module imported as `\"vam-scripter\"` exports:\n\n| Export | Type | Description |\n|--------|------|-------------|\n| `scripter` | Object | Main plugin interface, lifecycle hooks |\n| `scene` | Object | Scene access (atoms, audio clips) |\n| `Time` | Object | Unity Time properties |\n| `Random` | Object | Random number generation |\n| `DateTime` | Object | Date\u002FTime operations |\n| `player` | Object | Player (VR\u002Fmonitor status, hand\u002Fhead transforms) |\n| `keybindings` | Object | Keybinding management |\n| `Input` | Object | Input handling |\n| `fs` | Object | File system operations |\n\n### scripter Module\n\nProvides lifecycle hooks and plugin management.\n\n| Property\u002FMethod | Arguments | Returns | Description |\n|----------------|-----------|---------|-------------|\n| `scripter.onUpdate(fn)` | `fn: () => void` | `FunctionLink` | Run every frame |\n| `scripter.onLateUpdate(fn)` | `fn: () => void` | `FunctionLink` | Run after Update |\n| `scripter.onFixedUpdate(fn)` | `fn: () => void` | `FunctionLink` | Run on physics updates |\n| `scripter.onEnable(fn)` | `fn: () => void` | `FunctionLink` | Run when enabled |\n| `scripter.onDisable(fn)` | `fn: () => void` | `FunctionLink` | Run when disabled |\n| `scripter.onDestroy(fn)` | `fn: () => void` | `FunctionLink` | Run when destroyed |\n| `scripter.declareFloatParam(config)` | `config: {name, default, min, max, constrain, onChange}` | `FloatParamDeclaration` | Create float parameter |\n| `scripter.declareStringParam(config)` | `config: {name, default, onChange}` | `StringParamDeclaration` | Create string parameter |\n| `scripter.declareBoolParam(config)` | `config: {name, default, onChange}` | `BoolParamDeclaration` | Create boolean parameter |\n| `scripter.declareAction(name, fn)` | `name: string, fn: () => void` | `ActionDeclaration` | Create action |\n| `scripter.containingAtom` | - | `AtomReference` | Reference to the atom housing the script |\n\n### scene Module\n\nProvides access to atoms and audio clips in the scene.\n\n| Property\u002FMethod | Arguments | Returns | Description |\n|----------------|-----------|---------|-------------|\n| `scene.getAtom(name)` | `name: string` | `AtomReference` | Get atom by name\u002FUID |\n| `scene.getAtoms()` | - | `Array\u003CAtomReference>` | Get all atoms |\n| `scene.getAtomIds()` | - | `Array\u003Cstring>` | Get all atom UIDs |\n| `scene.getAudioClip(type, category, clip)` | `type: \"Embedded\\|URL\", category: string, clip: string` | `NamedAudioClipReference` | Get audio clip |\n\n### player Module\n\nProvides access to player state and transforms.\n\n| Property | Type | Description |\n|----------|------|-------------|\n| `player.isVR` | `boolean` | True if in VR mode |\n| `player.lHand` | `TransformReference` | Left hand position\u002Frotation |\n| `player.rHand` | `TransformReference` | Right hand position\u002Frotation |\n| `player.head` | `TransformReference` | Head position\u002Frotation |\n\n### keybindings Module\n\nManages keybindings and commands.\n\n| Property\u002FMethod | Arguments | Returns | Description |\n|----------------|-----------|---------|-------------|\n| `keybindings.invokeCommand(name)` | `name: string` | `void` | Invoke a keybinding action |\n| `keybindings.declareCommand(name, fn)` | `name: string, fn: () => void` | `KeybindingDeclaration` | Declare a new keybinding |\n\n### fs Module\n\nFile system operations for script persistence.\n\n| Property\u002FMethod | Arguments | Returns | Description |\n|----------------|-----------|---------|-------------|\n| `fs.writeSceneFileSync(path, content)` | `path: string, content: string` | `void` | Write to scene-specific file |\n| `fs.readSceneFileSync(path)` | `path: string` | `string\\|undefined` | Read scene-specific file |\n| `fs.unlinkSceneFileSync(path)` | `path: string` | `void` | Delete scene-specific file |\n\n### Time Module\n\nUnity Time properties.\n\n| Property | Type | Description |\n|----------|------|-------------|\n| `Time.time` | `float` | Time since level load |\n| `Time.deltaTime` | `float` | Time since last frame |\n| `Time.fixedDeltaTime` | `float` | Fixed timestep for physics |\n\n### Random Module\n\nRandom number generation.\n\n| Property\u002FMethod | Arguments | Returns | Description |\n|----------------|-----------|---------|-------------|\n| `Random.value` | - | `float` | Random float 0.0-1.0 |\n| `Random.range(min, max)` | `min, max: int\\|float` | `int\\|float` | Random number in range |\n\n### Math Module\n\nMath utilities (_available as `Math`_).\n\n| Method | Arguments | Returns | Description |\n|--------|-----------|---------|-------------|\n| `Math.abs`, `Math.ceil`, `Math.floor` | `number` | `number` | Basic math |\n| `Math.sin`, `Math.cos`, `Math.tan` | `number` | `number` | Trigonometry |\n| `Math.sqrt`, `Math.pow(base, exp)` | `number` | `number` | Powers\u002Fsquare root |\n| `Math.log`, `Math.log10` | `number` | `number` | Logarithms |\n| `Math.max`, `Math.min(...args)` | `numbers` | `number` | Min\u002Fmax |\n| `Math.random()` | - | `float` | Random 0-1 |\n| `Math.lerp(start, end, t)` | `numbers` | `number` | Linear interpolation |\n| `Math.clamp(value, min, max)` | `numbers` | `number` | Clamp value |\n| `Math.round`, `Math.sign` | `number` | `number` | Rounding\u002Fsign |\n\n## Reference Types\n\n### AtomReference\n\n| Property\u002FMethod | Arguments | Returns | Description |\n|----------------|-----------|---------|-------------|\n| `atom.name` | - | `string` | Atom name |\n| `atom.type` | - | `string` | Atom type |\n| `atom.on` | - | `boolean` | Is atom on |\n| `atom.getStorableIds()` | - | `Array\u003Cstring>` | Get storable IDs |\n| `atom.getStorable(name)` | `name: string` | `StorableReference` | Get storable |\n| `atom.getController(name)` | `name: string` | `ControllerReference` | Get controller |\n| `atom.distance(other)` | `other: AtomReference` | `float` | Distance to another atom |\n\n### TransformReference\n\n| Property\u002FMethod | Arguments | Returns | Description |\n|----------------|-----------|---------|-------------|\n| `transform.position` | - | `Vector3` | Position |\n| `transform.rotation` | - | `Quaternion` | Rotation |\n| `transform.forward` | - | `Vector3` | Forward direction |\n| `transform.up` | - | `Vector3` | Up direction |\n| `transform.right` | - | `Vector3` | Right direction |\n| `transform.lookAt(target)` | `target: TransformReference` | `void` | Rotate to face target |\n| `transform.lookAt(x, y, z)` | `coords: Vector3` | `void` | Rotate to face position |\n\n### StorableReference\n\n| Property\u002FMethod | Arguments | Returns | Description |\n|----------------|-----------|---------|-------------|\n| `storable.getId()` | - | `string` | Get storable ID |\n| `storable.getType()` | - | `string` | Get storable type |\n| `storable.getAudioAction(name)` | `name: string` | `AudioActionReference` | Get audio action |\n\n### ControllerReference\n\n| Property\u002FMethod | Arguments | Returns | Description |\n|----------------|-----------|---------|-------------|\n| `controller.name` | - | `string` | Controller name |\n| `controller.transform` | - | `TransformReference` | Controller transform |\n\n### AudioActionReference\n\n| Property\u002FMethod | Arguments | Returns | Description |\n|----------------|-----------|---------|-------------|\n| `audioAction.play(clip)` | `clip: NamedAudioClipReference` | `void` | Play audio clip |\n| `audioAction.stop()` | - | `void` | Stop audio |\n\n### NamedAudioClipReference\n\n| Property\u002FMethod | Arguments | Returns | Description |\n|----------------|-----------|---------|-------------|\n| `clip.name` | - | `string` | Clip name |\n| `clip.clip` | - | `AudioClip` | Unity audio clip |\n\n## Common Patterns\n\n### Simple Update Loop\n```javascript\nimport { scripter, scene } from \"vam-scripter\";\n\nconst ball = scene.getAtom(\"Ball\");\nconst person = scene.getAtom(\"Person\");\n\nscripter.onUpdate(() => {\n    \u002F\u002F Run every frame\n});\n```\n\n### Interaction Detection\n```javascript\nimport { scripter, scene } from \"vam-scripter\";\n\nconst ball = scene.getAtom(\"Ball\");\nconst person = scene.getAtom(\"Person\");\nconst personVoice = person.getStorable(\"HeadAudioSource\").getAudioAction(\"PlayNow\");\nconst surprisedSound = scene.getAudioClip(\"URL\", \"web\", \"surprised.wav\");\n\nscripter.onUpdate(() => {\n    if (ball.distance(person) \u003C 0.5) {\n        personVoice.play(surprisedSound);\n    }\n});\n```\n\n### Keybinding Handler\n```javascript\nimport { keybindings, scripter } from \"vam-scripter\";\n\nconst action = scripter.declareAction(\"MyAction\", () => {\n    \u002F\u002F Handle action\n});\n\nkeybindings.declareCommand(\"MyActionKey\", () => {\n    keybindings.invokeCommand(\"MyAction\");\n});\n```\n\n### Parameter-Driven Animation\n```javascript\nimport { scripter, scene } from \"vam-scripter\";\n\nconst person = scene.getAtom(\"Person\");\nconst head = person.getController(\"head\");\n\nconst speedParam = scripter.declareFloatParam({\n    name: \"Animation Speed\",\n    default: 1.0,\n    min: 0.1,\n    max: 5.0,\n    onChange: (value) => {\n        \u002F\u002F Parameter changed\n    }\n});\n```\n\n### File Operations\n```javascript\nimport { fs, scripter } from \"vam-scripter\";\n\nconst state = JSON.parse(fs.readSceneFileSync(\"state.json\") || \"{}\");\n\nscripter.onUpdate(() => {\n    \u002F\u002F Use state\n});\n\nscripter.onDisable(() => {\n    fs.writeSceneFileSync(\"state.json\", JSON.stringify(state));\n});\n```\n\n### Date\u002FTime Operations\n```javascript\nconst now = DateTime.now;\nconst year = now.year;\nconst month = now.month;\nconst day = now.day;\n\n\u002F\u002F DateTime properties: year, month, day, hour, minute, second, dayOfWeek\n```\n\n## Development Notes\n\n- scripts must be loaded as `index.js`\n- Use `import { ... } from \"vam-scripter\"` to access modules\n- The language is case-sensitive (JavaScript-style)\n- Use `\u002F\u002F` for single-line comments and `\u002F* *\u002F` for multi-line\n- All modules are singletons - each import gets the same reference\n\n## Files\n\n- `SKILL.md` - This documentation\n- `scripts\u002F` - Sample scripts and patterns\n- `references\u002F` - API reference details\n",{},"master","4aa004da461d820f4ea5499e58eb8d196cf99016","community\u002Fclawhub\u002Fv\u002Fvam-scripter",0,"https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge","https:\u002F\u002Fskill-explorer-rho.vercel.app","https:\u002F\u002Fgithub.com\u002FLord1Egypt","Unbreakable. Unstoppable. Unmatched⚡.\r\n Speaker of machine tongues 🤖  | World-builder of decentralized dreams 🌐 | Defender of the digital realm🛡️.","2026-06-10 08:21:01",{"source":7,"skillName":5,"commands":32,"prompt":42,"zipAvailable":43},[33,36,39],{"tool":34,"command":35},"npx","npx skills add Lord1Egypt\u002Fawesome-skill-forge --skill vam-scripter",{"tool":37,"command":38},"bunx","bunx skills add Lord1Egypt\u002Fawesome-skill-forge --skill vam-scripter",{"tool":40,"command":41},"pnpm","pnpm dlx skills add Lord1Egypt\u002Fawesome-skill-forge --skill vam-scripter","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fcommunity\u002Fclawhub\u002Fv\u002Fvam-scripter\u002FSKILL.md",true,[],[46,53,60,67,74,81],{"skillNo":47,"name":48,"nameZh":6,"description":49,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":50,"categories":51,"keywords":52,"publishedAt":18},"01M785WKJB99G3STR1NF9NRTJW","youtube-content","YouTube transcripts to summaries, threads, blogs.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fyoutube-content\u002FSKILL.md",[],[],{"skillNo":54,"name":55,"nameZh":6,"description":56,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":57,"categories":58,"keywords":59,"publishedAt":18},"01M785WEFHB0G2S9YA6EPR3H0E","xurl","X\u002FTwitter via xurl CLI: post, search, DM, media, v2 API.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fxurl\u002FSKILL.md",[],[],{"skillNo":61,"name":62,"nameZh":6,"description":63,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":64,"categories":65,"keywords":66,"publishedAt":18},"01M785W98EDN4EFJXJPMQEHCRC","touchdesigner-mcp","Control a running TouchDesigner instance via twozero MCP — create operators, set parameters, wire connections, execute Python, build real-time visuals. 36 native tools.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftouchdesigner-mcp\u002FSKILL.md",[],[],{"skillNo":68,"name":69,"nameZh":6,"description":70,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":71,"categories":72,"keywords":73,"publishedAt":18},"01M785W5S9FP3QBH2V191E025P","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":75,"name":76,"nameZh":6,"description":77,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":78,"categories":79,"keywords":80,"publishedAt":18},"01M785W2AS08NSSH9YATCV6FJB","teams-meeting-pipeline","Operate the Teams meeting summary pipeline via Hermes CLI — summarize meetings, inspect pipeline status, replay jobs, manage Microsoft Graph subscriptions.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fteams-meeting-pipeline\u002FSKILL.md",[],[],{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":7,"ownerLogin":8,"ownerAvatarUrl":9,"ownerAccountNo":10,"ownerDisplayName":11,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":18},"01M785VXKW4T34BTP1SCHW1R7F","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLord1Egypt\u002Fawesome-skill-forge\u002Fblob\u002Fmaster\u002Fskills\u002Fsystematic-debugging\u002FSKILL.md",[],[]]