{
  "schemaVersion": "1.0",
  "item": {
    "slug": "supernal-interface",
    "name": "Supernal Interface",
    "source": "tencent",
    "type": "skill",
    "category": "通讯协作",
    "sourceUrl": "https://clawhub.ai/ianderrington/supernal-interface",
    "canonicalUrl": "https://clawhub.ai/ianderrington/supernal-interface",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/supernal-interface",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=supernal-interface",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "SKILL.md"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "Download the package from Yavira.",
        "Extract it into a folder your agent can access.",
        "Paste one of the prompts below and point your agent at the extracted folder."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
        },
        {
          "label": "Upgrade existing",
          "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
        }
      ]
    },
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/supernal-interface"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/supernal-interface",
    "agentPageUrl": "https://openagent3.xyz/skills/supernal-interface/agent",
    "manifestUrl": "https://openagent3.xyz/skills/supernal-interface/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/supernal-interface/agent.md"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "Download the package from Yavira.",
      "Extract it into a folder your agent can access.",
      "Paste one of the prompts below and point your agent at the extracted folder."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete."
      },
      {
        "label": "Upgrade existing",
        "body": "I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Installation",
        "body": "npm install @supernal/interface"
      },
      {
        "title": "Core Concept",
        "body": "Decorate functions → AI can call them with full type safety."
      },
      {
        "title": "1. Decorate Functions",
        "body": "import { Tool } from '@supernal/interface';\n\nclass TodoApp {\n  @Tool({\n    name: 'add_todo',\n    description: 'Add a new todo item',\n    category: 'productivity'\n  })\n  async addTodo(text: string): Promise<Todo> {\n    return this.db.create({ text, done: false });\n  }\n\n  @Tool({\n    name: 'complete_todo',\n    description: 'Mark a todo as complete'\n  })\n  async completeTodo(id: string): Promise<void> {\n    await this.db.update(id, { done: true });\n  }\n}"
      },
      {
        "title": "2. Set Up Adapter",
        "body": "import { createCopilotKitAdapter, ChatUIProvider } from '@supernal/interface';\n\nconst adapter = createCopilotKitAdapter({\n  autoRegisterTools: true,\n  autoRegisterReadables: true\n});\n\nfunction App() {\n  return (\n    <ChatUIProvider adapter={adapter}>\n      <YourApp />\n    </ChatUIProvider>\n  );\n}"
      },
      {
        "title": "3. Done",
        "body": "AI assistants can now discover and call your decorated functions."
      },
      {
        "title": "Decorators",
        "body": "DecoratorPurpose@ToolExpose function as AI-callable tool@ToolProviderClass containing multiple tools@ComponentReact component with AI context"
      },
      {
        "title": "CopilotKit (recommended)",
        "body": "import { createCopilotKitAdapter } from '@supernal/interface';\n\nconst adapter = createCopilotKitAdapter({\n  autoRegisterTools: true\n});"
      },
      {
        "title": "Custom Adapter",
        "body": "import { ChatUIAdapter } from '@supernal/interface';\n\nclass MyAdapter implements ChatUIAdapter {\n  name = 'my-adapter';\n  registerTools(tools) { /* convert to your format */ }\n  render(props) { return <MyChat {...props} />; }\n}"
      },
      {
        "title": "React Hooks",
        "body": "import { useToolBinding, usePersistedState, useChatWithContext } from '@supernal/interface';\n\n// Bind a tool to component state\nconst [todos, setTodos] = useToolBinding('todos', []);\n\n// Persist state across sessions\nconst [prefs, setPrefs] = usePersistedState('user-prefs', defaults);\n\n// Chat with app context\nconst { messages, send } = useChatWithContext();"
      },
      {
        "title": "Storage Adapters",
        "body": "import { StateManager, LocalStorageAdapter } from '@supernal/interface/storage';\n\nconst storage = StateManager.getInstance('myapp', new LocalStorageAdapter());\nawait storage.setState('user', { name: 'Alice' });"
      },
      {
        "title": "Testing",
        "body": "import { GherkinParser, TestRunner } from '@supernal/interface/testing';\n\nconst feature = GherkinParser.parseFeature(gherkinText);\nconst tests = await TestRunner.generateTests({ framework: 'jest' });"
      },
      {
        "title": "Enterprise Features",
        "body": "Available at supernal.ai/enterprise:\n\nAuto test generation from decorators\nStory system (50-80% performance boost)\nArchitecture visualization\nMulti-model routing\nAudit & compliance logging"
      }
    ],
    "body": "Supernal Interface - AI Controllability Framework\nInstallation\nnpm install @supernal/interface\n\nCore Concept\n\nDecorate functions → AI can call them with full type safety.\n\nQuick Start\n1. Decorate Functions\nimport { Tool } from '@supernal/interface';\n\nclass TodoApp {\n  @Tool({\n    name: 'add_todo',\n    description: 'Add a new todo item',\n    category: 'productivity'\n  })\n  async addTodo(text: string): Promise<Todo> {\n    return this.db.create({ text, done: false });\n  }\n\n  @Tool({\n    name: 'complete_todo',\n    description: 'Mark a todo as complete'\n  })\n  async completeTodo(id: string): Promise<void> {\n    await this.db.update(id, { done: true });\n  }\n}\n\n2. Set Up Adapter\nimport { createCopilotKitAdapter, ChatUIProvider } from '@supernal/interface';\n\nconst adapter = createCopilotKitAdapter({\n  autoRegisterTools: true,\n  autoRegisterReadables: true\n});\n\nfunction App() {\n  return (\n    <ChatUIProvider adapter={adapter}>\n      <YourApp />\n    </ChatUIProvider>\n  );\n}\n\n3. Done\n\nAI assistants can now discover and call your decorated functions.\n\nDecorators\nDecorator\tPurpose\n@Tool\tExpose function as AI-callable tool\n@ToolProvider\tClass containing multiple tools\n@Component\tReact component with AI context\nAdapters\nCopilotKit (recommended)\nimport { createCopilotKitAdapter } from '@supernal/interface';\n\nconst adapter = createCopilotKitAdapter({\n  autoRegisterTools: true\n});\n\nCustom Adapter\nimport { ChatUIAdapter } from '@supernal/interface';\n\nclass MyAdapter implements ChatUIAdapter {\n  name = 'my-adapter';\n  registerTools(tools) { /* convert to your format */ }\n  render(props) { return <MyChat {...props} />; }\n}\n\nReact Hooks\nimport { useToolBinding, usePersistedState, useChatWithContext } from '@supernal/interface';\n\n// Bind a tool to component state\nconst [todos, setTodos] = useToolBinding('todos', []);\n\n// Persist state across sessions\nconst [prefs, setPrefs] = usePersistedState('user-prefs', defaults);\n\n// Chat with app context\nconst { messages, send } = useChatWithContext();\n\nStorage Adapters\nimport { StateManager, LocalStorageAdapter } from '@supernal/interface/storage';\n\nconst storage = StateManager.getInstance('myapp', new LocalStorageAdapter());\nawait storage.setState('user', { name: 'Alice' });\n\nTesting\nimport { GherkinParser, TestRunner } from '@supernal/interface/testing';\n\nconst feature = GherkinParser.parseFeature(gherkinText);\nconst tests = await TestRunner.generateTests({ framework: 'jest' });\n\nEnterprise Features\n\nAvailable at supernal.ai/enterprise:\n\nAuto test generation from decorators\nStory system (50-80% performance boost)\nArchitecture visualization\nMulti-model routing\nAudit & compliance logging"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/ianderrington/supernal-interface",
    "publisherUrl": "https://clawhub.ai/ianderrington/supernal-interface",
    "owner": "ianderrington",
    "version": "1.0.13",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/supernal-interface",
    "downloadUrl": "https://openagent3.xyz/downloads/supernal-interface",
    "agentUrl": "https://openagent3.xyz/skills/supernal-interface/agent",
    "manifestUrl": "https://openagent3.xyz/skills/supernal-interface/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/supernal-interface/agent.md"
  }
}