openclaw-node-harness 2.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +184 -0
- package/bin/discord-read.js +228 -0
- package/bin/fleet-deploy.js +365 -0
- package/bin/lane-watchdog.js +232 -0
- package/bin/mesh-agent.js +714 -0
- package/bin/mesh-bridge.js +535 -0
- package/bin/mesh-deploy-listener.js +322 -0
- package/bin/mesh-deploy.js +1048 -0
- package/bin/mesh-health-publisher.js +247 -0
- package/bin/mesh-task-daemon.js +451 -0
- package/bin/mesh-tool-discord.js +293 -0
- package/bin/mesh.js +649 -0
- package/boot/manifest.yaml +187 -0
- package/cli.js +35 -0
- package/config/daemon.json.template +16 -0
- package/config/obsidian-sync.json.template +39 -0
- package/config/openclaw.json.template +124 -0
- package/config/transcript-sources.json.template +22 -0
- package/identity/AGENTS.md +201 -0
- package/identity/CLAUDE.md +64 -0
- package/identity/DELEGATION.md +304 -0
- package/identity/HEARTBEAT.md +163 -0
- package/identity/MEMORY_SPEC.md +368 -0
- package/identity/PRINCIPLES.md +81 -0
- package/identity/SOUL.md +48 -0
- package/identity/TOOLS.md +47 -0
- package/install.sh +895 -0
- package/lib/agent-activity.js +390 -0
- package/lib/kanban-io.js +352 -0
- package/lib/mesh-registry.js +194 -0
- package/lib/mesh-roles.js +13 -0
- package/lib/mesh-tasks.js +306 -0
- package/lib/nats-resolve.js +108 -0
- package/mission-control/README.md +36 -0
- package/mission-control/drizzle/0000_simple_silhouette.sql +62 -0
- package/mission-control/drizzle/meta/0000_snapshot.json +413 -0
- package/mission-control/drizzle/meta/_journal.json +13 -0
- package/mission-control/drizzle.config.ts +13 -0
- package/mission-control/eslint.config.mjs +18 -0
- package/mission-control/next.config.ts +7 -0
- package/mission-control/package-lock.json +10518 -0
- package/mission-control/package.json +49 -0
- package/mission-control/postcss.config.mjs +7 -0
- package/mission-control/public/file.svg +1 -0
- package/mission-control/public/globe.svg +1 -0
- package/mission-control/public/next.svg +1 -0
- package/mission-control/public/vercel.svg +1 -0
- package/mission-control/public/window.svg +1 -0
- package/mission-control/scripts/enrich-descriptions.js +193 -0
- package/mission-control/scripts/gen-chronology.js +102 -0
- package/mission-control/scripts/import-pipeline-v2.js +523 -0
- package/mission-control/scripts/import-pipeline.js +295 -0
- package/mission-control/src/app/api/activity/live/route.ts +27 -0
- package/mission-control/src/app/api/activity/route.ts +47 -0
- package/mission-control/src/app/api/burndown/route.ts +112 -0
- package/mission-control/src/app/api/critical-path/route.ts +159 -0
- package/mission-control/src/app/api/dependencies/route.ts +176 -0
- package/mission-control/src/app/api/memory/categories/route.ts +93 -0
- package/mission-control/src/app/api/memory/consolidate/route.ts +107 -0
- package/mission-control/src/app/api/memory/doc/route.ts +89 -0
- package/mission-control/src/app/api/memory/flush/route.ts +129 -0
- package/mission-control/src/app/api/memory/graph/route.ts +105 -0
- package/mission-control/src/app/api/memory/items/route.ts +86 -0
- package/mission-control/src/app/api/memory/list/route.ts +48 -0
- package/mission-control/src/app/api/memory/retrieve/route.ts +51 -0
- package/mission-control/src/app/api/memory/search/route.ts +143 -0
- package/mission-control/src/app/api/memory/sync/route.ts +23 -0
- package/mission-control/src/app/api/memory/wikilinks/route.ts +75 -0
- package/mission-control/src/app/api/mesh/events/route.ts +67 -0
- package/mission-control/src/app/api/mesh/nodes/route.ts +221 -0
- package/mission-control/src/app/api/mesh/tokens/route.ts +133 -0
- package/mission-control/src/app/api/projects/route.ts +102 -0
- package/mission-control/src/app/api/resolve-path/route.ts +92 -0
- package/mission-control/src/app/api/scheduler/tick/route.ts +38 -0
- package/mission-control/src/app/api/scheduler/waves/route.ts +54 -0
- package/mission-control/src/app/api/screenshot/route.ts +127 -0
- package/mission-control/src/app/api/settings/gateway/route.ts +92 -0
- package/mission-control/src/app/api/skills/[id]/health/route.ts +57 -0
- package/mission-control/src/app/api/skills/list/route.ts +41 -0
- package/mission-control/src/app/api/souls/[id]/evolution/route.ts +253 -0
- package/mission-control/src/app/api/souls/[id]/prompt/route.ts +205 -0
- package/mission-control/src/app/api/souls/[id]/propagate/route.ts +146 -0
- package/mission-control/src/app/api/souls/route.ts +174 -0
- package/mission-control/src/app/api/tasks/[id]/handoff/route.ts +115 -0
- package/mission-control/src/app/api/tasks/[id]/route.ts +266 -0
- package/mission-control/src/app/api/tasks/[id]/tree/route.ts +94 -0
- package/mission-control/src/app/api/tasks/route.ts +253 -0
- package/mission-control/src/app/api/tts/route.ts +47 -0
- package/mission-control/src/app/api/workspace/files/route.ts +88 -0
- package/mission-control/src/app/api/workspace/read/route.ts +73 -0
- package/mission-control/src/app/burndown/page.tsx +309 -0
- package/mission-control/src/app/calendar/page.tsx +839 -0
- package/mission-control/src/app/favicon.ico +0 -0
- package/mission-control/src/app/globals.css +67 -0
- package/mission-control/src/app/graph/page.tsx +352 -0
- package/mission-control/src/app/layout.tsx +35 -0
- package/mission-control/src/app/live/page.tsx +232 -0
- package/mission-control/src/app/memory/page.tsx +154 -0
- package/mission-control/src/app/mesh/page.tsx +457 -0
- package/mission-control/src/app/obsidian/page.tsx +252 -0
- package/mission-control/src/app/page.tsx +70 -0
- package/mission-control/src/app/roadmap/page.tsx +1757 -0
- package/mission-control/src/app/settings/page.tsx +260 -0
- package/mission-control/src/app/souls/page.tsx +573 -0
- package/mission-control/src/components/board/activity-timeline.tsx +96 -0
- package/mission-control/src/components/board/daily-board.tsx +373 -0
- package/mission-control/src/components/board/kanban-board.tsx +364 -0
- package/mission-control/src/components/board/kanban-column.tsx +105 -0
- package/mission-control/src/components/board/live-stream.tsx +116 -0
- package/mission-control/src/components/board/skill-health-card.tsx +128 -0
- package/mission-control/src/components/board/status-banner.tsx +124 -0
- package/mission-control/src/components/board/task-card.tsx +454 -0
- package/mission-control/src/components/board/unified-task-dialog.tsx +1043 -0
- package/mission-control/src/components/layout/resizable-layout.tsx +68 -0
- package/mission-control/src/components/layout/sidebar.tsx +90 -0
- package/mission-control/src/components/live/audio-spectrum.tsx +106 -0
- package/mission-control/src/components/live/chat-bubble.tsx +52 -0
- package/mission-control/src/components/live/chat-input.tsx +92 -0
- package/mission-control/src/components/memory/doc-reader.tsx +172 -0
- package/mission-control/src/components/memory/memory-list.tsx +169 -0
- package/mission-control/src/components/memory/search-bar.tsx +67 -0
- package/mission-control/src/components/memory/search-results.tsx +149 -0
- package/mission-control/src/components/obsidian/backlinks-panel.tsx +52 -0
- package/mission-control/src/components/obsidian/file-tree.tsx +186 -0
- package/mission-control/src/components/obsidian/local-graph.tsx +107 -0
- package/mission-control/src/components/obsidian/obsidian-graph.tsx +192 -0
- package/mission-control/src/components/obsidian/obsidian-reader.tsx +246 -0
- package/mission-control/src/lib/activity.ts +29 -0
- package/mission-control/src/lib/config.ts +21 -0
- package/mission-control/src/lib/db/index.ts +429 -0
- package/mission-control/src/lib/db/schema.ts +218 -0
- package/mission-control/src/lib/gateway-notify.ts +113 -0
- package/mission-control/src/lib/hooks.ts +536 -0
- package/mission-control/src/lib/memory/categories.ts +125 -0
- package/mission-control/src/lib/memory/entities.ts +482 -0
- package/mission-control/src/lib/memory/extract.ts +369 -0
- package/mission-control/src/lib/memory/retrieval.ts +281 -0
- package/mission-control/src/lib/memory/wikilinks.ts +147 -0
- package/mission-control/src/lib/nats.ts +126 -0
- package/mission-control/src/lib/parsers/clawvault-doc.ts +98 -0
- package/mission-control/src/lib/parsers/daily-log.ts +73 -0
- package/mission-control/src/lib/parsers/memory-md.ts +81 -0
- package/mission-control/src/lib/parsers/task-markdown.ts +459 -0
- package/mission-control/src/lib/parsers/transcript.ts +209 -0
- package/mission-control/src/lib/scheduler.ts +394 -0
- package/mission-control/src/lib/speech/use-speech-pipeline.ts +176 -0
- package/mission-control/src/lib/sync/memory.ts +224 -0
- package/mission-control/src/lib/sync/tasks.ts +271 -0
- package/mission-control/src/lib/tts/edge.ts +31 -0
- package/mission-control/src/lib/tts/google.ts +78 -0
- package/mission-control/src/lib/tts/index.ts +39 -0
- package/mission-control/src/lib/tts/types.ts +18 -0
- package/mission-control/tsconfig.json +42 -0
- package/obsidian-vault/.obsidian/app.json +10 -0
- package/obsidian-vault/.obsidian/community-plugins.json +8 -0
- package/obsidian-vault/.obsidian/graph.json +40 -0
- package/obsidian-vault/.obsidian/plugins/obsidian-local-rest-api/main.js +58769 -0
- package/obsidian-vault/.obsidian/plugins/obsidian-local-rest-api/manifest.json +10 -0
- package/obsidian-vault/.obsidian/plugins/obsidian-local-rest-api/styles.css +47 -0
- package/obsidian-vault/00-meta/.gitkeep +0 -0
- package/obsidian-vault/01-architecture/.gitkeep +0 -0
- package/obsidian-vault/02-smart-contracts/.gitkeep +0 -0
- package/obsidian-vault/03-backend/.gitkeep +0 -0
- package/obsidian-vault/04-mobile/.gitkeep +0 -0
- package/obsidian-vault/05-ar-mapping/.gitkeep +0 -0
- package/obsidian-vault/06-3d-assets/.gitkeep +0 -0
- package/obsidian-vault/07-sound-music/.gitkeep +0 -0
- package/obsidian-vault/08-lore/.gitkeep +0 -0
- package/obsidian-vault/09-quests-playthrough/.gitkeep +0 -0
- package/obsidian-vault/10-economy/.gitkeep +0 -0
- package/obsidian-vault/11-nft-assets/.gitkeep +0 -0
- package/obsidian-vault/12-nft-mechanics/.gitkeep +0 -0
- package/obsidian-vault/13-dao-guild-social/.gitkeep +0 -0
- package/obsidian-vault/14-game-progression/.gitkeep +0 -0
- package/obsidian-vault/15-analytics/.gitkeep +0 -0
- package/obsidian-vault/16-security/.gitkeep +0 -0
- package/obsidian-vault/17-devops/.gitkeep +0 -0
- package/obsidian-vault/18-marketplace/.gitkeep +0 -0
- package/obsidian-vault/19-decisions/.gitkeep +0 -0
- package/obsidian-vault/20-business-strategy/.gitkeep +0 -0
- package/obsidian-vault/21-legal-regulatory/.gitkeep +0 -0
- package/obsidian-vault/nodes/.gitkeep +0 -0
- package/openclaw.env.example +17 -0
- package/package.json +45 -0
- package/services/launchd/ai.openclaw.gateway.plist +59 -0
- package/services/launchd/ai.openclaw.lane-watchdog.plist +32 -0
- package/services/launchd/ai.openclaw.log-rotate.plist +28 -0
- package/services/launchd/ai.openclaw.memory-daemon.plist +36 -0
- package/services/launchd/ai.openclaw.mesh-agent.plist +38 -0
- package/services/launchd/ai.openclaw.mesh-bridge.plist +36 -0
- package/services/launchd/ai.openclaw.mesh-deploy-listener.plist +33 -0
- package/services/launchd/ai.openclaw.mesh-health-publisher.plist +29 -0
- package/services/launchd/ai.openclaw.mesh-task-daemon.plist +36 -0
- package/services/launchd/ai.openclaw.mesh-tool-discord.plist +36 -0
- package/services/launchd/ai.openclaw.mission-control.plist +41 -0
- package/services/service-manifest.json +13 -0
- package/services/systemd/openclaw-gateway.service +21 -0
- package/services/systemd/openclaw-lane-watchdog.service +21 -0
- package/services/systemd/openclaw-log-rotate.service +13 -0
- package/services/systemd/openclaw-log-rotate.timer +9 -0
- package/services/systemd/openclaw-memory-daemon.service +21 -0
- package/services/systemd/openclaw-mesh-agent.service +19 -0
- package/services/systemd/openclaw-mesh-bridge.service +21 -0
- package/services/systemd/openclaw-mesh-deploy-listener.service +23 -0
- package/services/systemd/openclaw-mesh-health-publisher.service +21 -0
- package/services/systemd/openclaw-mesh-task-daemon.service +21 -0
- package/services/systemd/openclaw-mesh-tool-discord.service +21 -0
- package/services/systemd/openclaw-mission-control.service +22 -0
- package/skills/1password/.clawhub/origin.json +7 -0
- package/skills/1password/SKILL.md +63 -0
- package/skills/1password/references/cli-examples.md +29 -0
- package/skills/1password/references/get-started.md +17 -0
- package/skills/acquisition-channel-advisor/SKILL.md +643 -0
- package/skills/acquisition-channel-advisor/examples/conversation-flow.md +531 -0
- package/skills/agent-browser/.clawhub/origin.json +7 -0
- package/skills/agent-browser/CONTRIBUTING.md +63 -0
- package/skills/agent-browser/SKILL.md +338 -0
- package/skills/agentic-compass/.clawhub/origin.json +7 -0
- package/skills/agentic-compass/README.md +96 -0
- package/skills/agentic-compass/SKILL.md +112 -0
- package/skills/agentic-compass/references/README.md +5 -0
- package/skills/agentic-compass/scripts/agentic-compass.py +196 -0
- package/skills/arcane-dev-ops/SKILL.md +61 -0
- package/skills/arcane-dev-ops/references/checklist.md +22 -0
- package/skills/arcane-dev-ops/references/validation-cases.md +11 -0
- package/skills/arcane-dev-ops/scripts/prepush_check.sh +41 -0
- package/skills/auto-updater/.clawhub/origin.json +7 -0
- package/skills/auto-updater/SKILL.md +158 -0
- package/skills/auto-updater/references/agent-guide.md +152 -0
- package/skills/auto-updater/references/summary-examples.md +109 -0
- package/skills/business-health-diagnostic/SKILL.md +782 -0
- package/skills/byterover/.clawhub/origin.json +7 -0
- package/skills/byterover/SKILL.md +105 -0
- package/skills/byterover/TROUBLESHOOTING.md +50 -0
- package/skills/byterover/WORKFLOWS.md +229 -0
- package/skills/capability-evolver/.clawhub/origin.json +7 -0
- package/skills/capability-evolver/CONTRIBUTING.md +11 -0
- package/skills/capability-evolver/README.md +157 -0
- package/skills/capability-evolver/README.zh-CN.md +112 -0
- package/skills/capability-evolver/SKILL.md +93 -0
- package/skills/capability-evolver/assets/gep/capsules.json +5 -0
- package/skills/capability-evolver/assets/gep/genes.json +104 -0
- package/skills/capability-evolver/index.js +59 -0
- package/skills/capability-evolver/package.json +22 -0
- package/skills/capability-evolver/scripts/analyze_by_skill.js +121 -0
- package/skills/capability-evolver/scripts/build_public.js +350 -0
- package/skills/capability-evolver/scripts/export_history.js +98 -0
- package/skills/capability-evolver/scripts/extract_log.js +85 -0
- package/skills/capability-evolver/scripts/generate_history.js +75 -0
- package/skills/capability-evolver/scripts/human_report.js +147 -0
- package/skills/capability-evolver/scripts/publish_public.js +516 -0
- package/skills/capability-evolver/scripts/suggest_version.js +89 -0
- package/skills/capability-evolver/src/evolve.js +594 -0
- package/skills/capability-evolver/src/gep/assetStore.js +204 -0
- package/skills/capability-evolver/src/gep/candidates.js +134 -0
- package/skills/capability-evolver/src/gep/paths.js +23 -0
- package/skills/capability-evolver/src/gep/prompt.js +254 -0
- package/skills/capability-evolver/src/gep/selector.js +89 -0
- package/skills/capability-evolver/src/gep/signals.js +27 -0
- package/skills/cc-godmode/.clawhub/origin.json +7 -0
- package/skills/cc-godmode/CHANGELOG.md +66 -0
- package/skills/cc-godmode/README.md +293 -0
- package/skills/cc-godmode/SKILL.md +242 -0
- package/skills/cc-godmode/docs/AGENTS.md +332 -0
- package/skills/cc-godmode/docs/MIGRATION.md +206 -0
- package/skills/cc-godmode/docs/TROUBLESHOOTING.md +357 -0
- package/skills/cc-godmode/docs/WORKFLOWS.md +329 -0
- package/skills/cc-godmode/references/agents.md +433 -0
- package/skills/cc-godmode/scripts/build-skill.js +232 -0
- package/skills/clawdbot-filesystem/.clawhub/origin.json +7 -0
- package/skills/clawdbot-filesystem/LICENSE.md +21 -0
- package/skills/clawdbot-filesystem/README.md +322 -0
- package/skills/clawdbot-filesystem/SKILL.md +219 -0
- package/skills/clawdbot-filesystem/config.json +41 -0
- package/skills/clawdbot-filesystem/package.json +69 -0
- package/skills/clawdbot-security-check/.clawhub/origin.json +7 -0
- package/skills/clawdbot-security-check/README.md +168 -0
- package/skills/clawdbot-security-check/SKILL.md +145 -0
- package/skills/clawdbot-security-check/references/audit-checks.md +521 -0
- package/skills/clawdbot-security-check/skill.json +42 -0
- package/skills/clawddocs/.clawhub/origin.json +7 -0
- package/skills/clawddocs/SKILL.md +176 -0
- package/skills/clawddocs/package.json +9 -0
- package/skills/clawddocs/scripts/build-index.sh +17 -0
- package/skills/clawddocs/scripts/cache.sh +13 -0
- package/skills/clawddocs/scripts/fetch-doc.sh +7 -0
- package/skills/clawddocs/scripts/recent.sh +5 -0
- package/skills/clawddocs/scripts/search.sh +8 -0
- package/skills/clawddocs/scripts/sitemap.sh +23 -0
- package/skills/clawddocs/scripts/track-changes.sh +16 -0
- package/skills/clawddocs/snippets/common-configs.md +69 -0
- package/skills/clawguard/.clawhub/origin.json +7 -0
- package/skills/clawguard/SKILL.md +137 -0
- package/skills/company-research/SKILL.md +393 -0
- package/skills/company-research/examples/sample.md +164 -0
- package/skills/company-research/template.md +60 -0
- package/skills/crypto-price/.clawhub/origin.json +7 -0
- package/skills/crypto-price/ARCHITECTURE.md +437 -0
- package/skills/crypto-price/README.md +194 -0
- package/skills/crypto-price/SKILL.md +61 -0
- package/skills/crypto-price/requirements.txt +1 -0
- package/skills/crypto-price/scripts/get_price_chart.py +988 -0
- package/skills/customer-journey-map/SKILL.md +343 -0
- package/skills/customer-journey-map/examples/sample.md +33 -0
- package/skills/customer-journey-map/template.md +28 -0
- package/skills/customer-journey-mapping-workshop/SKILL.md +522 -0
- package/skills/deep-research/.clawhub/origin.json +7 -0
- package/skills/deep-research/SKILL.md +93 -0
- package/skills/deep-research/rules/logic.md +32 -0
- package/skills/discord-telegram-triage/SKILL.md +59 -0
- package/skills/discord-telegram-triage/references/discord-runbook.md +28 -0
- package/skills/discord-telegram-triage/references/validation-cases.md +11 -0
- package/skills/discord-telegram-triage/scripts/triage_snapshot.sh +23 -0
- package/skills/discovery-interview-prep/SKILL.md +408 -0
- package/skills/discovery-process/SKILL.md +503 -0
- package/skills/discovery-process/examples/sample.md +60 -0
- package/skills/discovery-process/template.md +39 -0
- package/skills/dist/arcane-dev-ops.skill +0 -0
- package/skills/dist/discord-telegram-triage.skill +0 -0
- package/skills/dist/founder-brief-summarizer.skill +0 -0
- package/skills/epic-breakdown-advisor/SKILL.md +664 -0
- package/skills/epic-hypothesis/SKILL.md +285 -0
- package/skills/epic-hypothesis/examples/sample.md +104 -0
- package/skills/epic-hypothesis/template.md +30 -0
- package/skills/excel/.clawhub/origin.json +7 -0
- package/skills/excel/SKILL.md +332 -0
- package/skills/excel/scripts/excel.py +1120 -0
- package/skills/fast-browser-use/.clawhub/origin.json +7 -0
- package/skills/fast-browser-use/CODEBUDDY.md +142 -0
- package/skills/fast-browser-use/Cargo.toml +77 -0
- package/skills/fast-browser-use/README.md +62 -0
- package/skills/fast-browser-use/SKILL.md +217 -0
- package/skills/fast-browser-use/package-lock.json +28 -0
- package/skills/fast-browser-use/package.json +8 -0
- package/skills/fast-browser-use/rustfmt.toml +10 -0
- package/skills/fast-browser-use/src/bin/cli.rs +373 -0
- package/skills/fast-browser-use/src/bin/mcp_server.rs +203 -0
- package/skills/fast-browser-use/src/browser/config.rs +136 -0
- package/skills/fast-browser-use/src/browser/debug.rs +16 -0
- package/skills/fast-browser-use/src/browser/mod.rs +61 -0
- package/skills/fast-browser-use/src/browser/session.rs +478 -0
- package/skills/fast-browser-use/src/dom/element.rs +442 -0
- package/skills/fast-browser-use/src/dom/extract_dom.js +849 -0
- package/skills/fast-browser-use/src/dom/mod.rs +14 -0
- package/skills/fast-browser-use/src/dom/tree.rs +296 -0
- package/skills/fast-browser-use/src/dom/yaml.rs +149 -0
- package/skills/fast-browser-use/src/error.rs +115 -0
- package/skills/fast-browser-use/src/lib.rs +17 -0
- package/skills/fast-browser-use/src/mcp/handler.rs +63 -0
- package/skills/fast-browser-use/src/mcp/mod.rs +81 -0
- package/skills/fast-browser-use/src/tools/Readability.min.js +1480 -0
- package/skills/fast-browser-use/src/tools/annotate.rs +165 -0
- package/skills/fast-browser-use/src/tools/click.rs +84 -0
- package/skills/fast-browser-use/src/tools/close.rs +35 -0
- package/skills/fast-browser-use/src/tools/close_tab.rs +45 -0
- package/skills/fast-browser-use/src/tools/convert_to_markdown.js +117 -0
- package/skills/fast-browser-use/src/tools/cookies.rs +58 -0
- package/skills/fast-browser-use/src/tools/debug.rs +44 -0
- package/skills/fast-browser-use/src/tools/evaluate.rs +40 -0
- package/skills/fast-browser-use/src/tools/extract.rs +66 -0
- package/skills/fast-browser-use/src/tools/go_back.rs +35 -0
- package/skills/fast-browser-use/src/tools/go_forward.rs +35 -0
- package/skills/fast-browser-use/src/tools/hover.js +33 -0
- package/skills/fast-browser-use/src/tools/hover.rs +97 -0
- package/skills/fast-browser-use/src/tools/html_to_markdown.rs +99 -0
- package/skills/fast-browser-use/src/tools/input.rs +93 -0
- package/skills/fast-browser-use/src/tools/local_storage.rs +159 -0
- package/skills/fast-browser-use/src/tools/markdown.rs +181 -0
- package/skills/fast-browser-use/src/tools/mod.rs +326 -0
- package/skills/fast-browser-use/src/tools/navigate.rs +55 -0
- package/skills/fast-browser-use/src/tools/new_tab.rs +60 -0
- package/skills/fast-browser-use/src/tools/press_key.rs +78 -0
- package/skills/fast-browser-use/src/tools/read_links.rs +59 -0
- package/skills/fast-browser-use/src/tools/readability_script.rs +8 -0
- package/skills/fast-browser-use/src/tools/screenshot.rs +47 -0
- package/skills/fast-browser-use/src/tools/scroll.js +22 -0
- package/skills/fast-browser-use/src/tools/scroll.rs +95 -0
- package/skills/fast-browser-use/src/tools/select.js +23 -0
- package/skills/fast-browser-use/src/tools/select.rs +129 -0
- package/skills/fast-browser-use/src/tools/sitemap.rs +426 -0
- package/skills/fast-browser-use/src/tools/snapshot.rs +324 -0
- package/skills/fast-browser-use/src/tools/switch_tab.rs +69 -0
- package/skills/fast-browser-use/src/tools/tab_list.rs +76 -0
- package/skills/fast-browser-use/src/tools/utils.rs +92 -0
- package/skills/fast-browser-use/src/tools/wait.rs +53 -0
- package/skills/fast-browser-use/test_auth.json +3 -0
- package/skills/fast-browser-use/test_state.json +6 -0
- package/skills/fast-browser-use/tests/browser_tools_integration.rs +233 -0
- package/skills/fast-browser-use/tests/cli_recipes_integration.rs +112 -0
- package/skills/fast-browser-use/tests/cookies_integration.rs +56 -0
- package/skills/fast-browser-use/tests/debug_integration.rs +83 -0
- package/skills/fast-browser-use/tests/dom_integration.rs +170 -0
- package/skills/fast-browser-use/tests/local_storage_integration.rs +75 -0
- package/skills/fast-browser-use/tests/markdown_integration.rs +448 -0
- package/skills/fast-browser-use/tests/navigation_integration.rs +241 -0
- package/skills/fast-browser-use/tests/sitemap_integration.rs +326 -0
- package/skills/fast-browser-use/tests/tab_management_integration.rs +300 -0
- package/skills/feature-investment-advisor/SKILL.md +639 -0
- package/skills/feature-investment-advisor/examples/conversation-flow.md +538 -0
- package/skills/finance-based-pricing-advisor/SKILL.md +763 -0
- package/skills/finance-metrics-quickref/SKILL.md +309 -0
- package/skills/find-skills/.clawhub/origin.json +7 -0
- package/skills/find-skills/SKILL.md +143 -0
- package/skills/flavor-text-writer/SKILL.md +27 -0
- package/skills/founder-brief-summarizer/SKILL.md +52 -0
- package/skills/founder-brief-summarizer/references/response-templates.md +15 -0
- package/skills/founder-brief-summarizer/references/validation-cases.md +11 -0
- package/skills/founder-brief-summarizer/scripts/brief_template.sh +28 -0
- package/skills/frontend-design/.clawhub/origin.json +7 -0
- package/skills/frontend-design/LICENSE.txt +190 -0
- package/skills/frontend-design/SKILL.md +53 -0
- package/skills/gemini/.clawhub/origin.json +7 -0
- package/skills/gemini/SKILL.md +33 -0
- package/skills/gemini-deep-research/.clawhub/origin.json +7 -0
- package/skills/gemini-deep-research/SKILL.md +78 -0
- package/skills/gemini-deep-research/scripts/deep_research.py +176 -0
- package/skills/git-essentials/.clawhub/origin.json +7 -0
- package/skills/git-essentials/SKILL.md +239 -0
- package/skills/git-essentials/references/advanced.md +211 -0
- package/skills/github/.clawhub/origin.json +7 -0
- package/skills/github/SKILL.md +57 -0
- package/skills/google-drive/.clawhub/origin.json +7 -0
- package/skills/google-drive/LICENSE.txt +21 -0
- package/skills/google-drive/SKILL.md +320 -0
- package/skills/growth-loop/SKILL.md +270 -0
- package/skills/growth-loop/_meta.json +9 -0
- package/skills/growth-loop/references/diagnosis-framework.md +84 -0
- package/skills/growth-loop/references/platform-benchmarks.md +79 -0
- package/skills/growth-loop/scripts/init-campaign.sh +274 -0
- package/skills/humanize-ai-text/.clawhub/origin.json +7 -0
- package/skills/humanize-ai-text/SKILL.md +192 -0
- package/skills/humanize-ai-text/scripts/compare.py +58 -0
- package/skills/humanize-ai-text/scripts/detect.py +160 -0
- package/skills/humanize-ai-text/scripts/patterns.json +191 -0
- package/skills/humanize-ai-text/scripts/transform.py +127 -0
- package/skills/humanizer/.clawhub/origin.json +7 -0
- package/skills/humanizer/README.md +82 -0
- package/skills/humanizer/SKILL.md +443 -0
- package/skills/jobs-to-be-done/SKILL.md +378 -0
- package/skills/jobs-to-be-done/examples/sample.md +80 -0
- package/skills/jobs-to-be-done/template.md +65 -0
- package/skills/lean-ux-canvas/SKILL.md +561 -0
- package/skills/lean-ux-canvas/examples/sample.md +88 -0
- package/skills/lean-ux-canvas/template.md +32 -0
- package/skills/markdown-formatter/.clawhub/origin.json +7 -0
- package/skills/markdown-formatter/README.md +137 -0
- package/skills/markdown-formatter/SKILL.md +369 -0
- package/skills/markdown-formatter/config.json +20 -0
- package/skills/markdown-formatter/index.js +439 -0
- package/skills/markdown-formatter/package.json +23 -0
- package/skills/markdown-formatter/test.js +23 -0
- package/skills/marketing-mode/.clawhub/origin.json +7 -0
- package/skills/marketing-mode/README.md +49 -0
- package/skills/marketing-mode/SKILL.md +703 -0
- package/skills/marketing-mode/mode-prompt.md +39 -0
- package/skills/marketing-mode/skill.json +51 -0
- package/skills/memory-hygiene/.clawhub/origin.json +7 -0
- package/skills/memory-hygiene/SKILL.md +91 -0
- package/skills/memory-setup/.clawhub/origin.json +7 -0
- package/skills/memory-setup/SKILL.md +180 -0
- package/skills/memorylayer/.clawhub/origin.json +7 -0
- package/skills/memorylayer/README.md +197 -0
- package/skills/memorylayer/SKILL.md +227 -0
- package/skills/memorylayer/examples/agent-integration.js +145 -0
- package/skills/memorylayer/examples/basic-usage.js +87 -0
- package/skills/memorylayer/examples/token-savings-demo.js +183 -0
- package/skills/memorylayer/index.js +115 -0
- package/skills/memorylayer/package-lock.json +295 -0
- package/skills/memorylayer/package.json +27 -0
- package/skills/memorylayer/python/memorylayer_skill.py +230 -0
- package/skills/memorylayer/python/requirements.txt +7 -0
- package/skills/mesh/SKILL.md +184 -0
- package/skills/model-usage/.clawhub/origin.json +7 -0
- package/skills/model-usage/SKILL.md +54 -0
- package/skills/model-usage/references/codexbar-cli.md +28 -0
- package/skills/model-usage/scripts/model_usage.py +310 -0
- package/skills/moltbook-interact/.clawhub/origin.json +7 -0
- package/skills/moltbook-interact/INSTALL.md +139 -0
- package/skills/moltbook-interact/README.md +198 -0
- package/skills/moltbook-interact/SKILL.md +72 -0
- package/skills/moltbook-interact/references/api.md +106 -0
- package/skills/moltbook-interact/scripts/moltbook.sh +142 -0
- package/skills/moltbook-registry/.clawhub/origin.json +7 -0
- package/skills/moltbook-registry/README.md +26 -0
- package/skills/moltbook-registry/SKILL.md +82 -0
- package/skills/moltbook-registry/index.js +180 -0
- package/skills/moltbook-registry/package.json +11 -0
- package/skills/mythril-scanner/SKILL.md +27 -0
- package/skills/n8n/.clawhub/origin.json +7 -0
- package/skills/n8n/SKILL.md +141 -0
- package/skills/n8n/references/api.md +156 -0
- package/skills/n8n/scripts/n8n_api.py +158 -0
- package/skills/n8n-workflow-automation/.clawhub/origin.json +7 -0
- package/skills/n8n-workflow-automation/SKILL.md +103 -0
- package/skills/n8n-workflow-automation/assets/runbook-template.md +32 -0
- package/skills/narrative-designer/SKILL.md +27 -0
- package/skills/ontology/.clawhub/origin.json +7 -0
- package/skills/ontology/SKILL.md +236 -0
- package/skills/ontology/references/queries.md +211 -0
- package/skills/ontology/references/schema.md +322 -0
- package/skills/ontology/scripts/ontology.py +374 -0
- package/skills/openai-image-gen/.clawhub/origin.json +7 -0
- package/skills/openai-image-gen/SKILL.md +45 -0
- package/skills/openai-image-gen/scripts/gen.py +227 -0
- package/skills/openclaw-agent-optimize/.clawhub/origin.json +7 -0
- package/skills/openclaw-agent-optimize/SKILL.md +33 -0
- package/skills/openclaw-agent-optimize/references/agent-orchestration.md +20 -0
- package/skills/openclaw-agent-optimize/references/context-management.md +15 -0
- package/skills/openclaw-agent-optimize/references/continuous-learning.md +14 -0
- package/skills/openclaw-agent-optimize/references/cron-optimization.md +16 -0
- package/skills/openclaw-agent-optimize/references/memory-patterns.md +14 -0
- package/skills/openclaw-agent-optimize/references/model-selection.md +18 -0
- package/skills/openclaw-skill-scanner/.clawhub/origin.json +7 -0
- package/skills/openclaw-skill-scanner/SKILL.md +88 -0
- package/skills/openclaw-skill-scanner/install-hook.sh +294 -0
- package/skills/openclaw-skill-scanner/report-template.md +53 -0
- package/skills/openclaw-skill-scanner/scanner.py +929 -0
- package/skills/openclaw-skill-scanner/whitelist.json +18 -0
- package/skills/opportunity-solution-tree/SKILL.md +428 -0
- package/skills/opportunity-solution-tree/examples/sample.md +104 -0
- package/skills/opportunity-solution-tree/template.md +33 -0
- package/skills/pdf/.clawhub/origin.json +7 -0
- package/skills/pdf/SKILL.md +304 -0
- package/skills/pestel-analysis/SKILL.md +384 -0
- package/skills/pestel-analysis/examples/sample.md +143 -0
- package/skills/pestel-analysis/template.md +53 -0
- package/skills/pol-probe/SKILL.md +217 -0
- package/skills/pol-probe/examples/sample.md +136 -0
- package/skills/pol-probe/template.md +59 -0
- package/skills/pol-probe-advisor/SKILL.md +492 -0
- package/skills/positioning-statement/SKILL.md +229 -0
- package/skills/positioning-statement/examples/sample.md +51 -0
- package/skills/positioning-statement/template.md +25 -0
- package/skills/positioning-workshop/SKILL.md +424 -0
- package/skills/prd-development/SKILL.md +654 -0
- package/skills/prd-development/examples/sample.md +43 -0
- package/skills/prd-development/template.md +55 -0
- package/skills/press-release/SKILL.md +277 -0
- package/skills/press-release/examples/sample.md +73 -0
- package/skills/press-release/template.md +39 -0
- package/skills/prioritization-advisor/SKILL.md +451 -0
- package/skills/proactive-messages/.clawhub/origin.json +7 -0
- package/skills/proactive-messages/SKILL.md +91 -0
- package/skills/problem-framing-canvas/SKILL.md +466 -0
- package/skills/problem-framing-canvas/examples/sample.md +58 -0
- package/skills/problem-framing-canvas/template.md +22 -0
- package/skills/problem-statement/SKILL.md +255 -0
- package/skills/problem-statement/examples/sample.md +82 -0
- package/skills/problem-statement/template.md +37 -0
- package/skills/product-strategy-session/SKILL.md +434 -0
- package/skills/product-strategy-session/examples/sample.md +67 -0
- package/skills/product-strategy-session/template.md +38 -0
- package/skills/prompt-guard/.clawhub/origin.json +7 -0
- package/skills/prompt-guard/ARCHITECTURE.md +364 -0
- package/skills/prompt-guard/CHANGELOG.md +200 -0
- package/skills/prompt-guard/README.md +215 -0
- package/skills/prompt-guard/SECURITY.md +66 -0
- package/skills/prompt-guard/SKILL.md +174 -0
- package/skills/prompt-guard/blog/how-i-secured-my-ai-agent.md +185 -0
- package/skills/prompt-guard/config.example.yaml +56 -0
- package/skills/prompt-guard/references/detection-patterns.md +298 -0
- package/skills/prompt-guard/requirements.txt +1 -0
- package/skills/prompt-guard/scripts/analyze_log.py +224 -0
- package/skills/prompt-guard/scripts/audit.py +344 -0
- package/skills/prompt-guard/scripts/detect.py +1587 -0
- package/skills/prompt-guard/scripts/hivefence.py +345 -0
- package/skills/proto-persona/SKILL.md +336 -0
- package/skills/proto-persona/examples/sample.md +97 -0
- package/skills/proto-persona/template.md +45 -0
- package/skills/recommendation-canvas/SKILL.md +382 -0
- package/skills/recommendation-canvas/examples/sample.md +94 -0
- package/skills/recommendation-canvas/template.md +86 -0
- package/skills/refactor-suggest/.clawhub/origin.json +7 -0
- package/skills/refactor-suggest/SKILL.md +94 -0
- package/skills/roadmap-planning/SKILL.md +506 -0
- package/skills/roadmap-planning/examples/sample.md +62 -0
- package/skills/roadmap-planning/template.md +30 -0
- package/skills/saas-economics-efficiency-metrics/SKILL.md +694 -0
- package/skills/saas-economics-efficiency-metrics/examples/cash-trap.md +365 -0
- package/skills/saas-economics-efficiency-metrics/examples/healthy-unit-economics.md +279 -0
- package/skills/saas-economics-efficiency-metrics/template.md +263 -0
- package/skills/saas-revenue-growth-metrics/SKILL.md +629 -0
- package/skills/saas-revenue-growth-metrics/examples/healthy-saas.md +131 -0
- package/skills/saas-revenue-growth-metrics/examples/warning-signs.md +229 -0
- package/skills/saas-revenue-growth-metrics/template.md +192 -0
- package/skills/save-money/.clawhub/origin.json +7 -0
- package/skills/save-money/SKILL.md +173 -0
- package/skills/scripts/golden_skills_v3.sh +32 -0
- package/skills/search/.clawhub/origin.json +7 -0
- package/skills/search/SKILL.md +18 -0
- package/skills/search/skill.json +1 -0
- package/skills/second-brain/.clawhub/origin.json +7 -0
- package/skills/second-brain/SKILL.md +278 -0
- package/skills/second-brain/scripts/ensue-api.sh +37 -0
- package/skills/self-improving-agent/.clawhub/origin.json +7 -0
- package/skills/self-improving-agent/.learnings/ERRORS.md +5 -0
- package/skills/self-improving-agent/.learnings/FEATURE_REQUESTS.md +5 -0
- package/skills/self-improving-agent/.learnings/LEARNINGS.md +5 -0
- package/skills/self-improving-agent/SKILL.md +130 -0
- package/skills/self-improving-agent/assets/LEARNINGS.md +45 -0
- package/skills/self-improving-agent/assets/SKILL-TEMPLATE.md +177 -0
- package/skills/self-improving-agent/hooks/openclaw/HOOK.md +23 -0
- package/skills/self-improving-agent/hooks/openclaw/handler.js +56 -0
- package/skills/self-improving-agent/hooks/openclaw/handler.ts +62 -0
- package/skills/self-improving-agent/references/examples.md +374 -0
- package/skills/self-improving-agent/references/hooks-setup.md +223 -0
- package/skills/self-improving-agent/references/openclaw-integration.md +248 -0
- package/skills/self-improving-agent/references/templates.md +480 -0
- package/skills/self-improving-agent/scripts/activator.sh +20 -0
- package/skills/self-improving-agent/scripts/error-detector.sh +55 -0
- package/skills/self-improving-agent/scripts/extract-skill.sh +203 -0
- package/skills/self-improving-agent-1-0-2/.clawhub/origin.json +7 -0
- package/skills/self-improving-agent-1-0-2/SKILL.md +562 -0
- package/skills/self-improving-agent-1-0-2/assets/LEARNINGS.md +45 -0
- package/skills/self-improving-agent-1-0-2/assets/SKILL-TEMPLATE.md +182 -0
- package/skills/self-improving-agent-1-0-2/references/clawdbot-integration.md +311 -0
- package/skills/self-improving-agent-1-0-2/references/examples.md +374 -0
- package/skills/self-improving-agent-1-0-2/references/hooks-setup.md +223 -0
- package/skills/self-improving-agent-1-0-2/scripts/activator.sh +20 -0
- package/skills/self-improving-agent-1-0-2/scripts/error-detector.sh +55 -0
- package/skills/self-improving-agent-1-0-2/scripts/extract-skill.sh +203 -0
- package/skills/self-love-confidence/.clawhub/origin.json +7 -0
- package/skills/self-love-confidence/SKILL.md +79 -0
- package/skills/self-reflection/.clawhub/origin.json +7 -0
- package/skills/self-reflection/README.md +292 -0
- package/skills/self-reflection/SKILL.md +110 -0
- package/skills/self-reflection/self-reflection.example.json +6 -0
- package/skills/slither-analyzer/SKILL.md +27 -0
- package/skills/solidity-audit/SKILL.md +27 -0
- package/skills/soulcraft/.clawhub/origin.json +7 -0
- package/skills/soulcraft/README.md +123 -0
- package/skills/soulcraft/SKILL.md +340 -0
- package/skills/soulcraft/references/question-bank.md +154 -0
- package/skills/soulcraft/references/soul-examples.md +207 -0
- package/skills/soulcraft/research/RESEARCH_REPORT.md +317 -0
- package/skills/spotify-player/.clawhub/origin.json +7 -0
- package/skills/spotify-player/SKILL.md +44 -0
- package/skills/storyboard/SKILL.md +259 -0
- package/skills/storyboard/examples/sample.md +71 -0
- package/skills/storyboard/template.md +41 -0
- package/skills/summarize/.clawhub/origin.json +7 -0
- package/skills/summarize/SKILL.md +59 -0
- package/skills/superdesign/.clawhub/origin.json +7 -0
- package/skills/superdesign/SKILL.md +224 -0
- package/skills/tam-sam-som-calculator/SKILL.md +399 -0
- package/skills/tam-sam-som-calculator/examples/sample.md +142 -0
- package/skills/tam-sam-som-calculator/scripts/market-sizing.py +95 -0
- package/skills/tam-sam-som-calculator/template.md +35 -0
- package/skills/tavily-search/.clawhub/origin.json +7 -0
- package/skills/tavily-search/SKILL.md +49 -0
- package/skills/tavily-search/scripts/extract.mjs +59 -0
- package/skills/tavily-search/scripts/search.mjs +101 -0
- package/skills/twitter/SKILL.md +74 -0
- package/skills/twitter/_meta.json +9 -0
- package/skills/twitter/references/validation-cases.md +53 -0
- package/skills/twitter/scripts/twitter.sh +421 -0
- package/skills/ui-ux-pro-max/.clawhub/origin.json +7 -0
- package/skills/ui-ux-pro-max/SKILL.md +54 -0
- package/skills/ui-ux-pro-max/assets/data/charts.csv +26 -0
- package/skills/ui-ux-pro-max/assets/data/colors.csv +97 -0
- package/skills/ui-ux-pro-max/assets/data/icons.csv +101 -0
- package/skills/ui-ux-pro-max/assets/data/landing.csv +31 -0
- package/skills/ui-ux-pro-max/assets/data/products.csv +97 -0
- package/skills/ui-ux-pro-max/assets/data/react-performance.csv +45 -0
- package/skills/ui-ux-pro-max/assets/data/stacks/astro.csv +54 -0
- package/skills/ui-ux-pro-max/assets/data/stacks/flutter.csv +53 -0
- package/skills/ui-ux-pro-max/assets/data/stacks/html-tailwind.csv +56 -0
- package/skills/ui-ux-pro-max/assets/data/stacks/jetpack-compose.csv +53 -0
- package/skills/ui-ux-pro-max/assets/data/stacks/nextjs.csv +53 -0
- package/skills/ui-ux-pro-max/assets/data/stacks/nuxt-ui.csv +51 -0
- package/skills/ui-ux-pro-max/assets/data/stacks/nuxtjs.csv +59 -0
- package/skills/ui-ux-pro-max/assets/data/stacks/react-native.csv +52 -0
- package/skills/ui-ux-pro-max/assets/data/stacks/react.csv +54 -0
- package/skills/ui-ux-pro-max/assets/data/stacks/shadcn.csv +61 -0
- package/skills/ui-ux-pro-max/assets/data/stacks/svelte.csv +54 -0
- package/skills/ui-ux-pro-max/assets/data/stacks/swiftui.csv +51 -0
- package/skills/ui-ux-pro-max/assets/data/stacks/vue.csv +50 -0
- package/skills/ui-ux-pro-max/assets/data/styles.csv +68 -0
- package/skills/ui-ux-pro-max/assets/data/typography.csv +58 -0
- package/skills/ui-ux-pro-max/assets/data/ui-reasoning.csv +101 -0
- package/skills/ui-ux-pro-max/assets/data/ux-guidelines.csv +100 -0
- package/skills/ui-ux-pro-max/assets/data/web-interface.csv +31 -0
- package/skills/ui-ux-pro-max/references/upstream-README.md +488 -0
- package/skills/ui-ux-pro-max/references/upstream-skill-content.md +288 -0
- package/skills/ui-ux-pro-max/scripts/__init__.py +0 -0
- package/skills/ui-ux-pro-max/scripts/core.py +253 -0
- package/skills/ui-ux-pro-max/scripts/design_system.py +1071 -0
- package/skills/ui-ux-pro-max/scripts/search.py +111 -0
- package/skills/user-story/SKILL.md +272 -0
- package/skills/user-story/examples/sample.md +110 -0
- package/skills/user-story/scripts/user-story-template.py +65 -0
- package/skills/user-story/template.md +32 -0
- package/skills/user-story-mapping/SKILL.md +296 -0
- package/skills/user-story-mapping/examples/sample.md +77 -0
- package/skills/user-story-mapping/template.md +41 -0
- package/skills/user-story-mapping-workshop/SKILL.md +485 -0
- package/skills/user-story-mapping-workshop/template.md +28 -0
- package/skills/user-story-splitting/SKILL.md +313 -0
- package/skills/user-story-splitting/examples/sample.md +147 -0
- package/skills/user-story-splitting/template.md +37 -0
- package/skills/wacli/.clawhub/origin.json +7 -0
- package/skills/wacli/SKILL.md +53 -0
- package/skills/web-search/.clawhub/origin.json +7 -0
- package/skills/web-search/SKILL.md +151 -0
- package/skills/web-search/references/api-details.md +207 -0
- package/skills/web-search/scripts/search.py +576 -0
- package/skills/workshop-facilitation/SKILL.md +88 -0
- package/skills/world-builder/SKILL.md +27 -0
- package/souls/blockchain-auditor/PRINCIPLES.md +75 -0
- package/souls/blockchain-auditor/SOUL.md +56 -0
- package/souls/blockchain-auditor/capabilities.json +33 -0
- package/souls/blockchain-auditor/evolution/capsules.json +4 -0
- package/souls/blockchain-auditor/evolution/events.jsonl +1 -0
- package/souls/blockchain-auditor/evolution/genes.json +62 -0
- package/souls/daedalus/PRINCIPLES.md +78 -0
- package/souls/daedalus/SOUL.md +48 -0
- package/souls/daedalus/capabilities.json +46 -0
- package/souls/identity-architect/PRINCIPLES.md +83 -0
- package/souls/identity-architect/SOUL.md +66 -0
- package/souls/identity-architect/capabilities.json +38 -0
- package/souls/identity-architect/evolution/capsules.json +4 -0
- package/souls/identity-architect/evolution/events.jsonl +0 -0
- package/souls/identity-architect/evolution/genes.json +4 -0
- package/souls/infra-ops/PRINCIPLES.md +77 -0
- package/souls/infra-ops/SOUL.md +56 -0
- package/souls/infra-ops/capabilities.json +33 -0
- package/souls/infra-ops/evolution/capsules.json +4 -0
- package/souls/infra-ops/evolution/events.jsonl +0 -0
- package/souls/infra-ops/evolution/genes.json +4 -0
- package/souls/lore-writer/PRINCIPLES.md +74 -0
- package/souls/lore-writer/SOUL.md +54 -0
- package/souls/lore-writer/capabilities.json +37 -0
- package/souls/lore-writer/evolution/capsules.json +4 -0
- package/souls/lore-writer/evolution/events.jsonl +0 -0
- package/souls/lore-writer/evolution/genes.json +4 -0
- package/souls/qa-evidence/PRINCIPLES.md +97 -0
- package/souls/qa-evidence/SOUL.md +66 -0
- package/souls/qa-evidence/capabilities.json +32 -0
- package/souls/qa-evidence/evolution/capsules.json +4 -0
- package/souls/qa-evidence/evolution/events.jsonl +0 -0
- package/souls/qa-evidence/evolution/genes.json +4 -0
- package/souls/registry.json +211 -0
- package/souls/sync-registry.js +65 -0
- package/uninstall.sh +102 -0
- package/workspace-bin/auto-checkpoint +60 -0
- package/workspace-bin/clawvault-access-control +65 -0
- package/workspace-bin/clawvault-local +28 -0
- package/workspace-bin/compile-boot +494 -0
- package/workspace-bin/daily-log-writer.mjs +251 -0
- package/workspace-bin/evolve +540 -0
- package/workspace-bin/fitness_score.py +395 -0
- package/workspace-bin/hooks/pre-commit +80 -0
- package/workspace-bin/install-daemon +299 -0
- package/workspace-bin/lane-watchdog.js +232 -0
- package/workspace-bin/lib/__init__.py +0 -0
- package/workspace-bin/lib/frontmatter.py +114 -0
- package/workspace-bin/memory-daemon.mjs +879 -0
- package/workspace-bin/memory-maintenance.mjs +531 -0
- package/workspace-bin/mesh-bridge.mjs +154 -0
- package/workspace-bin/multi-review +130 -0
- package/workspace-bin/obsidian +125 -0
- package/workspace-bin/obsidian-sync.mjs +888 -0
- package/workspace-bin/openclaw-register-source +102 -0
- package/workspace-bin/proactive-scan +147 -0
- package/workspace-bin/quality-gate +175 -0
- package/workspace-bin/screenshot +96 -0
- package/workspace-bin/session-recap +453 -0
- package/workspace-bin/skill-audit +494 -0
- package/workspace-bin/skill-quality-check +134 -0
- package/workspace-bin/skill-routing-eval +599 -0
- package/workspace-bin/soul-prompt +251 -0
- package/workspace-bin/subagent-audit.mjs +267 -0
- package/workspace-bin/test-multi-soul-workflow +130 -0
- package/workspace-bin/trust-registry +465 -0
- package/workspace-docs/AGENTS.md +201 -0
- package/workspace-docs/CLAUDE.md +64 -0
- package/workspace-docs/PRINCIPLES.md +81 -0
- package/workspace-docs/SOUL.md +48 -0
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""Detect AI patterns in text based on Wikipedia's Signs of AI Writing."""
|
|
3
|
+
import argparse, json, re, sys
|
|
4
|
+
from pathlib import Path
|
|
5
|
+
from dataclasses import dataclass, field
|
|
6
|
+
|
|
7
|
+
SCRIPT_DIR = Path(__file__).parent
|
|
8
|
+
PATTERNS = json.loads((SCRIPT_DIR / "patterns.json").read_text())
|
|
9
|
+
|
|
10
|
+
@dataclass
|
|
11
|
+
class DetectionResult:
|
|
12
|
+
significance_inflation: list = field(default_factory=list)
|
|
13
|
+
notability_emphasis: list = field(default_factory=list)
|
|
14
|
+
superficial_analysis: list = field(default_factory=list)
|
|
15
|
+
promotional_language: list = field(default_factory=list)
|
|
16
|
+
vague_attributions: list = field(default_factory=list)
|
|
17
|
+
challenges_formula: list = field(default_factory=list)
|
|
18
|
+
ai_vocabulary: list = field(default_factory=list)
|
|
19
|
+
copula_avoidance: list = field(default_factory=list)
|
|
20
|
+
filler_phrases: list = field(default_factory=list)
|
|
21
|
+
chatbot_artifacts: list = field(default_factory=list)
|
|
22
|
+
hedging_phrases: list = field(default_factory=list)
|
|
23
|
+
negative_parallelisms: list = field(default_factory=list)
|
|
24
|
+
rule_of_three: list = field(default_factory=list)
|
|
25
|
+
markdown_artifacts: list = field(default_factory=list)
|
|
26
|
+
citation_bugs: list = field(default_factory=list)
|
|
27
|
+
knowledge_cutoff: list = field(default_factory=list)
|
|
28
|
+
curly_quotes: int = 0
|
|
29
|
+
em_dashes: int = 0
|
|
30
|
+
total_issues: int = 0
|
|
31
|
+
ai_probability: str = "low"
|
|
32
|
+
word_count: int = 0
|
|
33
|
+
|
|
34
|
+
def find_matches(text: str, patterns: list) -> list:
|
|
35
|
+
matches, lower = [], text.lower()
|
|
36
|
+
for p in patterns:
|
|
37
|
+
count = lower.count(p.lower())
|
|
38
|
+
if count > 0:
|
|
39
|
+
matches.append((p, count))
|
|
40
|
+
return sorted(matches, key=lambda x: -x[1])
|
|
41
|
+
|
|
42
|
+
def detect(text: str) -> DetectionResult:
|
|
43
|
+
r = DetectionResult()
|
|
44
|
+
r.word_count = len(text.split())
|
|
45
|
+
r.significance_inflation = find_matches(text, PATTERNS["significance_inflation"])
|
|
46
|
+
r.notability_emphasis = find_matches(text, PATTERNS["notability_emphasis"])
|
|
47
|
+
r.superficial_analysis = find_matches(text, PATTERNS["superficial_analysis"])
|
|
48
|
+
r.promotional_language = find_matches(text, PATTERNS["promotional_language"])
|
|
49
|
+
r.vague_attributions = find_matches(text, PATTERNS["vague_attributions"])
|
|
50
|
+
r.challenges_formula = find_matches(text, PATTERNS["challenges_formula"])
|
|
51
|
+
r.ai_vocabulary = find_matches(text, PATTERNS["ai_vocabulary"])
|
|
52
|
+
r.copula_avoidance = find_matches(text, list(PATTERNS["copula_avoidance"].keys()))
|
|
53
|
+
r.filler_phrases = find_matches(text, list(PATTERNS["filler_replacements"].keys()))
|
|
54
|
+
r.chatbot_artifacts = find_matches(text, PATTERNS["chatbot_artifacts"])
|
|
55
|
+
r.hedging_phrases = find_matches(text, PATTERNS["hedging_phrases"])
|
|
56
|
+
r.negative_parallelisms = find_matches(text, PATTERNS["negative_parallelisms"])
|
|
57
|
+
r.rule_of_three = find_matches(text, PATTERNS["rule_of_three_patterns"])
|
|
58
|
+
r.markdown_artifacts = find_matches(text, PATTERNS["markdown_artifacts"])
|
|
59
|
+
r.citation_bugs = find_matches(text, PATTERNS["citation_bugs"])
|
|
60
|
+
r.knowledge_cutoff = find_matches(text, PATTERNS["knowledge_cutoff"])
|
|
61
|
+
r.curly_quotes = len(re.findall(r'[""'']', text))
|
|
62
|
+
r.em_dashes = text.count("—") + text.count(" -- ")
|
|
63
|
+
|
|
64
|
+
r.total_issues = (
|
|
65
|
+
sum(c for _, c in r.significance_inflation) + sum(c for _, c in r.notability_emphasis) +
|
|
66
|
+
sum(c for _, c in r.superficial_analysis) + sum(c for _, c in r.promotional_language) +
|
|
67
|
+
sum(c for _, c in r.vague_attributions) + sum(c for _, c in r.challenges_formula) +
|
|
68
|
+
sum(c for _, c in r.ai_vocabulary) + sum(c for _, c in r.copula_avoidance) +
|
|
69
|
+
sum(c for _, c in r.filler_phrases) + sum(c for _, c in r.chatbot_artifacts) * 3 +
|
|
70
|
+
sum(c for _, c in r.hedging_phrases) + sum(c for _, c in r.negative_parallelisms) +
|
|
71
|
+
sum(c for _, c in r.markdown_artifacts) * 2 + sum(c for _, c in r.citation_bugs) * 5 +
|
|
72
|
+
sum(c for _, c in r.knowledge_cutoff) * 3 + r.curly_quotes + (r.em_dashes if r.em_dashes > 3 else 0)
|
|
73
|
+
)
|
|
74
|
+
|
|
75
|
+
density = r.total_issues / max(r.word_count, 1) * 100
|
|
76
|
+
if r.citation_bugs or r.knowledge_cutoff or r.chatbot_artifacts:
|
|
77
|
+
r.ai_probability = "very high"
|
|
78
|
+
elif density > 5 or r.total_issues > 30:
|
|
79
|
+
r.ai_probability = "high"
|
|
80
|
+
elif density > 2 or r.total_issues > 15:
|
|
81
|
+
r.ai_probability = "medium"
|
|
82
|
+
return r
|
|
83
|
+
|
|
84
|
+
def print_section(title: str, items: list, replacements: dict = None):
|
|
85
|
+
if not items:
|
|
86
|
+
return
|
|
87
|
+
print(f"{title}:")
|
|
88
|
+
for phrase, count in items:
|
|
89
|
+
if replacements and phrase in replacements:
|
|
90
|
+
repl = replacements[phrase]
|
|
91
|
+
arrow = f' → "{repl}"' if repl else " → (remove)"
|
|
92
|
+
print(f" • \"{phrase}\"{arrow}: {count}x")
|
|
93
|
+
else:
|
|
94
|
+
print(f" • {phrase}: {count}x")
|
|
95
|
+
print()
|
|
96
|
+
|
|
97
|
+
def print_report(r: DetectionResult):
|
|
98
|
+
icons = {"very high": "🔴", "high": "🟠", "medium": "🟡", "low": "🟢"}
|
|
99
|
+
print(f"\n{'='*60}")
|
|
100
|
+
print(f"AI DETECTION SCAN - {r.total_issues} issues ({r.word_count} words)")
|
|
101
|
+
print(f"AI Probability: {icons.get(r.ai_probability, '')} {r.ai_probability.upper()}")
|
|
102
|
+
print(f"{'='*60}\n")
|
|
103
|
+
|
|
104
|
+
if r.citation_bugs:
|
|
105
|
+
print("⚠️ CRITICAL: CHATGPT CITATION BUGS")
|
|
106
|
+
print_section("Citation Artifacts", r.citation_bugs)
|
|
107
|
+
if r.knowledge_cutoff:
|
|
108
|
+
print("⚠️ CRITICAL: KNOWLEDGE CUTOFF PHRASES")
|
|
109
|
+
print_section("Cutoff Phrases", r.knowledge_cutoff)
|
|
110
|
+
if r.chatbot_artifacts:
|
|
111
|
+
print("⚠️ HIGH: CHATBOT ARTIFACTS")
|
|
112
|
+
print_section("Artifacts", r.chatbot_artifacts)
|
|
113
|
+
if r.markdown_artifacts:
|
|
114
|
+
print("⚠️ MARKDOWN DETECTED")
|
|
115
|
+
print_section("Markdown", r.markdown_artifacts)
|
|
116
|
+
|
|
117
|
+
print_section("SIGNIFICANCE INFLATION", r.significance_inflation)
|
|
118
|
+
print_section("PROMOTIONAL LANGUAGE", r.promotional_language)
|
|
119
|
+
print_section("AI VOCABULARY", r.ai_vocabulary)
|
|
120
|
+
print_section("SUPERFICIAL -ING", r.superficial_analysis)
|
|
121
|
+
print_section("COPULA AVOIDANCE", r.copula_avoidance, PATTERNS["copula_avoidance"])
|
|
122
|
+
print_section("FILLER PHRASES", r.filler_phrases, PATTERNS["filler_replacements"])
|
|
123
|
+
print_section("VAGUE ATTRIBUTIONS", r.vague_attributions)
|
|
124
|
+
print_section("CHALLENGES FORMULA", r.challenges_formula)
|
|
125
|
+
print_section("HEDGING", r.hedging_phrases)
|
|
126
|
+
print_section("NEGATIVE PARALLELISMS", r.negative_parallelisms)
|
|
127
|
+
print_section("NOTABILITY EMPHASIS", r.notability_emphasis)
|
|
128
|
+
|
|
129
|
+
if r.curly_quotes:
|
|
130
|
+
print(f"CURLY QUOTES: {r.curly_quotes} (ChatGPT signature)\n")
|
|
131
|
+
if r.em_dashes > 3:
|
|
132
|
+
print(f"EM DASHES: {r.em_dashes} (excessive)\n")
|
|
133
|
+
if r.total_issues == 0:
|
|
134
|
+
print("✓ No AI patterns detected.\n")
|
|
135
|
+
|
|
136
|
+
def main():
|
|
137
|
+
parser = argparse.ArgumentParser(description="Detect AI patterns in text")
|
|
138
|
+
parser.add_argument("input", nargs="?", help="Input file (or stdin)")
|
|
139
|
+
parser.add_argument("--json", "-j", action="store_true", help="JSON output")
|
|
140
|
+
parser.add_argument("--score-only", "-s", action="store_true", help="Score and probability only")
|
|
141
|
+
args = parser.parse_args()
|
|
142
|
+
|
|
143
|
+
text = Path(args.input).read_text() if args.input else sys.stdin.read()
|
|
144
|
+
result = detect(text)
|
|
145
|
+
|
|
146
|
+
if args.json:
|
|
147
|
+
print(json.dumps({
|
|
148
|
+
"total_issues": result.total_issues, "word_count": result.word_count,
|
|
149
|
+
"ai_probability": result.ai_probability, "significance_inflation": result.significance_inflation,
|
|
150
|
+
"promotional_language": result.promotional_language, "ai_vocabulary": result.ai_vocabulary,
|
|
151
|
+
"chatbot_artifacts": result.chatbot_artifacts, "citation_bugs": result.citation_bugs,
|
|
152
|
+
"filler_phrases": result.filler_phrases, "curly_quotes": result.curly_quotes, "em_dashes": result.em_dashes,
|
|
153
|
+
}, indent=2))
|
|
154
|
+
elif args.score_only:
|
|
155
|
+
print(f"Issues: {result.total_issues} | Words: {result.word_count} | AI: {result.ai_probability}")
|
|
156
|
+
else:
|
|
157
|
+
print_report(result)
|
|
158
|
+
|
|
159
|
+
if __name__ == "__main__":
|
|
160
|
+
main()
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
{
|
|
2
|
+
"significance_inflation": [
|
|
3
|
+
"stands as", "serves as", "is a testament", "is a reminder",
|
|
4
|
+
"vital role", "significant role", "crucial role", "pivotal role",
|
|
5
|
+
"key role", "pivotal moment", "key moment", "key turning point",
|
|
6
|
+
"underscores its importance", "highlights its importance",
|
|
7
|
+
"underscores its significance", "highlights its significance",
|
|
8
|
+
"reflects broader", "symbolizing its ongoing", "symbolizing its enduring",
|
|
9
|
+
"symbolizing its lasting", "contributing to the", "setting the stage for",
|
|
10
|
+
"marking the", "shaping the", "represents a shift", "marks a shift",
|
|
11
|
+
"evolving landscape", "focal point", "indelible mark", "deeply rooted",
|
|
12
|
+
"enduring legacy", "rich tapestry", "broader movement"
|
|
13
|
+
],
|
|
14
|
+
"notability_emphasis": [
|
|
15
|
+
"independent coverage", "local media outlets", "regional media outlets",
|
|
16
|
+
"national media outlets", "music outlets", "business outlets", "tech outlets",
|
|
17
|
+
"profiled in", "written by a leading expert", "active social media presence",
|
|
18
|
+
"has been featured in", "has been cited in", "maintains a strong digital presence"
|
|
19
|
+
],
|
|
20
|
+
"superficial_analysis": [
|
|
21
|
+
"highlighting", "underscoring", "emphasizing", "ensuring",
|
|
22
|
+
"reflecting", "symbolizing", "contributing to", "cultivating",
|
|
23
|
+
"fostering", "encompassing", "showcasing", "valuable insights",
|
|
24
|
+
"align with", "aligns with", "resonate with", "resonates with"
|
|
25
|
+
],
|
|
26
|
+
"promotional_language": [
|
|
27
|
+
"boasts a", "boasts an", "vibrant", "rich cultural heritage",
|
|
28
|
+
"profound", "enhancing its", "exemplifies", "commitment to",
|
|
29
|
+
"natural beauty", "nestled", "in the heart of", "groundbreaking",
|
|
30
|
+
"renowned", "breathtaking", "must-visit", "stunning", "bustling",
|
|
31
|
+
"game-changing", "cutting-edge", "state-of-the-art", "world-class",
|
|
32
|
+
"best-in-class", "industry-leading", "innovative", "revolutionary"
|
|
33
|
+
],
|
|
34
|
+
"vague_attributions": [
|
|
35
|
+
"industry reports", "observers have cited", "experts argue",
|
|
36
|
+
"experts believe", "some critics argue", "several sources",
|
|
37
|
+
"several publications", "according to experts", "widely regarded",
|
|
38
|
+
"it is widely believed", "many believe", "some would say"
|
|
39
|
+
],
|
|
40
|
+
"challenges_formula": [
|
|
41
|
+
"despite its", "faces several challenges", "despite these challenges",
|
|
42
|
+
"challenges and legacy", "future outlook", "future prospects",
|
|
43
|
+
"looking ahead", "moving forward", "going forward"
|
|
44
|
+
],
|
|
45
|
+
"ai_vocabulary": [
|
|
46
|
+
"additionally", "align with", "crucial", "delve", "emphasizing",
|
|
47
|
+
"enduring", "enhance", "fostering", "garner", "highlight",
|
|
48
|
+
"interplay", "intricate", "intricacies", "key", "landscape",
|
|
49
|
+
"pivotal", "showcase", "showcasing", "tapestry", "testament",
|
|
50
|
+
"underscore", "underscores", "valuable", "vibrant", "nuanced",
|
|
51
|
+
"multifaceted", "paradigm", "synergy", "realm", "underpins",
|
|
52
|
+
"unraveling", "unveiling", "leveraging", "furthermore", "moreover",
|
|
53
|
+
"consequently", "subsequently", "henceforth", "thereby", "wherein",
|
|
54
|
+
"thereof", "whatsoever", "nevertheless", "notwithstanding"
|
|
55
|
+
],
|
|
56
|
+
"copula_avoidance": {
|
|
57
|
+
"serves as a": "is a",
|
|
58
|
+
"serves as an": "is an",
|
|
59
|
+
"serves as the": "is the",
|
|
60
|
+
"stands as a": "is a",
|
|
61
|
+
"stands as an": "is an",
|
|
62
|
+
"stands as the": "is the",
|
|
63
|
+
"marks a": "is a",
|
|
64
|
+
"marks an": "is an",
|
|
65
|
+
"marks the": "is the",
|
|
66
|
+
"represents a": "is a",
|
|
67
|
+
"represents an": "is an",
|
|
68
|
+
"represents the": "is the",
|
|
69
|
+
"boasts a": "has a",
|
|
70
|
+
"boasts an": "has an",
|
|
71
|
+
"boasts the": "has the",
|
|
72
|
+
"features a": "has a",
|
|
73
|
+
"features an": "has an",
|
|
74
|
+
"features the": "has the",
|
|
75
|
+
"offers a": "has a",
|
|
76
|
+
"offers an": "has an"
|
|
77
|
+
},
|
|
78
|
+
"filler_replacements": {
|
|
79
|
+
"in order to": "to",
|
|
80
|
+
"due to the fact that": "because",
|
|
81
|
+
"at this point in time": "now",
|
|
82
|
+
"at the present time": "now",
|
|
83
|
+
"has the ability to": "can",
|
|
84
|
+
"it is important to note that": "",
|
|
85
|
+
"it should be noted that": "",
|
|
86
|
+
"it is worth noting that": "",
|
|
87
|
+
"it is crucial to note that": "",
|
|
88
|
+
"it is critical to remember that": "",
|
|
89
|
+
"it goes without saying that": "",
|
|
90
|
+
"needless to say": "",
|
|
91
|
+
"Additionally,": "",
|
|
92
|
+
"Furthermore,": "",
|
|
93
|
+
"Moreover,": "",
|
|
94
|
+
"In conclusion,": "",
|
|
95
|
+
"To summarize,": "",
|
|
96
|
+
"In summary,": "",
|
|
97
|
+
"Overall,": "",
|
|
98
|
+
"utilize": "use",
|
|
99
|
+
"utilizes": "uses",
|
|
100
|
+
"utilizing": "using",
|
|
101
|
+
"utilization": "use",
|
|
102
|
+
"leverage": "use",
|
|
103
|
+
"leverages": "uses",
|
|
104
|
+
"leveraging": "using",
|
|
105
|
+
"facilitate": "help",
|
|
106
|
+
"facilitates": "helps",
|
|
107
|
+
"facilitating": "helping",
|
|
108
|
+
"implement": "add",
|
|
109
|
+
"implements": "adds",
|
|
110
|
+
"prioritize": "focus on",
|
|
111
|
+
"prioritizes": "focuses on",
|
|
112
|
+
"optimize": "improve",
|
|
113
|
+
"optimizes": "improves",
|
|
114
|
+
"streamline": "simplify",
|
|
115
|
+
"streamlines": "simplifies"
|
|
116
|
+
},
|
|
117
|
+
"chatbot_artifacts": [
|
|
118
|
+
"I hope this helps",
|
|
119
|
+
"Let me know if",
|
|
120
|
+
"Would you like me to",
|
|
121
|
+
"Great question",
|
|
122
|
+
"Excellent question",
|
|
123
|
+
"You're absolutely right",
|
|
124
|
+
"That's a great point",
|
|
125
|
+
"That's an excellent point",
|
|
126
|
+
"Certainly!",
|
|
127
|
+
"Of course!",
|
|
128
|
+
"Absolutely!",
|
|
129
|
+
"Happy to help",
|
|
130
|
+
"I'd be happy to",
|
|
131
|
+
"Feel free to",
|
|
132
|
+
"Don't hesitate to",
|
|
133
|
+
"Here is a",
|
|
134
|
+
"Here's a",
|
|
135
|
+
"I can help you with",
|
|
136
|
+
"As an AI",
|
|
137
|
+
"As a language model",
|
|
138
|
+
"As an AI language model"
|
|
139
|
+
],
|
|
140
|
+
"hedging_phrases": [
|
|
141
|
+
"it could potentially",
|
|
142
|
+
"it might possibly",
|
|
143
|
+
"arguably",
|
|
144
|
+
"it could be argued that",
|
|
145
|
+
"some would say",
|
|
146
|
+
"in some ways",
|
|
147
|
+
"to some extent",
|
|
148
|
+
"in certain respects",
|
|
149
|
+
"may vary",
|
|
150
|
+
"results may vary"
|
|
151
|
+
],
|
|
152
|
+
"negative_parallelisms": [
|
|
153
|
+
"not only", "but also",
|
|
154
|
+
"it's not just about", "it's about",
|
|
155
|
+
"it is not merely", "it is",
|
|
156
|
+
"not just", "but",
|
|
157
|
+
"no longer", "instead"
|
|
158
|
+
],
|
|
159
|
+
"rule_of_three_patterns": [
|
|
160
|
+
"innovation, inspiration, and",
|
|
161
|
+
"engage, educate, and",
|
|
162
|
+
"plan, execute, and",
|
|
163
|
+
"design, develop, and",
|
|
164
|
+
"research, develop, and",
|
|
165
|
+
"create, collaborate, and",
|
|
166
|
+
"learn, grow, and"
|
|
167
|
+
],
|
|
168
|
+
"markdown_artifacts": [
|
|
169
|
+
"**", "##", "###", "```",
|
|
170
|
+
"* **", "- **", "1. **"
|
|
171
|
+
],
|
|
172
|
+
"citation_bugs": [
|
|
173
|
+
"oaicite", "oai_citation", "contentReference",
|
|
174
|
+
"turn0search", "turn0image", "utm_source=chatgpt",
|
|
175
|
+
"utm_source=openai", "attached_file", "grok_card"
|
|
176
|
+
],
|
|
177
|
+
"knowledge_cutoff": [
|
|
178
|
+
"as of my last", "as of my knowledge",
|
|
179
|
+
"up to my last training", "based on available information",
|
|
180
|
+
"while specific details are limited",
|
|
181
|
+
"not widely available", "not widely documented",
|
|
182
|
+
"in the provided sources", "in available sources"
|
|
183
|
+
],
|
|
184
|
+
"curly_quotes": {
|
|
185
|
+
"\u201c": "\"",
|
|
186
|
+
"\u201d": "\"",
|
|
187
|
+
"\u2018": "'",
|
|
188
|
+
"\u2019": "'"
|
|
189
|
+
},
|
|
190
|
+
"em_dash_patterns": ["—", " — ", "-- "]
|
|
191
|
+
}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
#!/usr/bin/env python3
|
|
2
|
+
"""Transform AI text to bypass detection."""
|
|
3
|
+
import argparse, json, re, sys
|
|
4
|
+
from pathlib import Path
|
|
5
|
+
|
|
6
|
+
SCRIPT_DIR = Path(__file__).parent
|
|
7
|
+
PATTERNS = json.loads((SCRIPT_DIR / "patterns.json").read_text())
|
|
8
|
+
|
|
9
|
+
def replace_bounded(text: str, old: str, new: str) -> tuple[str, int]:
|
|
10
|
+
pattern = re.compile(re.escape(old), re.IGNORECASE) if " " in old or old.endswith(",") else re.compile(r"\b" + re.escape(old) + r"\b", re.IGNORECASE)
|
|
11
|
+
matches = pattern.findall(text)
|
|
12
|
+
return pattern.sub(new, text) if matches else text, len(matches)
|
|
13
|
+
|
|
14
|
+
def apply_replacements(text: str, replacements: dict) -> tuple[str, list]:
|
|
15
|
+
changes = []
|
|
16
|
+
for old, new in replacements.items():
|
|
17
|
+
text, count = replace_bounded(text, old, new)
|
|
18
|
+
if count:
|
|
19
|
+
changes.append(f'"{old}" → "{new}"' if new else f'"{old}" removed')
|
|
20
|
+
return text, changes
|
|
21
|
+
|
|
22
|
+
def fix_quotes(text: str) -> tuple[str, bool]:
|
|
23
|
+
original = text
|
|
24
|
+
for old, new in PATTERNS["curly_quotes"].items():
|
|
25
|
+
text = text.replace(old, new)
|
|
26
|
+
return text, text != original
|
|
27
|
+
|
|
28
|
+
def remove_chatbot_sentences(text: str) -> tuple[str, list]:
|
|
29
|
+
changes = []
|
|
30
|
+
for artifact in PATTERNS["chatbot_artifacts"]:
|
|
31
|
+
pattern = re.compile(r"[^.!?\n]*" + re.escape(artifact) + r"[^.!?\n]*[.!?]?\s*", re.IGNORECASE)
|
|
32
|
+
if pattern.search(text):
|
|
33
|
+
changes.append(f'Removed "{artifact}" sentence')
|
|
34
|
+
text = pattern.sub("", text)
|
|
35
|
+
return text, changes
|
|
36
|
+
|
|
37
|
+
def strip_markdown(text: str) -> tuple[str, list]:
|
|
38
|
+
changes = []
|
|
39
|
+
if "**" in text:
|
|
40
|
+
text = re.sub(r'\*\*([^*]+)\*\*', r'\1', text)
|
|
41
|
+
changes.append("Stripped bold")
|
|
42
|
+
if re.search(r'^#{1,6}\s', text, re.MULTILINE):
|
|
43
|
+
text = re.sub(r'^#{1,6}\s+', '', text, flags=re.MULTILINE)
|
|
44
|
+
changes.append("Stripped headers")
|
|
45
|
+
if "```" in text:
|
|
46
|
+
text = re.sub(r'```\w*\n?', '', text)
|
|
47
|
+
changes.append("Stripped code blocks")
|
|
48
|
+
return text, changes
|
|
49
|
+
|
|
50
|
+
def reduce_em_dashes(text: str) -> tuple[str, int]:
|
|
51
|
+
count = text.count("—") + text.count(" -- ")
|
|
52
|
+
text = re.sub(r"\s*—\s*", ", ", text)
|
|
53
|
+
text = re.sub(r"\s+--\s+", ", ", text)
|
|
54
|
+
return text, count
|
|
55
|
+
|
|
56
|
+
def remove_citations(text: str) -> tuple[str, list]:
|
|
57
|
+
changes = []
|
|
58
|
+
patterns = [
|
|
59
|
+
(r'\[oai_citation:\d+[^\]]*\]\([^)]+\)', "oai_citation"),
|
|
60
|
+
(r':contentReference\[oaicite:\d+\]\{[^}]+\}', "contentReference"),
|
|
61
|
+
(r'turn0search\d+', "turn0search"), (r'turn0image\d+', "turn0image"),
|
|
62
|
+
(r'\?utm_source=(chatgpt\.com|openai)', "ChatGPT UTM"),
|
|
63
|
+
]
|
|
64
|
+
for pattern, name in patterns:
|
|
65
|
+
if re.search(pattern, text):
|
|
66
|
+
text = re.sub(pattern, '', text)
|
|
67
|
+
changes.append(f"Removed {name}")
|
|
68
|
+
return text, changes
|
|
69
|
+
|
|
70
|
+
def simplify_ing(text: str) -> tuple[str, list]:
|
|
71
|
+
changes = []
|
|
72
|
+
for word in ["highlighting", "underscoring", "emphasizing", "showcasing", "fostering"]:
|
|
73
|
+
pattern = re.compile(rf',?\s*{word}\s+[^,.]+[,.]', re.IGNORECASE)
|
|
74
|
+
if pattern.search(text):
|
|
75
|
+
text = pattern.sub('. ', text)
|
|
76
|
+
changes.append(f"Simplified {word} clause")
|
|
77
|
+
return text, changes
|
|
78
|
+
|
|
79
|
+
def clean(text: str) -> str:
|
|
80
|
+
text = re.sub(r" +", " ", text)
|
|
81
|
+
text = re.sub(r"\n{3,}", "\n\n", text)
|
|
82
|
+
text = re.sub(r",\s*,", ",", text)
|
|
83
|
+
text = re.sub(r"(^|[.!?]\s+)([a-z])", lambda m: m.group(1) + m.group(2).upper(), text)
|
|
84
|
+
return text.strip()
|
|
85
|
+
|
|
86
|
+
def transform(text: str, aggressive: bool = False) -> tuple[str, list]:
|
|
87
|
+
all_changes = []
|
|
88
|
+
text, changes = remove_citations(text); all_changes.extend(changes)
|
|
89
|
+
text, changes = strip_markdown(text); all_changes.extend(changes)
|
|
90
|
+
text, changes = remove_chatbot_sentences(text); all_changes.extend(changes)
|
|
91
|
+
text, changes = apply_replacements(text, PATTERNS["copula_avoidance"]); all_changes.extend(changes)
|
|
92
|
+
text, changes = apply_replacements(text, PATTERNS["filler_replacements"]); all_changes.extend(changes)
|
|
93
|
+
text, fixed = fix_quotes(text)
|
|
94
|
+
if fixed:
|
|
95
|
+
all_changes.append("Fixed curly quotes")
|
|
96
|
+
if aggressive:
|
|
97
|
+
text, changes = simplify_ing(text); all_changes.extend(changes)
|
|
98
|
+
text, count = reduce_em_dashes(text)
|
|
99
|
+
if count > 2:
|
|
100
|
+
all_changes.append(f"Replaced {count} em dashes")
|
|
101
|
+
return clean(text), all_changes
|
|
102
|
+
|
|
103
|
+
def main():
|
|
104
|
+
parser = argparse.ArgumentParser(description="Transform AI text to human-like")
|
|
105
|
+
parser.add_argument("input", nargs="?", help="Input file (or stdin)")
|
|
106
|
+
parser.add_argument("-o", "--output", help="Output file")
|
|
107
|
+
parser.add_argument("-a", "--aggressive", action="store_true", help="Aggressive mode")
|
|
108
|
+
parser.add_argument("-q", "--quiet", action="store_true", help="Suppress change log")
|
|
109
|
+
args = parser.parse_args()
|
|
110
|
+
|
|
111
|
+
text = Path(args.input).read_text() if args.input else sys.stdin.read()
|
|
112
|
+
result, changes = transform(text, aggressive=args.aggressive)
|
|
113
|
+
|
|
114
|
+
if not args.quiet and changes:
|
|
115
|
+
print(f"CHANGES ({len(changes)}):", file=sys.stderr)
|
|
116
|
+
for c in changes:
|
|
117
|
+
print(f" • {c}", file=sys.stderr)
|
|
118
|
+
|
|
119
|
+
if args.output:
|
|
120
|
+
Path(args.output).write_text(result)
|
|
121
|
+
if not args.quiet:
|
|
122
|
+
print(f"→ {args.output}", file=sys.stderr)
|
|
123
|
+
else:
|
|
124
|
+
print(result)
|
|
125
|
+
|
|
126
|
+
if __name__ == "__main__":
|
|
127
|
+
main()
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
# Humanizer
|
|
2
|
+
|
|
3
|
+
A Clawdbot skill that removes signs of AI-generated writing from text, making it sound more natural and human.
|
|
4
|
+
|
|
5
|
+
## Installation
|
|
6
|
+
|
|
7
|
+
Install via ClawdHub:
|
|
8
|
+
|
|
9
|
+
```bash
|
|
10
|
+
clawdhub install humanizer
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Usage
|
|
14
|
+
|
|
15
|
+
Ask your agent to humanize text:
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
Please humanize this text: [your text]
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
Or invoke directly when editing documents.
|
|
22
|
+
|
|
23
|
+
## Overview
|
|
24
|
+
|
|
25
|
+
Based on [Wikipedia's "Signs of AI writing"](https://en.wikipedia.org/wiki/Wikipedia:Signs_of_AI_writing) guide, maintained by WikiProject AI Cleanup. This comprehensive guide comes from observations of thousands of instances of AI-generated text.
|
|
26
|
+
|
|
27
|
+
### Key Insight
|
|
28
|
+
|
|
29
|
+
> "LLMs use statistical algorithms to guess what should come next. The result tends toward the most statistically likely result that applies to the widest variety of cases."
|
|
30
|
+
|
|
31
|
+
## 24 Patterns Detected
|
|
32
|
+
|
|
33
|
+
### Content Patterns
|
|
34
|
+
1. **Significance inflation** - "marking a pivotal moment..." → specific facts
|
|
35
|
+
2. **Notability name-dropping** - listing sources without context
|
|
36
|
+
3. **Superficial -ing analyses** - "symbolizing... reflecting..."
|
|
37
|
+
4. **Promotional language** - "nestled within the breathtaking..."
|
|
38
|
+
5. **Vague attributions** - "Experts believe..."
|
|
39
|
+
6. **Formulaic challenges** - "Despite challenges... continues to thrive"
|
|
40
|
+
|
|
41
|
+
### Language Patterns
|
|
42
|
+
7. **AI vocabulary** - "Additionally... testament... landscape..."
|
|
43
|
+
8. **Copula avoidance** - "serves as" instead of "is"
|
|
44
|
+
9. **Negative parallelisms** - "It's not just X, it's Y"
|
|
45
|
+
10. **Rule of three** - forcing ideas into groups of three
|
|
46
|
+
11. **Synonym cycling** - excessive synonym substitution
|
|
47
|
+
12. **False ranges** - "from X to Y" on non-meaningful scales
|
|
48
|
+
|
|
49
|
+
### Style Patterns
|
|
50
|
+
13. **Em dash overuse**
|
|
51
|
+
14. **Boldface overuse**
|
|
52
|
+
15. **Inline-header lists**
|
|
53
|
+
16. **Title Case Headings**
|
|
54
|
+
17. **Emoji decoration**
|
|
55
|
+
18. **Curly quotation marks**
|
|
56
|
+
|
|
57
|
+
### Communication Patterns
|
|
58
|
+
19. **Chatbot artifacts** - "I hope this helps!"
|
|
59
|
+
20. **Cutoff disclaimers** - "While details are limited..."
|
|
60
|
+
21. **Sycophantic tone** - "Great question!"
|
|
61
|
+
|
|
62
|
+
### Filler and Hedging
|
|
63
|
+
22. **Filler phrases** - "In order to", "Due to the fact that"
|
|
64
|
+
23. **Excessive hedging** - "could potentially possibly"
|
|
65
|
+
24. **Generic conclusions** - "The future looks bright"
|
|
66
|
+
|
|
67
|
+
## Full Example
|
|
68
|
+
|
|
69
|
+
**Before (AI-sounding):**
|
|
70
|
+
> The new software update serves as a testament to the company's commitment to innovation. Moreover, it provides a seamless, intuitive, and powerful user experience—ensuring that users can accomplish their goals efficiently.
|
|
71
|
+
|
|
72
|
+
**After (Humanized):**
|
|
73
|
+
> The software update adds batch processing, keyboard shortcuts, and offline mode. Early feedback from beta testers has been positive, with most reporting faster task completion.
|
|
74
|
+
|
|
75
|
+
## References
|
|
76
|
+
|
|
77
|
+
- [Wikipedia: Signs of AI writing](https://en.wikipedia.org/wiki/Wikipedia:Signs_of_AI_writing)
|
|
78
|
+
- [WikiProject AI Cleanup](https://en.wikipedia.org/wiki/Wikipedia:WikiProject_AI_Cleanup)
|
|
79
|
+
|
|
80
|
+
## License
|
|
81
|
+
|
|
82
|
+
MIT
|