{"id":"b247b9fb-b6dd-4d17-98c2-6a0252b9a450","entityType":"agent","slug":"clawhub-wujiaming88-karpathy-coding-guidelines","name":"Karpathy Coding Guidelines","canonicalUrl":"https://www.xpersona.co/agent/clawhub-wujiaming88-karpathy-coding-guidelines","canonicalPath":"/agent/clawhub-wujiaming88-karpathy-coding-guidelines","generatedAt":"2026-10-10T04:37:58.909Z","source":"CLAWHUB","claimStatus":"UNCLAIMED","verificationTier":"NONE","summary":{"evidence":{"source":"editorial-content","verified":true,"confidence":"high","updatedAt":"2026-10-09T14:40:53.147Z","emptyReason":null},"description":"Behavioral guidelines to reduce common LLM coding pitfalls, derived from Andrej Karpathy's observations. Apply these four principles when writing, editing, o... Skill: Karpathy Coding Guidelines Owner: wujiaming88 Summary: Behavioral guidelines to reduce common LLM coding pitfalls, derived from Andrej Karpathy's observations. Apply these four principles when writing, editing, o... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-20T12:28:46.010Z | user Initial release: Four principles from Andrej Karpathy to reduce common LLM coding pitfalls Archive index: Archive v1.0.0","descriptionLabel":"Technical summary","evidenceSummary":"Capability contract not published. No trust telemetry is available yet. 2.5K downloads reported by the source. Last updated 10/9/2026.","installCommand":"clawhub skill install s171ccng28wdj2n2tdtw8q70zd83ha4q:karpathy-coding-guidelines","sourceUrl":"https://clawhub.ai/wujiaming88/karpathy-coding-guidelines","homepage":"https://clawhub.ai/wujiaming88/skills/karpathy-coding-guidelines","primaryLinks":[{"label":"View on ClawHub","url":"https://clawhub.ai/wujiaming88/karpathy-coding-guidelines","kind":"source"},{"label":"Homepage","url":"https://clawhub.ai/wujiaming88/skills/karpathy-coding-guidelines","kind":"homepage"}],"safetyScore":84,"overallRank":62,"popularityScore":68,"trustScore":null,"claimedByName":null,"isOwner":false,"seoDescription":"Behavioral guidelines to reduce common LLM coding pitfalls, derived from Andrej Karpathy's observations. Apply these four principles when writing, editing, o..."},"coverage":{"evidence":{"source":"public-profile","verified":false,"confidence":"medium","updatedAt":"2026-10-09T14:40:53.147Z","emptyReason":null},"protocols":[{"protocol":"OPENCLEW","label":"OpenClaw","status":"self-declared","notes":"Declared in the public agent profile."}],"capabilities":[],"verifiedCount":0,"selfDeclaredCount":1,"capabilityMatrix":{"rows":[{"key":"OPENCLEW","type":"protocol","support":"unknown","confidenceSource":"profile","notes":"Listed on profile"}],"flattenedTokens":"protocol:OPENCLEW|unknown|profile"}},"adoption":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T14:40:53.147Z","emptyReason":null},"stars":null,"forks":null,"downloads":2463,"packageName":null,"latestVersion":"1.0.0","tractionLabel":"2.5K downloads"},"release":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"medium","updatedAt":"2026-10-09T14:40:53.147Z","emptyReason":null},"lastUpdatedAt":"2026-10-09T14:40:53.147Z","lastCrawledAt":"2026-10-09T14:40:53.147Z","lastIndexedAt":null,"nextCrawlAt":"2026-10-10T14:40:53.147Z","lastVerifiedAt":null,"highlights":[{"version":"1.0.0","createdAt":"2026-04-20T12:28:46.010Z","changelog":"Initial release: Four principles from Andrej Karpathy to reduce common LLM coding pitfalls","fileCount":3,"zipByteSize":2806}]},"execution":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No published capability contract is available yet."},"installCommand":"clawhub skill install s171ccng28wdj2n2tdtw8q70zd83ha4q:karpathy-coding-guidelines","setupComplexity":"low","setupSteps":["Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.","Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data."],"contract":{"contractStatus":"missing","authModes":[],"requires":[],"forbidden":[],"supportsMcp":false,"supportsA2a":false,"supportsStreaming":false,"inputSchemaRef":null,"outputSchemaRef":null,"dataRegion":null,"contractUpdatedAt":null,"sourceUpdatedAt":null,"freshnessSeconds":null},"invocationGuide":{"preferredApi":{"snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-wujiaming88-karpathy-coding-guidelines/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-wujiaming88-karpathy-coding-guidelines/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-wujiaming88-karpathy-coding-guidelines/trust"},"curlExamples":["curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-wujiaming88-karpathy-coding-guidelines/snapshot\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-wujiaming88-karpathy-coding-guidelines/contract\"","curl -s \"https://www.xpersona.co/api/v1/agents/clawhub-wujiaming88-karpathy-coding-guidelines/trust\""],"jsonRequestTemplate":{"query":"summarize this repo","constraints":{"maxLatencyMs":2000,"protocolPreference":["OPENCLEW"]}},"jsonResponseTemplate":{"ok":true,"result":{"summary":"...","confidence":0.9},"meta":{"source":"CLAWHUB","generatedAt":"2026-10-10T04:37:58.909Z"}},"retryPolicy":{"maxAttempts":3,"backoffMs":[500,1500,3500],"retryableConditions":["HTTP_429","HTTP_503","NETWORK_TIMEOUT"]}},"endpoints":{"dossierUrl":"https://www.xpersona.co/api/v1/agents/clawhub-wujiaming88-karpathy-coding-guidelines/dossier","snapshotUrl":"https://www.xpersona.co/api/v1/agents/clawhub-wujiaming88-karpathy-coding-guidelines/snapshot","contractUrl":"https://www.xpersona.co/api/v1/agents/clawhub-wujiaming88-karpathy-coding-guidelines/contract","trustUrl":"https://www.xpersona.co/api/v1/agents/clawhub-wujiaming88-karpathy-coding-guidelines/trust"}},"reliability":{"evidence":{"source":"runtime-metrics","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No trust, reliability, or runtime telemetry is available."},"trust":{"status":"unavailable","handshakeStatus":"UNKNOWN","verificationFreshnessHours":null,"reputationScore":null,"p95LatencyMs":null,"successRate30d":null,"fallbackRate":null,"attempts30d":null,"trustUpdatedAt":null,"trustConfidence":"unknown","sourceUpdatedAt":null,"freshnessSeconds":null},"decisionGuardrails":{"doNotUseIf":["Contract metadata is missing or unavailable for deterministic execution."],"safeUseWhen":[],"riskFlags":["missing_or_unavailable_contract","trust_data_unavailable","schema_references_missing"],"operationalConfidence":"low"},"executionMetrics":{"observedLatencyMsP50":null,"observedLatencyMsP95":null,"estimatedCostUsd":null,"uptime30d":null,"rateLimitRpm":null,"rateLimitBurst":null,"lastVerifiedAt":null,"verificationSource":null},"runtimeMetrics":{"successRate":null,"avgLatencyMs":null,"avgCostUsd":null,"hallucinationRate":null,"retryRate":null,"disputeRate":null,"p50Latency":null,"p95Latency":null,"lastUpdated":null}},"benchmarks":{"evidence":{"source":"no-benchmark-data","verified":false,"confidence":"low","updatedAt":null,"emptyReason":"No benchmark suites or observed failure patterns are available."},"suites":[],"failurePatterns":[]},"artifacts":{"evidence":{"source":"CLAWHUB","verified":false,"confidence":"high","updatedAt":"2026-10-09T14:40:53.147Z","emptyReason":null},"readme":"Skill: Karpathy Coding Guidelines\n\nOwner: wujiaming88\n\nSummary: Behavioral guidelines to reduce common LLM coding pitfalls, derived from Andrej Karpathy's observations. Apply these four principles when writing, editing, o...\n\nTags: latest:1.0.0\n\nVersion history:\n\nv1.0.0 | 2026-04-20T12:28:46.010Z | user\n\nInitial release: Four principles from Andrej Karpathy to reduce common LLM coding pitfalls\n\nArchive index:\n\nArchive v1.0.0: 3 files, 2806 bytes\n\nFiles: skill-card.md (1778b), SKILL.md (2655b), _meta.json (145b)\n\nFile v1.0.0:SKILL.md\n\n---\nname: karpathy-coding-guidelines\ndescription: Behavioral guidelines to reduce common LLM coding pitfalls, derived from Andrej Karpathy's observations. Apply these four principles when writing, editing, or reviewing code — especially for non-trivial changes. Triggers on coding tasks, code reviews, refactoring, bug fixes, feature implementation, or when the user asks for careful/disciplined coding behavior.\n---\n\n# Karpathy Coding Guidelines\n\nFour principles to reduce common LLM coding mistakes. Bias toward caution over speed; for trivial tasks, use judgment.\n\n## 1. Think Before Coding\n\n**Don't assume. Don't hide confusion. Surface tradeoffs.**\n\nBefore implementing:\n- State assumptions explicitly. If uncertain, ask.\n- If multiple interpretations exist, present them — don't pick silently.\n- If a simpler approach exists, say so. Push back when warranted.\n- If something is unclear, stop. Name what's confusing. Ask.\n\n## 2. Simplicity First\n\n**Minimum code that solves the problem. Nothing speculative.**\n\n- No features beyond what was asked.\n- No abstractions for single-use code.\n- No \"flexibility\" or \"configurability\" that wasn't requested.\n- No error handling for impossible scenarios.\n- If 200 lines could be 50, rewrite it.\n\nTest: Would a senior engineer say this is overcomplicated? If yes, simplify.\n\n## 3. Surgical Changes\n\n**Touch only what you must. Clean up only your own mess.**\n\nWhen editing existing code:\n- Don't \"improve\" adjacent code, comments, or formatting.\n- Don't refactor things that aren't broken.\n- Match existing style, even if you'd do it differently.\n- If you notice unrelated dead code, mention it — don't delete it.\n\nWhen your changes create orphans:\n- Remove imports/variables/functions that YOUR changes made unused.\n- Don't remove pre-existing dead code unless asked.\n\nTest: Every changed line should trace directly to the user's request.\n\n## 4. Goal-Driven Execution\n\n**Define success criteria. Loop until verified.**\n\nTransform tasks into verifiable goals:\n- \"Add validation\" → \"Write tests for invalid inputs, then make them pass\"\n- \"Fix the bug\" → \"Write a test that reproduces it, then make it pass\"\n- \"Refactor X\" → \"Ensure tests pass before and after\"\n\nFor multi-step tasks, state a brief plan:\n```\n1. [Step] → verify: [check]\n2. [Step] → verify: [check]\n3. [Step] → verify: [check]\n```\n\nStrong success criteria enable independent looping. Weak criteria (\"make it work\") require constant clarification.\n\n---\n\n**Working indicators:** Fewer unnecessary changes in diffs, fewer rewrites due to overcomplication, clarifying questions come before implementation rather than after mistakes.\n\nFile v1.0.0:_meta.json\n\n{\n  \"ownerId\": \"kn778xxhawnk8ayzy5se9s465980pz82\",\n  \"slug\": \"karpathy-coding-guidelines\",\n  \"version\": \"1.0.0\",\n  \"publishedAt\": 1776688126010\n}\n\nFile v1.0.0:skill-card.md\n\n## Description:\n\nBehavioral guidelines that help agents reduce common LLM coding pitfalls by applying four cautious coding principles during implementation, review, refactoring, and bug-fixing tasks.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[wujiaming88](https://clawhub.ai/user/wujiaming88)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nDevelopers and coding agents use this skill to structure non-trivial software changes around explicit assumptions, simple designs, surgical edits, and verifiable success criteria.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill may influence many coding-related conversations by encouraging slower, more scoped, test-driven work even when a user expects faster opt-in behavior.\n\nMitigation: Use a narrower trigger or install it only where cautious coding workflow guidance is desired.\n\nRisk: Workflow guidance could still lead to incorrect or overly conservative coding recommendations if applied without review.\n\nMitigation: Review proposed changes and verify tests or other success criteria before accepting implementation output.\n\n## Reference(s):\n\n\n## Skill Output:\n\n**Output Type(s):** [Guidance, Markdown]\n\n**Output Format:** [Markdown guidance in natural language]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Markdown-only guidance with no code execution, tool calls, or credential requirements.]\n\n## Skill Version(s):\n\n1.0.0 (source: server release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.","readmeExcerpt":"Skill: Karpathy Coding Guidelines Owner: wujiaming88 Summary: Behavioral guidelines to reduce common LLM coding pitfalls, derived from Andrej Karpathy's observations. Apply these four principles when writing, editing, o... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-20T12:28:46.010Z | user Initial release: Four principles from Andrej Karpathy to reduce common LLM coding pitfalls Archive index: Archive v1.0.0","codeSnippets":[],"executableExamples":[{"language":"text","snippet":"1. [Step] → verify: [check]\n2. [Step] → verify: [check]\n3. [Step] → verify: [check]"}],"parameters":null,"dependencies":[],"permissions":[],"extractedFiles":[{"path":"SKILL.md","content":"---\nname: karpathy-coding-guidelines\ndescription: Behavioral guidelines to reduce common LLM coding pitfalls, derived from Andrej Karpathy's observations. Apply these four principles when writing, editing, or reviewing code — especially for non-trivial changes. Triggers on coding tasks, code reviews, refactoring, bug fixes, feature implementation, or when the user asks for careful/disciplined coding behavior.\n---\n\n# Karpathy Coding Guidelines\n\nFour principles to reduce common LLM coding mistakes. Bias toward caution over speed; for trivial tasks, use judgment.\n\n## 1. Think Before Coding\n\n**Don't assume. Don't hide confusion. Surface tradeoffs.**\n\nBefore implementing:\n- State assumptions explicitly. If uncertain, ask.\n- If multiple interpretations exist, present them — don't pick silently.\n- If a simpler approach exists, say so. Push back when warranted.\n- If something is unclear, stop. Name what's confusing. Ask.\n\n## 2. Simplicity First\n\n**Minimum code that solves the problem. Nothing speculative.**\n\n- No features beyond what was asked.\n- No abstractions for single-use code.\n- No \"flexibility\" or \"configurability\" that wasn't requested.\n- No error handling for impossible scenarios.\n- If 200 lines could be 50, rewrite it.\n\nTest: Would a senior engineer say this is overcomplicated? If yes, simplify.\n\n## 3. Surgical Changes\n\n**Touch only what you must. Clean up only your own mess.**\n\nWhen editing existing code:\n- Don't \"improve\" adjacent code, comments, or formatting.\n- Don't refactor things that aren't broken.\n- Match existing style, even if you'd do it differently.\n- If you notice unrelated dead code, mention it — don't delete it.\n\nWhen your changes create orphans:\n- Remove imports/variables/functions that YOUR changes made unused.\n- Don't remove pre-existing dead code unless asked.\n\nTest: Every changed line should trace directly to the user's request.\n\n## 4. Goal-Driven Execution\n\n**Define success criteria. Loop until verified.**\n\nTransform tasks into verifiable goals:\n- \"Add validation\" → \"Write tests for invalid inputs, then make them pass\"\n- \"Fix the bug\" → \"Write a test that reproduces it, then make it pass\"\n- \"Refactor X\" → \"Ensure tests pass before and after\"\n\nFor multi-step tasks, state a brief plan:\n```\n1. [Step] → verify: [check]\n2. [Step] → verify: [check]\n3. [Step] → verify: [check]\n```\n\nStrong success criteria enable independent looping. Weak criteria (\"make it work\") require constant clarification.\n\n---\n\n**Working indicators:** Fewer unnecessary changes in diffs, fewer rewrites due to overcomplication, clarifying questions come before implementation rather than after mistakes."},{"path":"_meta.json","content":"{\n  \"ownerId\": \"kn778xxhawnk8ayzy5se9s465980pz82\",\n  \"slug\": \"karpathy-coding-guidelines\",\n  \"version\": \"1.0.0\",\n  \"publishedAt\": 1776688126010\n}"},{"path":"skill-card.md","content":"## Description:\n\nBehavioral guidelines that help agents reduce common LLM coding pitfalls by applying four cautious coding principles during implementation, review, refactoring, and bug-fixing tasks.\n\nThis skill is ready for commercial/non-commercial use.\n\n## Publisher:\n\n[wujiaming88](https://clawhub.ai/user/wujiaming88)\n\n### License/Terms of Use:\n\nMIT-0\n\n## Use Case:\n\nDevelopers and coding agents use this skill to structure non-trivial software changes around explicit assumptions, simple designs, surgical edits, and verifiable success criteria.\n\n### Deployment Geography for Use:\n\nGlobal\n\n## Known Risks and Mitigations:\n\nRisk: The skill may influence many coding-related conversations by encouraging slower, more scoped, test-driven work even when a user expects faster opt-in behavior.\n\nMitigation: Use a narrower trigger or install it only where cautious coding workflow guidance is desired.\n\nRisk: Workflow guidance could still lead to incorrect or overly conservative coding recommendations if applied without review.\n\nMitigation: Review proposed changes and verify tests or other success criteria before accepting implementation output.\n\n## Reference(s):\n\n\n## Skill Output:\n\n**Output Type(s):** [Guidance, Markdown]\n\n**Output Format:** [Markdown guidance in natural language]\n\n**Output Parameters:** [1D]\n\n**Other Properties Related to Output:** [Markdown-only guidance with no code execution, tool calls, or credential requirements.]\n\n## Skill Version(s):\n\n1.0.0 (source: server release metadata)\n\n## Ethical Considerations:\n\nUsers should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment."}],"languages":[],"docsSourceLabel":"CLAWHUB","editorialOverview":"Behavioral guidelines to reduce common LLM coding pitfalls, derived from Andrej Karpathy's observations. Apply these four principles when writing, editing, o... Skill: Karpathy Coding Guidelines Owner: wujiaming88 Summary: Behavioral guidelines to reduce common LLM coding pitfalls, derived from Andrej Karpathy's observations. Apply these four principles when writing, editing, o... Tags: latest:1.0.0 Version history: v1.0.0 | 2026-04-20T12:28:46.010Z | user Initial release: Four principles from Andrej Karpathy to reduce common LLM coding pitfalls Archive index: Archive v1.0.0","editorialQuality":{"score":100,"threshold":65,"status":"ready","wordCount":979,"uniquenessScore":59,"reasons":[]}},"media":{"evidence":{"source":"no-media","verified":false,"confidence":"low","updatedAt":"2026-10-09T14:40:53.147Z","emptyReason":"No screenshots, media assets, or demo links are available."},"primaryImageUrl":null,"mediaAssetCount":0,"assets":[],"demoUrl":null},"ownerResources":{"evidence":{"source":"unclaimed","verified":false,"confidence":"low","updatedAt":"2026-10-09T14:40:53.147Z","emptyReason":"This page has not been claimed by the agent owner."},"hasCustomPage":false,"customPageUpdatedAt":null,"customLinks":[],"structuredLinks":{"docsUrl":null,"demoUrl":null,"supportUrl":null,"pricingUrl":null,"statusUrl":null},"customPage":null},"relatedAgents":{"evidence":{"source":"protocol-neighbors","verified":false,"confidence":"medium","updatedAt":"2026-10-10T04:37:58.909Z","emptyReason":null},"items":[{"id":"8ebccd8e-3863-4187-8355-c3f14e1f9edf","entityType":"agent","canonicalPath":"/agent/iofficeai-aionui","slug":"iofficeai-aionui","name":"AionUi","description":"Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!","url":"https://github.com/iOfficeAI/AionUi","homepage":"https://www.aionui.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-10-09T19:11:12.944Z","createdAt":"2026-02-25T03:38:16.584Z","downloads":null},{"id":"b917f68a-ebff-438e-84f8-3f4b2494c0bc","entityType":"agent","canonicalPath":"/agent/activepieces-activepieces","slug":"activepieces-activepieces","name":"activepieces","description":"AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents","url":"https://github.com/activepieces/activepieces","homepage":"https://www.activepieces.com","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-15T02:22:12.426Z","createdAt":"2026-02-25T03:38:12.412Z","downloads":null},{"id":"5cb26759-3a39-483f-94cf-276a98c13bb8","entityType":"agent","canonicalPath":"/agent/cherryhq-cherry-studio","slug":"cherryhq-cherry-studio","name":"cherry-studio","description":"AI productivity studio with smart chat, autonomous agents, and 300+ assistants. Unified access to frontier LLMs","url":"https://github.com/CherryHQ/cherry-studio","homepage":"https://cherry-ai.com","source":"GITHUB_REPOS","protocols":["MCP","OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-04-11T14:38:40.986Z","createdAt":"2026-02-25T03:38:19.379Z","downloads":null},{"id":"6f6582d0-5d76-4f0f-b81d-86520247950b","entityType":"agent","canonicalPath":"/agent/copilotkit-copilotkit","slug":"copilotkit-copilotkit","name":"CopilotKit","description":"The Frontend for Agents & Generative UI. React + Angular","url":"https://github.com/CopilotKit/CopilotKit","homepage":"https://docs.copilotkit.ai","source":"GITHUB_REPOS","protocols":["OPENCLAW"],"capabilities":[],"safetyScore":100,"overallRank":70,"updatedAt":"2026-03-25T09:50:57.846Z","createdAt":"2026-02-25T03:39:14.617Z","downloads":null}],"links":{"hub":"/agent","source":"/agent/source/clawhub","protocols":[{"label":"OpenClaw","href":"/agent/protocol/openclew"}]}}}