{
  "schemaVersion": "1.0",
  "item": {
    "slug": "opencortex",
    "name": "OpenCortex",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/JD2005L/opencortex",
    "canonicalUrl": "https://clawhub.ai/JD2005L/opencortex",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/opencortex",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=opencortex",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "references/architecture.md",
      "references/distillation.md",
      "references/weekly-synthesis.md",
      "scripts/git-backup.sh",
      "scripts/install.sh"
    ],
    "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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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/opencortex"
    },
    "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/opencortex",
    "agentPageUrl": "https://openagent3.xyz/skills/opencortex/agent",
    "manifestUrl": "https://openagent3.xyz/skills/opencortex/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/opencortex/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. Then review README.md for any prerequisites, environment setup, or post-install checks. 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. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "OpenCortex — Self-Improving Memory Architecture",
        "body": "Transform a default OpenClaw agent into one that compounds knowledge daily.\n\n📦 Full source on GitHub — review the code, file issues, or contribute."
      },
      {
        "title": "What This Does",
        "body": "Structures memory into purpose-specific files instead of one flat dump\nInstalls nightly maintenance that distills daily work into permanent knowledge\nInstalls weekly synthesis that catches patterns across days\nEstablishes principles that enforce good memory habits — and backs them up with nightly audits that verify tool documentation, decision capture, sub-agent debriefs, failure analysis, and unnecessary deferrals to the user. Nothing slips through the cracks.\nBuilds a voice profile of your human from daily conversations for authentic ghostwriting (opt-in, requires OPENCORTEX_VOICE_PROFILE=1)\nEncrypts sensitive data in an AES-256 vault with key-only references in docs; supports passphrase rotation (vault.sh rotate) and validates key names on vault.sh set\nEnables safe git backup with secret scrubbing (secrets never modified in your live workspace — scrubbed in an isolated copy only)\nTracks growth over time (opt-in) — daily metrics snapshots with compound scoring and ASCII growth charts"
      },
      {
        "title": "Installation",
        "body": "Prerequisites (install these separately if you don't have them):\n\nOpenClaw 2026.2.x+\nClawHub CLI\n\n# 1. Download the skill from your OpenClaw workspace directory\ncd ~/clawd    # or wherever your workspace is\nclawhub install opencortex\n\n# 2. Run the installer FROM YOUR WORKSPACE DIRECTORY (not from inside the skill folder)\nbash skills/opencortex/scripts/install.sh\n\n# Optional: preview what would be created without changing anything\nbash skills/opencortex/scripts/install.sh --dry-run\n\nThe installer will ask about optional features (encrypted vault, voice profiling, infrastructure collection, git backup). It's safe to re-run — it skips anything that already exists. The installer itself makes no network calls — it only creates local files and registers cron jobs.\n\n# 3. Verify everything is working (read-only — checks files and cron jobs, changes nothing)\nbash skills/opencortex/scripts/verify.sh\n\nYou can also ask your OpenClaw agent \"is OpenCortex working?\" — it knows how to run the verification and share results.\n\nThe script will:\n\nCreate the file hierarchy (non-destructively — won't overwrite existing files)\nCreate directory structure\nSet up cron jobs (daily distillation, weekly synthesis)\nOptionally set up git backup with secret scrubbing\n\nAfter install, review and customize:\n\nSOUL.md — personality and identity (make it yours)\nUSER.md — info about your human\nMEMORY.md — principles (add/remove as needed)\n.secrets-map — add your actual secrets for git scrubbing"
      },
      {
        "title": "Updating",
        "body": "# 1. Download the latest version (run from workspace root)\nclawhub install opencortex --force\n\n# 2. Re-run the installer — it detects your existing install and offers to update\nbash skills/opencortex/scripts/install.sh\n\nThe installer detects your existing version and offers three options: Update (recommended), Full reinstall, or Cancel. The update path is non-destructive — it adds missing content, refreshes cron messages, and offers any new optional features without overwriting your customized files."
      },
      {
        "title": "Architecture",
        "body": "SOUL.md          ← Identity, personality, boundaries\nAGENTS.md        ← Operating protocol, delegation rules\nMEMORY.md        ← Principles + memory index (< 3KB, loaded every session)\nTOOLS.md         ← Tool shed: APIs, scripts, and access methods with abilities descriptions\nINFRA.md         ← Infrastructure atlas: hosts, IPs, services, network\nUSER.md          ← Human's preferences, projects, communication style\nBOOTSTRAP.md     ← First-run checklist for new sessions\n\nmemory/\n  projects/      ← One file per project (distilled, not raw)\n  contacts/      ← One file per person/org (role, context, preferences)\n  workflows/     ← One file per workflow/pipeline (services, steps, issues)\n  runbooks/      ← Step-by-step procedures (delegatable to sub-agents)\n  preferences.md ← Cross-cutting user preferences by category\n  archive/       ← Archived daily logs + weekly summaries\n  YYYY-MM-DD.md  ← Today's working log (distilled nightly)"
      },
      {
        "title": "Principles (installed by default)",
        "body": "#NamePurposeP1Delegate FirstAssess tasks for sub-agent delegation; stay availableP2Write It DownCommit to files, not mental notesP3Ask Before ExternalConfirm before emails, public posts, destructive opsP4Tool Shed & WorkflowsDocument tools and workflows; enforced by nightly auditP5Capture Decisions & PreferencesRecord decisions and preferences; enforced by nightly + weekly auditP6Sub-agent DebriefDelegated work feeds back to daily log; orphans recovered by distillationP7Log FailuresTag failures/corrections; root cause analysis enforced by nightly auditP8Check the Shed FirstConsult TOOLS.md/INFRA.md/memory before deferring work to user; enforced by nightly audit"
      },
      {
        "title": "Cron Jobs (installed)",
        "body": "ScheduleNameWhat it doesDaily 3 AM (local)DistillationReads daily logs → distills into project/tools/infra files → audits tools/decisions/debriefs/failures → optimizes → archivesWeekly Sunday 5 AMSynthesisReviews week for patterns, recurring problems, unfinished threads, decisions; auto-creates runbooks from repeated procedures\n\nBoth jobs use a shared lockfile (/tmp/opencortex-distill.lock) to prevent conflicts when daily and weekly runs overlap.\n\nCustomize times by editing cron jobs: openclaw cron list then openclaw cron edit <id> --cron \"...\"."
      },
      {
        "title": "Git Backup (optional)",
        "body": "If enabled during install, creates:\n\nscripts/git-backup.sh — auto-commit every 6 hours, scrubs secrets in an isolated temp copy (workspace files never modified)\n.secrets-map — maps secrets to placeholders (gitignored, 600 perms)\n\nAdd secrets to .secrets-map in format: actual_secret|{{PLACEHOLDER_NAME}}\n\nBefore each push, git-backup.sh verifies no raw secrets remain in the scrubbed copy. If any are found, the backup is aborted — nothing reaches the remote."
      },
      {
        "title": "Customization",
        "body": "Adding a project: Create memory/projects/my-project.md, add to MEMORY.md index.\n\nAdding a contact: Create memory/contacts/name.md. Distillation auto-creates contacts from conversations.\n\nAdding a workflow: Create memory/workflows/my-pipeline.md. Distillation auto-creates workflows when described.\n\nAdding a preference: Append to memory/preferences.md under the right category. Distillation auto-captures from conversation.\n\nAdding a principle: Append to MEMORY.md under 🔴 PRINCIPLES. Keep it short.\n\nAdding a runbook: Create memory/runbooks/my-procedure.md. Sub-agents can follow these directly.\n\nAdding a tool: Add to TOOLS.md with: what it is, how to access it, and a goal-oriented abilities description (so future intent-based lookup matches)."
      },
      {
        "title": "How It Compounds",
        "body": "Daily work → daily log\n  → nightly distill → routes to project/tools/infra/principles files\n                     → optimization pass (dedup, prune stale, condense)\n  → weekly synthesis → patterns, recurring problems, unfinished threads → auto-creates runbooks from repeated procedures → `memory/runbooks/`\nSub-agent work → debrief (P6) → daily log → same pipeline\nDecisions → captured with reasoning (P5) → never re-asked\nNew tools → documented with abilities (P4) → findable by intent\n\nEach day the agent wakes up slightly more knowledgeable and better organized."
      }
    ],
    "body": "OpenCortex — Self-Improving Memory Architecture\n\nTransform a default OpenClaw agent into one that compounds knowledge daily.\n\n📦 Full source on GitHub — review the code, file issues, or contribute.\n\nWhat This Does\nStructures memory into purpose-specific files instead of one flat dump\nInstalls nightly maintenance that distills daily work into permanent knowledge\nInstalls weekly synthesis that catches patterns across days\nEstablishes principles that enforce good memory habits — and backs them up with nightly audits that verify tool documentation, decision capture, sub-agent debriefs, failure analysis, and unnecessary deferrals to the user. Nothing slips through the cracks.\nBuilds a voice profile of your human from daily conversations for authentic ghostwriting (opt-in, requires OPENCORTEX_VOICE_PROFILE=1)\nEncrypts sensitive data in an AES-256 vault with key-only references in docs; supports passphrase rotation (vault.sh rotate) and validates key names on vault.sh set\nEnables safe git backup with secret scrubbing (secrets never modified in your live workspace — scrubbed in an isolated copy only)\nTracks growth over time (opt-in) — daily metrics snapshots with compound scoring and ASCII growth charts\nInstallation\n\nPrerequisites (install these separately if you don't have them):\n\nOpenClaw 2026.2.x+\nClawHub CLI\n# 1. Download the skill from your OpenClaw workspace directory\ncd ~/clawd    # or wherever your workspace is\nclawhub install opencortex\n\n# 2. Run the installer FROM YOUR WORKSPACE DIRECTORY (not from inside the skill folder)\nbash skills/opencortex/scripts/install.sh\n\n# Optional: preview what would be created without changing anything\nbash skills/opencortex/scripts/install.sh --dry-run\n\n\nThe installer will ask about optional features (encrypted vault, voice profiling, infrastructure collection, git backup). It's safe to re-run — it skips anything that already exists. The installer itself makes no network calls — it only creates local files and registers cron jobs.\n\n# 3. Verify everything is working (read-only — checks files and cron jobs, changes nothing)\nbash skills/opencortex/scripts/verify.sh\n\n\nYou can also ask your OpenClaw agent \"is OpenCortex working?\" — it knows how to run the verification and share results.\n\nThe script will:\n\nCreate the file hierarchy (non-destructively — won't overwrite existing files)\nCreate directory structure\nSet up cron jobs (daily distillation, weekly synthesis)\nOptionally set up git backup with secret scrubbing\n\nAfter install, review and customize:\n\nSOUL.md — personality and identity (make it yours)\nUSER.md — info about your human\nMEMORY.md — principles (add/remove as needed)\n.secrets-map — add your actual secrets for git scrubbing\nUpdating\n# 1. Download the latest version (run from workspace root)\nclawhub install opencortex --force\n\n# 2. Re-run the installer — it detects your existing install and offers to update\nbash skills/opencortex/scripts/install.sh\n\n\nThe installer detects your existing version and offers three options: Update (recommended), Full reinstall, or Cancel. The update path is non-destructive — it adds missing content, refreshes cron messages, and offers any new optional features without overwriting your customized files.\n\nArchitecture\nSOUL.md          ← Identity, personality, boundaries\nAGENTS.md        ← Operating protocol, delegation rules\nMEMORY.md        ← Principles + memory index (< 3KB, loaded every session)\nTOOLS.md         ← Tool shed: APIs, scripts, and access methods with abilities descriptions\nINFRA.md         ← Infrastructure atlas: hosts, IPs, services, network\nUSER.md          ← Human's preferences, projects, communication style\nBOOTSTRAP.md     ← First-run checklist for new sessions\n\nmemory/\n  projects/      ← One file per project (distilled, not raw)\n  contacts/      ← One file per person/org (role, context, preferences)\n  workflows/     ← One file per workflow/pipeline (services, steps, issues)\n  runbooks/      ← Step-by-step procedures (delegatable to sub-agents)\n  preferences.md ← Cross-cutting user preferences by category\n  archive/       ← Archived daily logs + weekly summaries\n  YYYY-MM-DD.md  ← Today's working log (distilled nightly)\n\nPrinciples (installed by default)\n#\tName\tPurpose\nP1\tDelegate First\tAssess tasks for sub-agent delegation; stay available\nP2\tWrite It Down\tCommit to files, not mental notes\nP3\tAsk Before External\tConfirm before emails, public posts, destructive ops\nP4\tTool Shed & Workflows\tDocument tools and workflows; enforced by nightly audit\nP5\tCapture Decisions & Preferences\tRecord decisions and preferences; enforced by nightly + weekly audit\nP6\tSub-agent Debrief\tDelegated work feeds back to daily log; orphans recovered by distillation\nP7\tLog Failures\tTag failures/corrections; root cause analysis enforced by nightly audit\nP8\tCheck the Shed First\tConsult TOOLS.md/INFRA.md/memory before deferring work to user; enforced by nightly audit\nCron Jobs (installed)\nSchedule\tName\tWhat it does\nDaily 3 AM (local)\tDistillation\tReads daily logs → distills into project/tools/infra files → audits tools/decisions/debriefs/failures → optimizes → archives\nWeekly Sunday 5 AM\tSynthesis\tReviews week for patterns, recurring problems, unfinished threads, decisions; auto-creates runbooks from repeated procedures\n\nBoth jobs use a shared lockfile (/tmp/opencortex-distill.lock) to prevent conflicts when daily and weekly runs overlap.\n\nCustomize times by editing cron jobs: openclaw cron list then openclaw cron edit <id> --cron \"...\".\n\nGit Backup (optional)\n\nIf enabled during install, creates:\n\nscripts/git-backup.sh — auto-commit every 6 hours, scrubs secrets in an isolated temp copy (workspace files never modified)\n.secrets-map — maps secrets to placeholders (gitignored, 600 perms)\n\nAdd secrets to .secrets-map in format: actual_secret|{{PLACEHOLDER_NAME}}\n\nBefore each push, git-backup.sh verifies no raw secrets remain in the scrubbed copy. If any are found, the backup is aborted — nothing reaches the remote.\n\nCustomization\n\nAdding a project: Create memory/projects/my-project.md, add to MEMORY.md index.\n\nAdding a contact: Create memory/contacts/name.md. Distillation auto-creates contacts from conversations.\n\nAdding a workflow: Create memory/workflows/my-pipeline.md. Distillation auto-creates workflows when described.\n\nAdding a preference: Append to memory/preferences.md under the right category. Distillation auto-captures from conversation.\n\nAdding a principle: Append to MEMORY.md under 🔴 PRINCIPLES. Keep it short.\n\nAdding a runbook: Create memory/runbooks/my-procedure.md. Sub-agents can follow these directly.\n\nAdding a tool: Add to TOOLS.md with: what it is, how to access it, and a goal-oriented abilities description (so future intent-based lookup matches).\n\nHow It Compounds\nDaily work → daily log\n  → nightly distill → routes to project/tools/infra/principles files\n                     → optimization pass (dedup, prune stale, condense)\n  → weekly synthesis → patterns, recurring problems, unfinished threads → auto-creates runbooks from repeated procedures → `memory/runbooks/`\nSub-agent work → debrief (P6) → daily log → same pipeline\nDecisions → captured with reasoning (P5) → never re-asked\nNew tools → documented with abilities (P4) → findable by intent\n\n\nEach day the agent wakes up slightly more knowledgeable and better organized."
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/JD2005L/opencortex",
    "publisherUrl": "https://clawhub.ai/JD2005L/opencortex",
    "owner": "JD2005L",
    "version": "3.5.18",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/opencortex",
    "downloadUrl": "https://openagent3.xyz/downloads/opencortex",
    "agentUrl": "https://openagent3.xyz/skills/opencortex/agent",
    "manifestUrl": "https://openagent3.xyz/skills/opencortex/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/opencortex/agent.md"
  }
}