{
  "schemaVersion": "1.0",
  "item": {
    "slug": "acorn-prover",
    "name": "Acorn Prover",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/flyingnobita/acorn-prover",
    "canonicalUrl": "https://clawhub.ai/flyingnobita/acorn-prover",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/acorn-prover",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=acorn-prover",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "references/syntax.md",
      "scripts/setup.sh",
      "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-23T16:43:11.935Z",
      "expiresAt": "2026-04-30T16:43:11.935Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=4claw-imageboard",
        "contentDisposition": "attachment; filename=\"4claw-imageboard-1.0.1.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/acorn-prover"
    },
    "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/acorn-prover",
    "agentPageUrl": "https://openagent3.xyz/skills/acorn-prover/agent",
    "manifestUrl": "https://openagent3.xyz/skills/acorn-prover/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/acorn-prover/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": "Setup (MUST DO WHEN RUNNING FIRST TIME)",
        "body": "If config.env does not exist in the skill directory:\n\nAsk the user for the following paths:\n\nACORN_LIB - Path to acornlib (e.g., /path/to/acornprover/acornlib)\nACORN_PROJECT - Path to project directory for .ac files (e.g., /path/to/acorn-playground)\n\n\n\nVerify the paths exist using list_dir or equivalent. If a path is invalid, inform the user and ask again.\n\n\nRun setup.sh with the validated paths:\n\nbash skills/acorn-prover/scripts/setup.sh \"<ACORN_LIB>\" \"<ACORN_PROJECT>\"\n\nSource the config to get ACORN_LIB, ACORN_PROJECT, and USE_MISE variables:\n\nsource skills/acorn-prover/config.env\n\nIf any of the above are blank / not set, inform the user to set the variable manually.\nIf any of the above are changed, ask the user for new paths and run setup again."
      },
      {
        "title": "Configuration",
        "body": "Config values are stored in skills/acorn-prover/config.env:\n\nVariableDescriptionACORN_LIBPath to acornlibACORN_PROJECTProject directory for .ac filesUSE_MISEtrue if mise is available"
      },
      {
        "title": "Verify Proofs",
        "body": "If USE_MISE=true:\n\nmise run acorn verify <filename>.ac\n\nOtherwise, use the direct CLI:\n\nacorn --lib \"$ACORN_LIB\" verify <filename>.ac"
      },
      {
        "title": "Reverify Proofs (CI/CD)",
        "body": "Check that all proofs are cached with no AI searches required:\n\n# With mise\nmise run acorn reverify\n\n# Or direct CLI\nacorn --lib \"$ACORN_LIB\" reverify\n\nUse for CI pipelines to ensure all proofs are complete."
      },
      {
        "title": "Training Data Generation",
        "body": "Generate training data (problem-proof pairs) for AI model development:\n\n# With mise\nmise run acorn training ./training_data\n\n# Or direct CLI\nacorn --lib \"$ACORN_LIB\" training ./training_data\n\nArgument: DIR - Directory to output training data."
      },
      {
        "title": "Documentation Generation",
        "body": "Generate library reference documentation:\n\n# With mise\nmise run acorn docs ./docs/library\n\n# Or direct CLI\nacorn --lib \"$ACORN_LIB\" docs ./docs/library\n\nArgument: DIR - Directory to output documentation."
      },
      {
        "title": "Workflow",
        "body": "Source config: source skills/acorn-prover/config.env\nWrite proof file in $ACORN_PROJECT/\nRun the appropriate command (verify, reverify, training, docs)\nAlways show the full command output to the user (success or error)\nDebug errors using the common errors table in references/syntax.md\nIterate until verification passes"
      },
      {
        "title": "Quick Syntax Overview",
        "body": "from nat import Nat\nfrom add_comm_group import AddCommGroup\n\n// Theorems - auto-proved or with hints\ntheorem example(a: Nat, b: Nat) {\n    a < b implies a != b\n}\n\n// Typeclasses - axioms are named blocks, no \"axiom\" keyword\ntypeclass A: AddGroup extends Zero, Neg, Add {\n    inverse_right(a: A) { a + -a = A.0 }\n}\n\n// Structures\nstructure Pair[T, U] { first: T  second: U }\n\n// Inductive types - constructors MUST be lowercase\ninductive MyBool { tru fls }\n\nKey points:\n\nBuilt-in logic keywords (not, and, or, implies, iff, true, false) are reserved - do not redefine\nConstructor names must be lowercase\nTypeclass axioms use named blocks, not the axiom keyword"
      },
      {
        "title": "Standard Library (acornlib)",
        "body": "Key modules in $ACORN_LIB/src:\n\nModuleContentsnat/Natural number axioms, induction, additionadd_group.acAddGroup with a + -a = A.0add_comm_group.acAbelian groups (AddCommGroup)"
      },
      {
        "title": "References",
        "body": "Full syntax, error table, examples: See references/syntax.md\nContext7 docs: Use context7 MCP with /acornprover/acorn or /acornprover/acornlib for latest documentation"
      }
    ],
    "body": "Acorn Prover\nSetup (MUST DO WHEN RUNNING FIRST TIME)\n\nIf config.env does not exist in the skill directory:\n\nAsk the user for the following paths:\n\nACORN_LIB - Path to acornlib (e.g., /path/to/acornprover/acornlib)\nACORN_PROJECT - Path to project directory for .ac files (e.g., /path/to/acorn-playground)\n\nVerify the paths exist using list_dir or equivalent. If a path is invalid, inform the user and ask again.\n\nRun setup.sh with the validated paths:\n\nbash skills/acorn-prover/scripts/setup.sh \"<ACORN_LIB>\" \"<ACORN_PROJECT>\"\n\nSource the config to get ACORN_LIB, ACORN_PROJECT, and USE_MISE variables:\nsource skills/acorn-prover/config.env\n\n\nIf any of the above are blank / not set, inform the user to set the variable manually. If any of the above are changed, ask the user for new paths and run setup again.\n\nConfiguration\n\nConfig values are stored in skills/acorn-prover/config.env:\n\nVariable\tDescription\nACORN_LIB\tPath to acornlib\nACORN_PROJECT\tProject directory for .ac files\nUSE_MISE\ttrue if mise is available\nVerify Proofs\n\nIf USE_MISE=true:\n\nmise run acorn verify <filename>.ac\n\n\nOtherwise, use the direct CLI:\n\nacorn --lib \"$ACORN_LIB\" verify <filename>.ac\n\nReverify Proofs (CI/CD)\n\nCheck that all proofs are cached with no AI searches required:\n\n# With mise\nmise run acorn reverify\n\n# Or direct CLI\nacorn --lib \"$ACORN_LIB\" reverify\n\n\nUse for CI pipelines to ensure all proofs are complete.\n\nTraining Data Generation\n\nGenerate training data (problem-proof pairs) for AI model development:\n\n# With mise\nmise run acorn training ./training_data\n\n# Or direct CLI\nacorn --lib \"$ACORN_LIB\" training ./training_data\n\n\nArgument: DIR - Directory to output training data.\n\nDocumentation Generation\n\nGenerate library reference documentation:\n\n# With mise\nmise run acorn docs ./docs/library\n\n# Or direct CLI\nacorn --lib \"$ACORN_LIB\" docs ./docs/library\n\n\nArgument: DIR - Directory to output documentation.\n\nWorkflow\nSource config: source skills/acorn-prover/config.env\nWrite proof file in $ACORN_PROJECT/\nRun the appropriate command (verify, reverify, training, docs)\nAlways show the full command output to the user (success or error)\nDebug errors using the common errors table in references/syntax.md\nIterate until verification passes\nQuick Syntax Overview\nfrom nat import Nat\nfrom add_comm_group import AddCommGroup\n\n// Theorems - auto-proved or with hints\ntheorem example(a: Nat, b: Nat) {\n    a < b implies a != b\n}\n\n// Typeclasses - axioms are named blocks, no \"axiom\" keyword\ntypeclass A: AddGroup extends Zero, Neg, Add {\n    inverse_right(a: A) { a + -a = A.0 }\n}\n\n// Structures\nstructure Pair[T, U] { first: T  second: U }\n\n// Inductive types - constructors MUST be lowercase\ninductive MyBool { tru fls }\n\n\nKey points:\n\nBuilt-in logic keywords (not, and, or, implies, iff, true, false) are reserved - do not redefine\nConstructor names must be lowercase\nTypeclass axioms use named blocks, not the axiom keyword\nStandard Library (acornlib)\n\nKey modules in $ACORN_LIB/src:\n\nModule\tContents\nnat/\tNatural number axioms, induction, addition\nadd_group.ac\tAddGroup with a + -a = A.0\nadd_comm_group.ac\tAbelian groups (AddCommGroup)\nReferences\nFull syntax, error table, examples: See references/syntax.md\nContext7 docs: Use context7 MCP with /acornprover/acorn or /acornprover/acornlib for latest documentation"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/flyingnobita/acorn-prover",
    "publisherUrl": "https://clawhub.ai/flyingnobita/acorn-prover",
    "owner": "flyingnobita",
    "version": "1.0.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/acorn-prover",
    "downloadUrl": "https://openagent3.xyz/downloads/acorn-prover",
    "agentUrl": "https://openagent3.xyz/skills/acorn-prover/agent",
    "manifestUrl": "https://openagent3.xyz/skills/acorn-prover/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/acorn-prover/agent.md"
  }
}