{"slug":"7-e1even-learn-agent","name":"Learn Agent","description":"AI Agent开发进阶笔记，包含可运行的零依赖Node.js代码，讲解coding agent内部机制。","long_description":"# learn-agent · AI Agent 开发进阶笔记\n\n**简体中文** · [English](./README_EN.md)\n\n这是我开发桌面 agent [Reina](https://github.com/Reina-Agent/Reina) 过程中整理的一系列进阶笔记，讲解 coding agent（Claude Code、Codex、opencode 这类工具）的内部实现机制。每篇笔记讲一个机制，配一份零依赖、单文件、可以直接运行的 Node 程序。\n\n笔记把 Reina 的核心机制抽出来，简化成单文件代码，按由浅入深的顺序整理成文。因此这里的机制不是照 API 文档推想的，而是实际产品中验证过的做法。\n\nAgent 的核心只有一个循环：模型说要用什么工具，代码执行并把结果喂回去，直到模型不再要工具：\n\n```js\nwhile (true) {\n  const msg = await chat(messages);       // 调一次模型\n  messages.push(msg);\n  if (!msg.tool_calls?.length) break;     // 模型不再要工具，这一轮结束\n\n  for (const call of msg.tool_calls) {    // 模型要用工具：执行，把结果喂回去\n    messages.push({ role: \"tool\", tool_call_id: call.id, content: runTool(call) });\n  }\n}\n```\n\n这十几行就是 s01 的全部核心（完整可运行版约 120 行）。笔记的其余部分讲的是：这个循环放进真实任务后会出什么问题，以及每个问题怎么解决。\n\n![所有机制最终都建立在同一个循环上](./assets/s12-mechanism-map.svg)\n\n## 适合\n\n- 写过 agent demo，但在真实任务上遇到问题：循环空转、上下文超限、任务跑偏；\n- 日常使用 Claude Code，想知道压缩、缓存、子代理、权限审批这些机制内部怎么实现；\n- 需要在工作中落地 agent，想要一份经过实际验证的机制清单。\n\nAgent 的基本循环很简单，但从\"能跑\"到\"能用\"之间有一整层工程问题：成本控制、上下文管理、缓存、持久化、并发、权限。这套笔记每篇解决其中一个。\n\n## 运行方式\n\n代码零依赖，Node 18 以上直接运行，支持任何 OpenAI 兼容的 API key（DeepSeek / Kimi / GLM / OpenRouter / 本地 Ollama）：\n\n```sh\ngit clone https://github.com/7-e1even/learn-agent && cd learn-agent\nAGENT_API_KEY=sk-xxx node s01_agent_loop/agent.mjs\n```\n\n没有 key 的话，[s12](./s12_full_agent/) 提供不需要 key 的自测模式，可以端到端跑通核心机制。\n\n建议从 s01 开始按顺序阅读，边读 README 边运行对应代码。\n\n## 目录\n\n主循环在第 1 篇写完，之后基本不再改动，所有机制都围绕它扩展。s01–s12 逐步搭出一个完整可用的 agent；s13 之后补充真实 coding agent 需要处理的边界问题：权限、Provider 兼容、工具披露、多模型协作、自我复盘。每篇结构一致：问题 → 解决方案 → 运行 → 实现 → 练习 → 真实产品对照。\n\n| # | 主题 | 要解决的问题 |\n|---|---|---|\n| [s01](./s01_agent_loop/) | Agent 主循环 | 最小可用的 agent 长什么样 |\n| [s02](./s02_tool_system/) | 工具系统 | 工具越加越多，怎么不用每次都改循环 |\n| [s03](./s03_loop_budget/) | 循环预算与纠偏 | 模型原地打转、反复报错，怎么发现并拉回来 |\n| [s04](./s04_output_budget/) | 工具输出预算与溢出 | 一条 `cat` 的输出就能撑爆上下文，怎么办 |\n| [s05](./s05_streaming_interrupt/) | 流式输出与中断 | 用户按下 Ctrl+C，断在一半的消息记录怎么修 |\n| [s06](./s06_compaction/) | 上下文压缩 | 上下文满了要压缩，怎么不忘掉最初的任务 |\n| [s07](./s07_prompt_cache/) | Prompt 缓存 | 同样的对话，为什么有人的账单","tagline":"学习Agent开发的笔记","category":"development","tags":["agent","agent-loop","coding-agent","tutorial","nodejs"],"author":"7-e1even","verified":false,"attribution":{"status":"community_indexed","statusLabel":"Community indexed","shortLabel":"COMMUNITY INDEXED","sourceLabel":"OpenAgentSkill auto-indexer","sourceDetail":"7-e1even/learn-agent","creatorName":"7-e1even","creatorUrl":"https://github.com/7-e1even","sourceUrl":"https://github.com/7-e1even/learn-agent","indexedBy":"OpenAgentSkill community index","claimUrl":"https://www.openagentskill.com/skills/7-e1even-learn-agent#claim-this-skill","claimCta":"Claim this skill","trustNote":"This listing was indexed from public sources and is not marked official until a maintainer claim is approved.","publicNote":"Attribution links to the public repository or creator profile. Creators can claim the listing to update ownership signals."},"stats":{"stars":84,"forks":7,"downloads":0,"rating":0,"review_count":0,"quality_score":46.76},"quality":{"score":76,"tier":"strong","label":"Strong","summary":"Solid option that is likely worth shortlisting for production workflows.","signals":[{"label":"GitHub stars","value":"84","tone":"neutral"},{"label":"Freshness","value":"1d ago","tone":"positive"},{"label":"Install ready","value":"Yes","tone":"positive"},{"label":"License","value":"MIT","tone":"neutral"}],"warnings":[]},"trust":{"version":"trust-score-v5","score":66,"base_score":74,"outcome_confidence":0,"tier":"review","label":"Sandbox only","summary":"Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.","recommendedAction":"Run only in a sandbox and compare close alternatives before using it for real work.","decision":{"install_policy":"human_review_before_install","auto_install_allowed":false,"human_review_required":true,"sandbox_first":true,"agent_action":"Compare alternatives before installing.","reasoning":["66/100 Trust Score v5","74/100 Trust Score v4 baseline","Needs more real agent outcomes before unattended install","Install path is available","Review before production"],"review_required_when":["The workspace contains production secrets, payments, private customer data, or irreversible actions.","The install command requests shell, network, credential, database, or broad filesystem access.","Outcome evidence is missing, recently failed, or required human review.","Production credentials, payments, or irreversible account changes without explicit human review","Sensitive private data before reviewing repository code, license, and permission surface","Automatic installation in a production workspace"]},"dimensions":[{"id":"github_adoption","label":"GitHub adoption","score":48,"weight":0.13,"status":"warn","detail":"84 GitHub stars"},{"id":"repo_activity","label":"Stars/forks activity","score":43,"weight":0.08,"status":"warn","detail":"84 stars, 7 forks; issue activity unavailable in current metadata"},{"id":"maintenance","label":"Recent maintenance","score":100,"weight":0.14,"status":"pass","detail":"1d since push"},{"id":"license","label":"License clarity","score":86,"weight":0.09,"status":"pass","detail":"MIT"},{"id":"documentation","label":"README/SKILL.md completeness","score":84,"weight":0.14,"status":"pass","detail":"Metadata includes enough usage and workflow context"},{"id":"dependency_risk","label":"Dependency/runtime risk","score":64,"weight":0.12,"status":"info","detail":"credential or environment access, network or browser surface"},{"id":"installability","label":"Install availability","score":92,"weight":0.1,"status":"pass","detail":"npx skills add 7-e1even/learn-agent"},{"id":"install_safety","label":"Install command safety","score":92,"weight":0.1,"status":"pass","detail":"standard package or runtime install path"},{"id":"permission_surface","label":"Permission surface","score":60,"weight":0.07,"status":"warn","detail":"secrets or environment access, network or browser access"},{"id":"repository","label":"Repository evidence","score":86,"weight":0.04,"status":"pass","detail":"https://github.com/7-e1even/learn-agent"},{"id":"review_status","label":"Review status","score":88,"weight":0.05,"status":"pass","detail":"AI review data available"},{"id":"agent_outcomes","label":"Agent Proven outcomes","score":54,"weight":0.13,"status":"info","detail":"No agent outcome data yet"}],"checks":[{"status":"warn","label":"GitHub adoption","detail":"84 GitHub stars"},{"status":"warn","label":"Stars/forks activity","detail":"84 stars, 7 forks; issue activity unavailable in current metadata"},{"status":"pass","label":"Recent maintenance","detail":"1d since push"},{"status":"pass","label":"License clarity","detail":"MIT"},{"status":"pass","label":"README/SKILL.md completeness","detail":"Metadata includes enough usage and workflow context"},{"status":"info","label":"Dependency/runtime risk","detail":"credential or environment access, network or browser surface"},{"status":"pass","label":"Install availability","detail":"npx skills add 7-e1even/learn-agent"},{"status":"pass","label":"Install command safety","detail":"standard package or runtime install path"},{"status":"warn","label":"Permission surface","detail":"secrets or environment access, network or browser access"},{"status":"pass","label":"Repository evidence","detail":"https://github.com/7-e1even/learn-agent"},{"status":"pass","label":"Review status","detail":"AI review data available"},{"status":"info","label":"Agent Proven outcomes","detail":"No agent outcome data yet"},{"status":"warn","label":"Ownership","detail":"No approved owner claim yet"},{"status":"pass","label":"OpenAgentSkill usage","detail":"1 views, 0 install copies"},{"status":"info","label":"Agent outcomes","detail":"No agent outcome data yet"}],"strengths":["AI review approved","Install path is available","Repository evidence is available","Recently maintained repository","Install command has no obvious high-risk pattern","Outcome loop is ready but needs first real agent run"],"warnings":["Quality score needs review","Permission surface needs review: secrets or environment access, network or browser access","GitHub adoption: 84 GitHub stars","Stars/forks activity: 84 stars, 7 forks; issue activity unavailable in current metadata","Permission surface: secrets or environment access, network or browser access","No real agent outcome reports yet","Human review required before unattended installation"],"evidence":{"stars":"84 GitHub stars","repoActivity":"84 stars, 7 forks","lastPushed":"1d since push","license":"MIT","repository":"https://github.com/7-e1even/learn-agent","install":"npx skills add 7-e1even/learn-agent","installSafety":"standard package or runtime install path","permissionSurface":"secrets or environment access, network or browser access","documentation":"Strong README/SKILL.md context","agentOutcomes":"No agent outcome data yet","agentProvenScore":0,"outcomeConfidence":"0%","installPolicy":"human_review_before_install"},"installReadiness":{"ready":true,"command":"npx skills add 7-e1even/learn-agent","policy":"human_review_before_install","label":"Human review before install","notes":["Install path is available","Repository evidence is available","License is declared","No Agent Proven outcome evidence yet","1d since push","Trust Score v5 requires review or sandbox-only use before install."]},"agentCompatibility":["JavaScript","Codex","Claude Code","Cursor","OpenAgentSkill CLI"],"riskSummary":{"level":"medium","label":"Review before production","notes":["Quality score needs review","Permission surface needs review: secrets or environment access, network or browser access","GitHub adoption: 84 GitHub stars","Stars/forks activity: 84 stars, 7 forks; issue activity unavailable in current metadata","Permission surface: secrets or environment access, network or browser access"]},"outcomeEvidence":{"total":0,"successes":0,"failures":0,"notRelevant":0,"successRate":null,"installAttempts":0,"riskBlocked":0,"setupRequired":0,"installSuccessRate":null,"avgOutputQuality":null,"avgTimeToUsefulMs":null,"productionOutcomes":0,"humanReviewRequired":0,"recentSuccessRate":null,"recentFailureRate":null,"uniqueAgents":0,"agentProvenScore":0,"agentProvenLabel":"Needs first agent run","lastOutcomeAt":null,"label":"No agent outcome data yet"},"autoInstall":{"allowed":false,"sandboxRequired":true,"policy":"human_review_before_install","reason":"Compare alternatives before installing."},"outcome_loop":{"version":"openagentskill-agent-outcome-v3","required_after_install":true,"endpoint":"/api/agent/outcome","method":"POST","event_id_source":"feedback.event_id, install_receipt.resolve_event_id, or decision_packet.outcome_feedback.event_id","expected_outcomes":["success","failed","not_relevant","blocked_by_risk","setup_required"],"required_fields":["event_id","skill_slug","task"],"quality_fields":["task_success","output_quality","error_type","human_review_required","used_in_production","workspace","evidence_url","time_to_useful_ms"],"ranking_inputs_updated":["Trust Score v5 outcome confidence","Agent Proven Score","Resolve ranking task-fit evidence","Skill detail machine-readable metadata","Outcome leaderboard"]},"agent_contract":{"suited_tasks":["development","agent","agent-loop","coding-agent","tutorial","nodejs"],"suited_agents":["JavaScript","Codex","Claude Code","Cursor","OpenAgentSkill CLI"],"install_command":"npx skills add 7-e1even/learn-agent","trust_score":66,"trust_version":"trust-score-v5","risk_level":"medium","do_not_use_when":["Production credentials, payments, or irreversible account changes without explicit human review","Sensitive private data before reviewing repository code, license, and permission surface","Automatic installation in a production workspace"],"before_install":["Read the audit page and machine-readable metadata.","Confirm the install command, license, and permission surface fit the workspace.","Get explicit human approval or choose an alternative before installing."],"after_run":["Report the outcome to /api/agent/outcome using the resolve event id.","Include output_quality, workspace, human_review_required, and evidence_url when available.","Re-resolve before broad production rollout."]},"bestFor":["development","agent","agent-loop","coding-agent","tutorial","nodejs"],"doNotUseFor":["Production credentials, payments, or irreversible account changes without explicit human review","Sensitive private data before reviewing repository code, license, and permission surface","Automatic installation in a production workspace"],"knownRisks":["Quality score needs review","Permission surface needs review: secrets or environment access, network or browser access","GitHub adoption: 84 GitHub stars","Stars/forks activity: 84 stars, 7 forks; issue activity unavailable in current metadata","Permission surface: secrets or environment access, network or browser access"],"backward_compatible":{"trust_score_v4":{"version":"trust-score-v4","score":74,"tier":"strong","label":"Strong shortlist","summary":"Good trust signals with a few areas worth checking before rollout."}}},"trust_score_v5":{"version":"trust-score-v5","score":66,"base_score":74,"outcome_confidence":0,"tier":"review","label":"Sandbox only","summary":"Useful candidate with missing or mixed trust signals. Keep it in an isolated workspace until the outcome loop proves task fit.","recommendedAction":"Run only in a sandbox and compare close alternatives before using it for real work.","decision":{"install_policy":"human_review_before_install","auto_install_allowed":false,"human_review_required":true,"sandbox_first":true,"agent_action":"Compare alternatives before installing.","reasoning":["66/100 Trust Score v5","74/100 Trust Score v4 baseline","Needs more real agent outcomes before unattended install","Install path is available","Review before production"],"review_required_when":["The workspace contains production secrets, payments, private customer data, or irreversible actions.","The install command requests shell, network, credential, database, or broad filesystem access.","Outcome evidence is missing, recently failed, or required human review.","Production credentials, payments, or irreversible account changes without explicit human review","Sensitive private data before reviewing repository code, license, and permission surface","Automatic installation in a production workspace"]},"dimensions":[{"id":"github_adoption","label":"GitHub adoption","score":48,"weight":0.13,"status":"warn","detail":"84 GitHub stars"},{"id":"repo_activity","label":"Stars/forks activity","score":43,"weight":0.08,"status":"warn","detail":"84 stars, 7 forks; issue activity unavailable in current metadata"},{"id":"maintenance","label":"Recent maintenance","score":100,"weight":0.14,"status":"pass","detail":"1d since push"},{"id":"license","label":"License clarity","score":86,"weight":0.09,"status":"pass","detail":"MIT"},{"id":"documentation","label":"README/SKILL.md completeness","score":84,"weight":0.14,"status":"pass","detail":"Metadata includes enough usage and workflow context"},{"id":"dependency_risk","label":"Dependency/runtime risk","score":64,"weight":0.12,"status":"info","detail":"credential or environment access, network or browser surface"},{"id":"installability","label":"Install availability","score":92,"weight":0.1,"status":"pass","detail":"npx skills add 7-e1even/learn-agent"},{"id":"install_safety","label":"Install command safety","score":92,"weight":0.1,"status":"pass","detail":"standard package or runtime install path"},{"id":"permission_surface","label":"Permission surface","score":60,"weight":0.07,"status":"warn","detail":"secrets or environment access, network or browser access"},{"id":"repository","label":"Repository evidence","score":86,"weight":0.04,"status":"pass","detail":"https://github.com/7-e1even/learn-agent"},{"id":"review_status","label":"Review status","score":88,"weight":0.05,"status":"pass","detail":"AI review data available"},{"id":"agent_outcomes","label":"Agent Proven outcomes","score":54,"weight":0.13,"status":"info","detail":"No agent outcome data yet"}],"checks":[{"status":"warn","label":"GitHub adoption","detail":"84 GitHub stars"},{"status":"warn","label":"Stars/forks activity","detail":"84 stars, 7 forks; issue activity unavailable in current metadata"},{"status":"pass","label":"Recent maintenance","detail":"1d since push"},{"status":"pass","label":"License clarity","detail":"MIT"},{"status":"pass","label":"README/SKILL.md completeness","detail":"Metadata includes enough usage and workflow context"},{"status":"info","label":"Dependency/runtime risk","detail":"credential or environment access, network or browser surface"},{"status":"pass","label":"Install availability","detail":"npx skills add 7-e1even/learn-agent"},{"status":"pass","label":"Install command safety","detail":"standard package or runtime install path"},{"status":"warn","label":"Permission surface","detail":"secrets or environment access, network or browser access"},{"status":"pass","label":"Repository evidence","detail":"https://github.com/7-e1even/learn-agent"},{"status":"pass","label":"Review status","detail":"AI review data available"},{"status":"info","label":"Agent Proven outcomes","detail":"No agent outcome data yet"},{"status":"warn","label":"Ownership","detail":"No approved owner claim yet"},{"status":"pass","label":"OpenAgentSkill usage","detail":"1 views, 0 install copies"},{"status":"info","label":"Agent outcomes","detail":"No agent outcome data yet"}],"strengths":["AI review approved","Install path is available","Repository evidence is available","Recently maintained repository","Install command has no obvious high-risk pattern","Outcome loop is ready but needs first real agent run"],"warnings":["Quality score needs review","Permission surface needs review: secrets or environment access, network or browser access","GitHub adoption: 84 GitHub stars","Stars/forks activity: 84 stars, 7 forks; issue activity unavailable in current metadata","Permission surface: secrets or environment access, network or browser access","No real agent outcome reports yet","Human review required before unattended installation"],"evidence":{"stars":"84 GitHub stars","repoActivity":"84 stars, 7 forks","lastPushed":"1d since push","license":"MIT","repository":"https://github.com/7-e1even/learn-agent","install":"npx skills add 7-e1even/learn-agent","installSafety":"standard package or runtime install path","permissionSurface":"secrets or environment access, network or browser access","documentation":"Strong README/SKILL.md context","agentOutcomes":"No agent outcome data yet","agentProvenScore":0,"outcomeConfidence":"0%","installPolicy":"human_review_before_install"},"installReadiness":{"ready":true,"command":"npx skills add 7-e1even/learn-agent","policy":"human_review_before_install","label":"Human review before install","notes":["Install path is available","Repository evidence is available","License is declared","No Agent Proven outcome evidence yet","1d since push","Trust Score v5 requires review or sandbox-only use before install."]},"agentCompatibility":["JavaScript","Codex","Claude Code","Cursor","OpenAgentSkill CLI"],"riskSummary":{"level":"medium","label":"Review before production","notes":["Quality score needs review","Permission surface needs review: secrets or environment access, network or browser access","GitHub adoption: 84 GitHub stars","Stars/forks activity: 84 stars, 7 forks; issue activity unavailable in current metadata","Permission surface: secrets or environment access, network or browser access"]},"outcomeEvidence":{"total":0,"successes":0,"failures":0,"notRelevant":0,"successRate":null,"installAttempts":0,"riskBlocked":0,"setupRequired":0,"installSuccessRate":null,"avgOutputQuality":null,"avgTimeToUsefulMs":null,"productionOutcomes":0,"humanReviewRequired":0,"recentSuccessRate":null,"recentFailureRate":null,"uniqueAgents":0,"agentProvenScore":0,"agentProvenLabel":"Needs first agent run","lastOutcomeAt":null,"label":"No agent outcome data yet"},"autoInstall":{"allowed":false,"sandboxRequired":true,"policy":"human_review_before_install","reason":"Compare alternatives before installing."},"outcome_loop":{"version":"openagentskill-agent-outcome-v3","required_after_install":true,"endpoint":"/api/agent/outcome","method":"POST","event_id_source":"feedback.event_id, install_receipt.resolve_event_id, or decision_packet.outcome_feedback.event_id","expected_outcomes":["success","failed","not_relevant","blocked_by_risk","setup_required"],"required_fields":["event_id","skill_slug","task"],"quality_fields":["task_success","output_quality","error_type","human_review_required","used_in_production","workspace","evidence_url","time_to_useful_ms"],"ranking_inputs_updated":["Trust Score v5 outcome confidence","Agent Proven Score","Resolve ranking task-fit evidence","Skill detail machine-readable metadata","Outcome leaderboard"]},"agent_contract":{"suited_tasks":["development","agent","agent-loop","coding-agent","tutorial","nodejs"],"suited_agents":["JavaScript","Codex","Claude Code","Cursor","OpenAgentSkill CLI"],"install_command":"npx skills add 7-e1even/learn-agent","trust_score":66,"trust_version":"trust-score-v5","risk_level":"medium","do_not_use_when":["Production credentials, payments, or irreversible account changes without explicit human review","Sensitive private data before reviewing repository code, license, and permission surface","Automatic installation in a production workspace"],"before_install":["Read the audit page and machine-readable metadata.","Confirm the install command, license, and permission surface fit the workspace.","Get explicit human approval or choose an alternative before installing."],"after_run":["Report the outcome to /api/agent/outcome using the resolve event id.","Include output_quality, workspace, human_review_required, and evidence_url when available.","Re-resolve before broad production rollout."]},"bestFor":["development","agent","agent-loop","coding-agent","tutorial","nodejs"],"doNotUseFor":["Production credentials, payments, or irreversible account changes without explicit human review","Sensitive private data before reviewing repository code, license, and permission surface","Automatic installation in a production workspace"],"knownRisks":["Quality score needs review","Permission surface needs review: secrets or environment access, network or browser access","GitHub adoption: 84 GitHub stars","Stars/forks activity: 84 stars, 7 forks; issue activity unavailable in current metadata","Permission surface: secrets or environment access, network or browser access"],"backward_compatible":{"trust_score_v4":{"version":"trust-score-v4","score":74,"tier":"strong","label":"Strong shortlist","summary":"Good trust signals with a few areas worth checking before rollout."}}},"trust_score_v4":{"version":"trust-score-v4","score":74,"tier":"strong","label":"Strong shortlist","summary":"Good trust signals with a few areas worth checking before rollout.","recommendedAction":"Test in a sandbox workflow and compare its install path with close alternatives.","dimensions":[{"id":"github_adoption","label":"GitHub adoption","score":48,"weight":0.13,"status":"warn","detail":"84 GitHub stars"},{"id":"repo_activity","label":"Stars/forks activity","score":43,"weight":0.08,"status":"warn","detail":"84 stars, 7 forks; issue activity unavailable in current metadata"},{"id":"maintenance","label":"Recent maintenance","score":100,"weight":0.14,"status":"pass","detail":"1d since push"},{"id":"license","label":"License clarity","score":86,"weight":0.09,"status":"pass","detail":"MIT"},{"id":"documentation","label":"README/SKILL.md completeness","score":84,"weight":0.14,"status":"pass","detail":"Metadata includes enough usage and workflow context"},{"id":"dependency_risk","label":"Dependency/runtime risk","score":64,"weight":0.12,"status":"info","detail":"credential or environment access, network or browser surface"},{"id":"installability","label":"Install availability","score":92,"weight":0.1,"status":"pass","detail":"npx skills add 7-e1even/learn-agent"},{"id":"install_safety","label":"Install command safety","score":92,"weight":0.1,"status":"pass","detail":"standard package or runtime install path"},{"id":"permission_surface","label":"Permission surface","score":60,"weight":0.07,"status":"warn","detail":"secrets or environment access, network or browser access"},{"id":"repository","label":"Repository evidence","score":86,"weight":0.04,"status":"pass","detail":"https://github.com/7-e1even/learn-agent"},{"id":"review_status","label":"Review status","score":88,"weight":0.05,"status":"pass","detail":"AI review data available"},{"id":"agent_outcomes","label":"Agent Proven outcomes","score":54,"weight":0.13,"status":"info","detail":"No agent outcome data yet"}],"checks":[{"status":"warn","label":"GitHub adoption","detail":"84 GitHub stars"},{"status":"warn","label":"Stars/forks activity","detail":"84 stars, 7 forks; issue activity unavailable in current metadata"},{"status":"pass","label":"Recent maintenance","detail":"1d since push"},{"status":"pass","label":"License clarity","detail":"MIT"},{"status":"pass","label":"README/SKILL.md completeness","detail":"Metadata includes enough usage and workflow context"},{"status":"info","label":"Dependency/runtime risk","detail":"credential or environment access, network or browser surface"},{"status":"pass","label":"Install availability","detail":"npx skills add 7-e1even/learn-agent"},{"status":"pass","label":"Install command safety","detail":"standard package or runtime install path"},{"status":"warn","label":"Permission surface","detail":"secrets or environment access, network or browser access"},{"status":"pass","label":"Repository evidence","detail":"https://github.com/7-e1even/learn-agent"},{"status":"pass","label":"Review status","detail":"AI review data available"},{"status":"info","label":"Agent Proven outcomes","detail":"No agent outcome data yet"},{"status":"warn","label":"Ownership","detail":"No approved owner claim yet"},{"status":"pass","label":"OpenAgentSkill usage","detail":"1 views, 0 install copies"},{"status":"info","label":"Agent outcomes","detail":"No agent outcome data yet"}],"strengths":["AI review approved","Install path is available","Repository evidence is available","Recently maintained repository","Install command has no obvious high-risk pattern"],"warnings":["Quality score needs review","Permission surface needs review: secrets or environment access, network or browser access","GitHub adoption: 84 GitHub stars","Stars/forks activity: 84 stars, 7 forks; issue activity unavailable in current metadata","Permission surface: secrets or environment access, network or browser access"],"evidence":{"stars":"84 GitHub stars","repoActivity":"84 stars, 7 forks","lastPushed":"1d since push","license":"MIT","repository":"https://github.com/7-e1even/learn-agent","install":"npx skills add 7-e1even/learn-agent","installSafety":"standard package or runtime install path","permissionSurface":"secrets or environment access, network or browser access","documentation":"Strong README/SKILL.md context","agentOutcomes":"No agent outcome data yet"},"installReadiness":{"ready":true,"command":"npx skills add 7-e1even/learn-agent","policy":"human_review_before_install","label":"Human review before install","notes":["Install path is available","Repository evidence is available","License is declared","No Agent Proven outcome evidence yet","1d since push"]},"agentCompatibility":["JavaScript","Codex","Claude Code","Cursor","OpenAgentSkill CLI"],"riskSummary":{"level":"medium","label":"Review before production","notes":["Quality score needs review","Permission surface needs review: secrets or environment access, network or browser access","GitHub adoption: 84 GitHub stars","Stars/forks activity: 84 stars, 7 forks; issue activity unavailable in current metadata","Permission surface: secrets or environment access, network or browser access"]},"outcomeEvidence":{"total":0,"successes":0,"failures":0,"notRelevant":0,"successRate":null,"installAttempts":0,"riskBlocked":0,"setupRequired":0,"installSuccessRate":null,"avgOutputQuality":null,"avgTimeToUsefulMs":null,"productionOutcomes":0,"humanReviewRequired":0,"recentSuccessRate":null,"recentFailureRate":null,"uniqueAgents":0,"agentProvenScore":0,"agentProvenLabel":"Needs first agent run","lastOutcomeAt":null,"label":"No agent outcome data yet"},"autoInstall":{"allowed":false,"sandboxRequired":true,"policy":"human_review_before_install","reason":"Human review or sandbox validation is required before automatic installation."},"bestFor":["development","agent","agent-loop","coding-agent","tutorial","nodejs"],"doNotUseFor":["Production credentials, payments, or irreversible account changes without explicit human review","Sensitive private data before reviewing repository code, license, and permission surface","Automatic installation in a production workspace"],"knownRisks":["Quality score needs review","Permission surface needs review: secrets or environment access, network or browser access","GitHub adoption: 84 GitHub stars","Stars/forks activity: 84 stars, 7 forks; issue activity unavailable in current metadata","Permission surface: secrets or environment access, network or browser access"]},"agent_proven":{"version":"agent-proven-v1","score":0,"tier":"unproven","label":"Needs first agent run","summary":"No agent outcome reports yet. Use Resolve, run one narrow sandbox task, then report the result.","metrics":{"totalOutcomes":0,"successfulOutcomes":0,"failedOutcomes":0,"installAttempts":0,"installSuccessRate":null,"successRate":null,"recentSuccessRate":null,"recentFailureRate":null,"riskBlocked":0,"setupRequired":0,"notRelevant":0,"avgOutputQuality":null,"avgTimeToUsefulMs":null,"productionOutcomes":0,"humanReviewRequired":0,"uniqueAgents":0,"lastOutcomeAt":null},"signals":[],"penalties":["No real agent outcome evidence yet"]},"outcome_stats":null,"safety":{"score":53,"level":"avoid_auto_install","label":"Avoid automatic install","safety_tier":{"tier":"experimental","label":"Experimental","badge":"EXPERIMENTAL","summary":"Sparse or mixed signals. Useful for discovery, but not for autonomous installation.","recommended_action":"Test manually in an isolated workspace and compare against safer alternatives.","auto_install_policy":"review","reasons":["High-risk permission hints: Secrets or environment access","53/100 agent safety score"]},"auto_install_allowed":false,"human_review_required":true,"blocked":false,"audit_risk":"needs_review","permission_hints":[{"id":"network","label":"Network access","reason":"Skill likely fetches remote pages, APIs, repositories, or external services.","severity":"medium"},{"id":"filesystem","label":"Filesystem access","reason":"Skill may read or write project files, documents, generated artifacts, or local workspace state.","severity":"medium"},{"id":"secrets","label":"Secrets or environment access","reason":"Skill metadata references credentials, tokens, environment variables, or secret-bearing workflows.","severity":"high"}],"policy_warnings":["High-risk permission hints: Secrets or environment access","Permission surface may require sandboxing"],"constraints_applied":{"max_risk":"medium","needs_install_command":true,"min_stars":0}},"safety_gate":{"tier":"experimental","label":"Experimental","badge":"EXPERIMENTAL","auto_install_policy":"review","auto_install_allowed":false,"blocked":false,"human_review_required":true,"recommended_action":"Test manually in an isolated workspace and compare against safer alternatives.","reasons":["High-risk permission hints: Secrets or environment access","53/100 agent safety score"]},"eval":{"version":"openagentskill-skill-eval-v1","status":"review","score":73,"risk_level":"medium","decision":{"recommendation":"manual_review","reason":"Test manually in an isolated workspace and compare against safer alternatives.","auto_install_allowed":false,"policy":"review","human_review_required":true},"blockers":[],"warnings":["Trust score: Good trust signals with a few areas worth checking before rollout.","Audit score: Needs review","Agent safety gate: Sparse or mixed signals. Useful for discovery, but not for autonomous installation.","Permission surface: secrets or environment access, network or browser access","High-risk permission hints: Secrets or environment access","Permission surface may require sandboxing","Quality score needs review","Permission surface needs review: secrets or environment access, network or browser access","GitHub adoption: 84 GitHub stars","Stars/forks activity: 84 stars, 7 forks; issue activity unavailable in current metadata"],"validation_plan":["Inspect repository, README/SKILL.md, license, and recent commits before production use.","Install in an isolated workspace or sandbox with no production secrets available.","Run the smallest representative task and record files touched, commands run, network access, and outputs.","Compare the selected skill against at least one alternative when the eval status is review or failed.","Promote only after the agent reports a successful verification result and unresolved warnings are accepted."],"checks":[{"id":"task_fit","label":"Task fit","status":"pass","score":84,"required_for_auto_install":true,"detail":"Task wording matches this skill metadata.","evidence":["Evaluate Learn Agent before installing it in an agent workflow","development","Coding agents workflows; Claude Code teams; builders willing to evaluate younger projects"]},{"id":"install_path","label":"Install path","status":"pass","score":92,"required_for_auto_install":true,"detail":"Install handoff is available.","evidence":["npx skills add 7-e1even/learn-agent"]},{"id":"install_safety","label":"Install command safety","status":"pass","score":92,"required_for_auto_install":true,"detail":"standard package or runtime install path","evidence":["npx skills add 7-e1even/learn-agent"]},{"id":"trust_score","label":"Trust score","status":"warn","score":74,"required_for_auto_install":true,"detail":"Good trust signals with a few areas worth checking before rollout.","evidence":["Strong shortlist","84 GitHub stars","MIT"]},{"id":"audit_score","label":"Audit score","status":"warn","score":81,"required_for_auto_install":true,"detail":"Needs review","evidence":["Permission surface may require sandboxing"]},{"id":"agent_safety_gate","label":"Agent safety gate","status":"warn","score":53,"required_for_auto_install":true,"detail":"Sparse or mixed signals. Useful for discovery, but not for autonomous installation.","evidence":["Test manually in an isolated workspace and compare against safer alternatives.","High-risk permission hints: Secrets or environment access"]},{"id":"readme_skillmd_completeness","label":"README/SKILL.md completeness","status":"pass","score":84,"required_for_auto_install":false,"detail":"Metadata includes enough usage and workflow context","evidence":["Strong README/SKILL.md context"]},{"id":"license_clarity","label":"License clarity","status":"pass","score":86,"required_for_auto_install":true,"detail":"MIT","evidence":["MIT"]},{"id":"recent_maintenance","label":"Recent maintenance","status":"pass","score":100,"required_for_auto_install":false,"detail":"1d since push","evidence":["1d since push"]},{"id":"permission_surface","label":"Permission surface","status":"warn","score":60,"required_for_auto_install":true,"detail":"secrets or environment access, network or browser access","evidence":["Network access: medium","Filesystem access: medium","Secrets or environment access: high"]},{"id":"alternatives","label":"Alternatives available","status":"info","score":55,"required_for_auto_install":false,"detail":"No close alternatives were found in the current shortlist.","evidence":[]}],"endpoints":{"web":"https://www.openagentskill.com/skills/7-e1even-learn-agent/evals","api":"/api/agent/evals?slug=7-e1even-learn-agent","text":"/api/agent/evals?slug=7-e1even-learn-agent&format=text"}},"agent_readable_metadata":{"version":"openagentskill-agent-metadata-v2","skill":{"slug":"7-e1even-learn-agent","name":"Learn Agent","description":"AI Agent开发进阶笔记，包含可运行的零依赖Node.js代码，讲解coding agent内部机制。","category":"development","url":"https://www.openagentskill.com/skills/7-e1even-learn-agent","repository":"https://github.com/7-e1even/learn-agent","github_repo":"7-e1even/learn-agent"},"suited_tasks":["Coding agents workflows","Claude Code teams","builders willing to evaluate younger projects","Inspect source files","Explain architecture","Patch bugs and verify changes","Inspect repository metadata","Compare code changes"],"suited_agents":["JavaScript","Codex","Claude Code","Cursor","OpenAgentSkill CLI","OpenAI Agents","CLI"],"install":{"command":"npx skills add 7-e1even/learn-agent","ready":true,"targets":[{"id":"openagentskill-cli","label":"CLI","kind":"command","value":"npx skills add 7-e1even/learn-agent"},{"id":"codex","label":"Codex","kind":"agent-prompt","value":"Install the \"Learn Agent\" agent skill from https://github.com/7-e1even/learn-agent. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: AI Agent开发进阶笔记，包含可运行的零依赖Node.js代码，讲解coding agent内部机制。"},{"id":"claude-code","label":"Claude Code","kind":"agent-prompt","value":"Add \"Learn Agent\" as a Claude Code skill from https://github.com/7-e1even/learn-agent. Inspect the skill instructions, place the reusable skill files in the appropriate local skills location for this project, and report the activation steps. Skill purpose: AI Agent开发进阶笔记，包含可运行的零依赖Node.js代码，讲解coding agent内部机制。"},{"id":"cursor","label":"Cursor","kind":"agent-prompt","value":"Turn \"Learn Agent\" from https://github.com/7-e1even/learn-agent into a reusable Cursor project rule or agent instruction. Preserve the core workflow, adapt paths to this repo, and keep the rule scoped to tasks where it is relevant. Skill purpose: AI Agent开发进阶笔记，包含可运行的零依赖Node.js代码，讲解coding agent内部机制。"}],"handoff_url":"https://www.openagentskill.com/api/skills/7-e1even-learn-agent/install","manifest_url":"https://www.openagentskill.com/api/registry/manifest/7-e1even-learn-agent"},"trust":{"score":74,"label":"Strong shortlist","version":"trust-score-v4","install_policy":"human_review_before_install","evidence":{"stars":"84 GitHub stars","repoActivity":"84 stars, 7 forks","lastPushed":"1d since push","license":"MIT","repository":"https://github.com/7-e1even/learn-agent","install":"npx skills add 7-e1even/learn-agent","installSafety":"standard package or runtime install path","permissionSurface":"secrets or environment access, network or browser access","documentation":"Strong README/SKILL.md context","agentOutcomes":"No agent outcome data yet"},"outcome_evidence":{"total":0,"successes":0,"failures":0,"not_relevant":0,"success_rate":null,"recent_success_rate":null,"recent_failure_rate":null,"install_attempts":0,"install_success_rate":null,"risk_blocked":0,"setup_required":0,"avg_output_quality":null,"production_outcomes":0,"last_outcome_at":null,"label":"No agent outcome data yet"},"auto_install":{"allowed":false,"sandbox_required":true,"reason":"Human review or sandbox validation is required before automatic installation."},"best_for":["development","agent","agent-loop","coding-agent","tutorial","nodejs"],"known_risks":["Quality score needs review","Permission surface needs review: secrets or environment access, network or browser access","GitHub adoption: 84 GitHub stars","Stars/forks activity: 84 stars, 7 forks; issue activity unavailable in current metadata","Permission surface: secrets or environment access, network or browser access"]},"agent_proven":{"version":"agent-proven-v1","score":0,"tier":"unproven","label":"Needs first agent run","summary":"No agent outcome reports yet. Use Resolve, run one narrow sandbox task, then report the result.","metrics":{"totalOutcomes":0,"successfulOutcomes":0,"failedOutcomes":0,"installAttempts":0,"installSuccessRate":null,"successRate":null,"recentSuccessRate":null,"recentFailureRate":null,"riskBlocked":0,"setupRequired":0,"notRelevant":0,"avgOutputQuality":null,"avgTimeToUsefulMs":null,"productionOutcomes":0,"humanReviewRequired":0,"uniqueAgents":0,"lastOutcomeAt":null},"signals":[],"penalties":["No real agent outcome evidence yet"]},"audit":{"score":81,"risk_level":"needs_review","risk_label":"Needs review","warnings":["Permission surface may require sandboxing","Quality score needs review","Permission surface needs review: secrets or environment access, network or browser access","GitHub adoption: 84 GitHub stars","Stars/forks activity: 84 stars, 7 forks; issue activity unavailable in current metadata","Permission surface: secrets or environment access, network or browser access"]},"safety_gate":{"tier":"experimental","label":"Experimental","auto_install_policy":"review","auto_install_allowed":false,"human_review_required":true,"blocked":false,"recommended_action":"Test manually in an isolated workspace and compare against safer alternatives."},"quality":{"score":76,"label":"Strong"},"supply":{"track":"Coding and developer agents","scenario":"Coding agents","maintenance":"1d since push","risk":"Needs review"},"alternative_skills":[],"do_not_use_when":["teams that need a vendor-supported SLA","high-compliance environments without internal security review","No major risk signals from current metadata","High-risk permission hints: Secrets or environment access","Permission surface may require sandboxing","Quality score needs review","Permission surface needs review: secrets or environment access, network or browser access","GitHub adoption: 84 GitHub stars"],"agent_contract":{"task_input":"Use Learn Agent in an agent workflow","recommended_action":"Test manually in an isolated workspace and compare against safer alternatives.","install_policy":"review","minimum_review_before_use":["Trust: 74/100 Strong shortlist","Audit: 81/100 Needs review","Safety: 53/100 Avoid automatic install","Review repository, license, install command, and permission surface before production use."],"expected_agent_output":{"selected_skill":"7-e1even-learn-agent (Learn Agent)","install_command":"npx skills add 7-e1even/learn-agent","risk_summary":"Needs review; Experimental; Review before production","verification_result":"Report the smallest successful task, files touched, warnings, and any missing setup."}},"outcome_feedback":{"endpoint":"https://www.openagentskill.com/api/agent/outcome","method":"POST","requires_resolve_event_id":true,"event_id_source":"Use install_receipt.outcome_feedback.event_id or feedback.event_id returned by /api/agent/resolve for the current task.","expected_outcomes":["success","failed","not_relevant","blocked_by_risk","setup_required"],"payload_template":{"event_id":"<install_receipt.outcome_feedback.event_id or feedback.event_id from /api/agent/resolve>","skill_slug":"7-e1even-learn-agent","task":"Use Learn Agent in an agent workflow","agent":"codex","outcome":"success","install_used":true,"risk_blocked":false,"setup_required":false,"task_success":true,"output_quality":4,"error_type":null,"human_review_required":false,"workspace":"sandbox","time_to_useful_ms":120000,"notes":"Report the smallest successful task, setup friction, files touched, and risk notes."}},"endpoints":{"web":"https://www.openagentskill.com/skills/7-e1even-learn-agent","api":"https://www.openagentskill.com/api/agent/skills/7-e1even-learn-agent","audit":"https://www.openagentskill.com/skills/7-e1even-learn-agent/audit","eval":"https://www.openagentskill.com/api/agent/evals?slug=7-e1even-learn-agent&task=Use%20Learn%20Agent%20in%20an%20agent%20workflow&max_risk=medium","resolve":"https://www.openagentskill.com/api/agent/resolve?task=Use%20Learn%20Agent%20in%20an%20agent%20workflow&agent=codex&max_risk=medium","receipt":"https://www.openagentskill.com/api/agent/receipt?task=Use%20Learn%20Agent%20in%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text","install":"https://www.openagentskill.com/api/skills/7-e1even-learn-agent/install","manifest":"https://www.openagentskill.com/api/registry/manifest/7-e1even-learn-agent"}},"machine_metadata":{"version":"openagentskill-agent-metadata-v2","skill":{"slug":"7-e1even-learn-agent","name":"Learn Agent","description":"AI Agent开发进阶笔记，包含可运行的零依赖Node.js代码，讲解coding agent内部机制。","category":"development","url":"https://www.openagentskill.com/skills/7-e1even-learn-agent","repository":"https://github.com/7-e1even/learn-agent","github_repo":"7-e1even/learn-agent"},"suited_tasks":["Coding agents workflows","Claude Code teams","builders willing to evaluate younger projects","Inspect source files","Explain architecture","Patch bugs and verify changes","Inspect repository metadata","Compare code changes"],"suited_agents":["JavaScript","Codex","Claude Code","Cursor","OpenAgentSkill CLI","OpenAI Agents","CLI"],"install":{"command":"npx skills add 7-e1even/learn-agent","ready":true,"targets":[{"id":"openagentskill-cli","label":"CLI","kind":"command","value":"npx skills add 7-e1even/learn-agent"},{"id":"codex","label":"Codex","kind":"agent-prompt","value":"Install the \"Learn Agent\" agent skill from https://github.com/7-e1even/learn-agent. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: AI Agent开发进阶笔记，包含可运行的零依赖Node.js代码，讲解coding agent内部机制。"},{"id":"claude-code","label":"Claude Code","kind":"agent-prompt","value":"Add \"Learn Agent\" as a Claude Code skill from https://github.com/7-e1even/learn-agent. Inspect the skill instructions, place the reusable skill files in the appropriate local skills location for this project, and report the activation steps. Skill purpose: AI Agent开发进阶笔记，包含可运行的零依赖Node.js代码，讲解coding agent内部机制。"},{"id":"cursor","label":"Cursor","kind":"agent-prompt","value":"Turn \"Learn Agent\" from https://github.com/7-e1even/learn-agent into a reusable Cursor project rule or agent instruction. Preserve the core workflow, adapt paths to this repo, and keep the rule scoped to tasks where it is relevant. Skill purpose: AI Agent开发进阶笔记，包含可运行的零依赖Node.js代码，讲解coding agent内部机制。"}],"handoff_url":"https://www.openagentskill.com/api/skills/7-e1even-learn-agent/install","manifest_url":"https://www.openagentskill.com/api/registry/manifest/7-e1even-learn-agent"},"trust":{"score":74,"label":"Strong shortlist","version":"trust-score-v4","install_policy":"human_review_before_install","evidence":{"stars":"84 GitHub stars","repoActivity":"84 stars, 7 forks","lastPushed":"1d since push","license":"MIT","repository":"https://github.com/7-e1even/learn-agent","install":"npx skills add 7-e1even/learn-agent","installSafety":"standard package or runtime install path","permissionSurface":"secrets or environment access, network or browser access","documentation":"Strong README/SKILL.md context","agentOutcomes":"No agent outcome data yet"},"outcome_evidence":{"total":0,"successes":0,"failures":0,"not_relevant":0,"success_rate":null,"recent_success_rate":null,"recent_failure_rate":null,"install_attempts":0,"install_success_rate":null,"risk_blocked":0,"setup_required":0,"avg_output_quality":null,"production_outcomes":0,"last_outcome_at":null,"label":"No agent outcome data yet"},"auto_install":{"allowed":false,"sandbox_required":true,"reason":"Human review or sandbox validation is required before automatic installation."},"best_for":["development","agent","agent-loop","coding-agent","tutorial","nodejs"],"known_risks":["Quality score needs review","Permission surface needs review: secrets or environment access, network or browser access","GitHub adoption: 84 GitHub stars","Stars/forks activity: 84 stars, 7 forks; issue activity unavailable in current metadata","Permission surface: secrets or environment access, network or browser access"]},"agent_proven":{"version":"agent-proven-v1","score":0,"tier":"unproven","label":"Needs first agent run","summary":"No agent outcome reports yet. Use Resolve, run one narrow sandbox task, then report the result.","metrics":{"totalOutcomes":0,"successfulOutcomes":0,"failedOutcomes":0,"installAttempts":0,"installSuccessRate":null,"successRate":null,"recentSuccessRate":null,"recentFailureRate":null,"riskBlocked":0,"setupRequired":0,"notRelevant":0,"avgOutputQuality":null,"avgTimeToUsefulMs":null,"productionOutcomes":0,"humanReviewRequired":0,"uniqueAgents":0,"lastOutcomeAt":null},"signals":[],"penalties":["No real agent outcome evidence yet"]},"audit":{"score":81,"risk_level":"needs_review","risk_label":"Needs review","warnings":["Permission surface may require sandboxing","Quality score needs review","Permission surface needs review: secrets or environment access, network or browser access","GitHub adoption: 84 GitHub stars","Stars/forks activity: 84 stars, 7 forks; issue activity unavailable in current metadata","Permission surface: secrets or environment access, network or browser access"]},"safety_gate":{"tier":"experimental","label":"Experimental","auto_install_policy":"review","auto_install_allowed":false,"human_review_required":true,"blocked":false,"recommended_action":"Test manually in an isolated workspace and compare against safer alternatives."},"quality":{"score":76,"label":"Strong"},"supply":{"track":"Coding and developer agents","scenario":"Coding agents","maintenance":"1d since push","risk":"Needs review"},"alternative_skills":[],"do_not_use_when":["teams that need a vendor-supported SLA","high-compliance environments without internal security review","No major risk signals from current metadata","High-risk permission hints: Secrets or environment access","Permission surface may require sandboxing","Quality score needs review","Permission surface needs review: secrets or environment access, network or browser access","GitHub adoption: 84 GitHub stars"],"agent_contract":{"task_input":"Use Learn Agent in an agent workflow","recommended_action":"Test manually in an isolated workspace and compare against safer alternatives.","install_policy":"review","minimum_review_before_use":["Trust: 74/100 Strong shortlist","Audit: 81/100 Needs review","Safety: 53/100 Avoid automatic install","Review repository, license, install command, and permission surface before production use."],"expected_agent_output":{"selected_skill":"7-e1even-learn-agent (Learn Agent)","install_command":"npx skills add 7-e1even/learn-agent","risk_summary":"Needs review; Experimental; Review before production","verification_result":"Report the smallest successful task, files touched, warnings, and any missing setup."}},"outcome_feedback":{"endpoint":"https://www.openagentskill.com/api/agent/outcome","method":"POST","requires_resolve_event_id":true,"event_id_source":"Use install_receipt.outcome_feedback.event_id or feedback.event_id returned by /api/agent/resolve for the current task.","expected_outcomes":["success","failed","not_relevant","blocked_by_risk","setup_required"],"payload_template":{"event_id":"<install_receipt.outcome_feedback.event_id or feedback.event_id from /api/agent/resolve>","skill_slug":"7-e1even-learn-agent","task":"Use Learn Agent in an agent workflow","agent":"codex","outcome":"success","install_used":true,"risk_blocked":false,"setup_required":false,"task_success":true,"output_quality":4,"error_type":null,"human_review_required":false,"workspace":"sandbox","time_to_useful_ms":120000,"notes":"Report the smallest successful task, setup friction, files touched, and risk notes."}},"endpoints":{"web":"https://www.openagentskill.com/skills/7-e1even-learn-agent","api":"https://www.openagentskill.com/api/agent/skills/7-e1even-learn-agent","audit":"https://www.openagentskill.com/skills/7-e1even-learn-agent/audit","eval":"https://www.openagentskill.com/api/agent/evals?slug=7-e1even-learn-agent&task=Use%20Learn%20Agent%20in%20an%20agent%20workflow&max_risk=medium","resolve":"https://www.openagentskill.com/api/agent/resolve?task=Use%20Learn%20Agent%20in%20an%20agent%20workflow&agent=codex&max_risk=medium","receipt":"https://www.openagentskill.com/api/agent/receipt?task=Use%20Learn%20Agent%20in%20an%20agent%20workflow&agent=codex&max_risk=medium&format=text","install":"https://www.openagentskill.com/api/skills/7-e1even-learn-agent/install","manifest":"https://www.openagentskill.com/api/registry/manifest/7-e1even-learn-agent"}},"supply_profile":{"track":{"slug":"coding","label":"Coding and developer agents","shortLabel":"Coding","description":"Code review, repo analysis, testing, CI, GitHub, DevOps, and developer workflow skills."},"scenario":{"label":"Coding agents","description":"I need a coding agent that can understand a repository, edit code, and review pull requests.","useCases":[{"slug":"coding-agents","title":"Coding agents"},{"slug":"github-automation","title":"GitHub automation"},{"slug":"content-automation","title":"Content automation"}]},"applicableAgents":["Claude Code","OpenAI Agents","CLI","Codex","Cursor"],"install":{"ready":true,"command":"npx skills add 7-e1even/learn-agent","primaryTarget":"CLI","targetCount":4},"githubQuality":{"stars":84,"starsLabel":"84","forks":7,"license":"MIT","qualityScore":76,"trustScore":74,"auditScore":81},"maintenance":{"status":"fresh","label":"1d since push","daysSincePush":1,"lastPushedAt":"2026-07-06T10:38:15+00:00"},"risk":{"level":"needs_review","label":"Needs review","requiresReview":true,"notes":["Permission surface may require sandboxing","Quality score needs review","Permission surface needs review: secrets or environment access, network or browser access","GitHub adoption: 84 GitHub stars","Stars/forks activity: 84 stars, 7 forks; issue activity unavailable in current metadata"]},"coverageTags":["Coding","Coding agents","development","agent","agent-loop","coding-agent","tutorial","nodejs"]},"audit":{"audit_score":81,"risk_level":"needs_review","risk_label":"Needs review","quality_score":76,"trust_score":74,"maintenance_score":100,"security_score":81,"install_score":92,"warnings":["Permission surface may require sandboxing","Quality score needs review","Permission surface needs review: secrets or environment access, network or browser access","GitHub adoption: 84 GitHub stars","Stars/forks activity: 84 stars, 7 forks; issue activity unavailable in current metadata","Permission surface: secrets or environment access, network or browser access"]},"quality_signals":{"model":"v1","star_score":13.51,"usage_score":0,"review_score":11.25,"metadata_score":7,"freshness_score":15},"platforms":["JavaScript","Claude Code","OpenAI Agents"],"use_cases":[{"slug":"coding-agents","title":"Coding agents","url":"https://www.openagentskill.com/use-cases/coding-agents"},{"slug":"github-automation","title":"GitHub automation","url":"https://www.openagentskill.com/use-cases/github-automation"},{"slug":"content-automation","title":"Content automation","url":"https://www.openagentskill.com/use-cases/content-automation"},{"slug":"web-scraping","title":"Web scraping","url":"https://www.openagentskill.com/use-cases/web-scraping"}],"stacks":[{"slug":"coding-review-agent","title":"Coding review agent","url":"https://www.openagentskill.com/collections/coding-review-agent"},{"slug":"content-growth-agent","title":"Content growth agent","url":"https://www.openagentskill.com/collections/content-growth-agent"},{"slug":"web-data-pipeline","title":"Web data pipeline","url":"https://www.openagentskill.com/collections/web-data-pipeline"}],"install":"npx skills add 7-e1even/learn-agent","install_targets":[{"id":"openagentskill-cli","label":"CLI","title":"OpenAgentSkill CLI","kind":"command","value":"npx skills add 7-e1even/learn-agent","description":"Use the registry command when your workflow supports the OpenAgentSkill installer.","copyLabel":"Copy command"},{"id":"codex","label":"Codex","title":"Codex install prompt","kind":"agent-prompt","value":"Install the \"Learn Agent\" agent skill from https://github.com/7-e1even/learn-agent. Read its SKILL.md or equivalent instructions first, install only the files needed for this workspace, and summarize any required setup before using it. Skill purpose: AI Agent开发进阶笔记，包含可运行的零依赖Node.js代码，讲解coding agent内部机制。","description":"Give Codex a repo-aware install prompt when the skill is not available through a local CLI.","copyLabel":"Copy prompt"},{"id":"claude-code","label":"Claude Code","title":"Claude Code skill prompt","kind":"agent-prompt","value":"Add \"Learn Agent\" as a Claude Code skill from https://github.com/7-e1even/learn-agent. Inspect the skill instructions, place the reusable skill files in the appropriate local skills location for this project, and report the activation steps. Skill purpose: AI Agent开发进阶笔记，包含可运行的零依赖Node.js代码，讲解coding agent内部机制。","description":"Use this prompt to ask Claude Code to add the skill and explain the local activation steps.","copyLabel":"Copy prompt"},{"id":"cursor","label":"Cursor","title":"Cursor rule prompt","kind":"agent-prompt","value":"Turn \"Learn Agent\" from https://github.com/7-e1even/learn-agent into a reusable Cursor project rule or agent instruction. Preserve the core workflow, adapt paths to this repo, and keep the rule scoped to tasks where it is relevant. Skill purpose: AI Agent开发进阶笔记，包含可运行的零依赖Node.js代码，讲解coding agent内部机制。","description":"Use this when installing as Cursor project rules or reusable agent instructions.","copyLabel":"Copy prompt"}],"repository":"https://github.com/7-e1even/learn-agent","github_repo":"7-e1even/learn-agent","version":"1.0.0","license":"MIT","urls":{"web":"https://www.openagentskill.com/skills/7-e1even-learn-agent","repository":"https://github.com/7-e1even/learn-agent","api":"/api/agent/skills/7-e1even-learn-agent","install_api":"/api/skills/7-e1even-learn-agent/install"},"meta":{"created_at":"2026-07-06T13:20:49.672802+00:00","updated_at":"2026-07-07T03:04:03.342697+00:00","agent_friendly":true}}