Ai Coding Agents Sessions 标志

Ai Coding Agents Sessions

社区
vasilyu1983
ai-coding-agents-sessions

为编程智能体运行时设计会话生命周期。适用于实现会话恢复、对话记录还原、检查点回退、跨工作树恢复或会话状态持久化。

概览

发布者vasilyu1983
代码仓库AI-Agents-public
技能名称ai-coding-agents-sessions
星标数
87
复刻数
19
附带文件
11
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 11 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 vasilyu1983 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Ai Coding Agents Sessions AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/vasilyu1983/AI-Agents-public/tree/main/frameworks/shared-skills/skills/ai-coding-agents-sessions
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/vasilyu1983/AI-Agents-public.git /tmp/AI-Agents-public
mkdir -p .claude/skills
cp -r /tmp/AI-Agents-public/frameworks/shared-skills/skills/ai-coding-agents-sessions .claude/skills/ai-coding-agents-sessions
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Ai Coding Agents Sessions,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Ai Coding Agents Sessions。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Ai Coding Agents Sessions 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

AI Coding Agents Sessions

Use this skill to design or review the session lifecycle for a coding-agent runtime: session IDs, transcript persistence, resume pickers, stale-cache clearing, cross-worktree recovery, and what state must be restored versus recomputed.

This skill owns runtime session lifecycle. For persistent repo instructions and always-loaded memory, use ../agents-memory/SKILL.md.

ASCII Flow

text
new or resumed invocation
  |
  v
session identity
  project + worktree + session_id + title + runtime mode
  |
  v
state restoration
  transcript + summaries + tool state + task state + provider cache metadata
  |
  v
branch decision
  continue | rewind | compact | clear | fork subagent | exact resume | claude agents (background resume)
  |
  v
active turn
  append events, persist checkpoints, keep recovery path auditable

Quick Reference

QuestionReadOutcome
What belongs in a coding-agent session model?references/session-lifecycle-and-resume.mdSession IDs, picker flows, stale-cache reset, and resume semantics
How should transcripts recover across worktrees and summaries?references/transcript-restoration-and-cross-worktree-recovery.mdRestoration boundaries, search, cross-project safeguards, and replay rules
How do users decide between continue / rewind / clear / compact / subagent at each turn?references/context-lifecycle-and-branching.md1M-context branching model, context rot zone, rewind > correction, compact-vs-clear, bad-compact causes, subagent mental test
How do forked subagents change session lifecycle (cache, isolation, resume, cost)?references/context-forking.mdBlank-vs-forked startup, CLAUDE_CODE_FORK_SUBAGENT=1 and /fork surfaces, cache-prefix economics, fork-as-exception rule
Which resume path should I use (session ID / picker / ACP re-attach / recipe re-seed)?references/resume-path-decision-tree.mdDecision tree, path comparison table, prompt-cache economics in subagent spawning
How does OpenAI Codex split Session / Task / Turn protocol state?references/openai-codex-session-task-turn-protocol.mdSQ/EQ protocol, response bookmarks, one-active-task invariant, and interruption rules
How does Codex persist, resume, fork, and cloud-resume sessions?references/openai-codex-session-persistence.mdSQLite-backed session index, codex resume UUID lookup, codex fork branch semantics, codex cloud task-apply

When To Use

  • Design resume and continue flows for a coding-agent CLI
  • Decide how session IDs, titles, or logs map to recovery behavior
  • Restore transcripts, summaries, or worktree-bound state safely
  • Build interactive resume pickers or exact-match resume commands
  • Separate project memory from session memory and transcript state

Use Other Skills

NeedUse Instead
Persistent repo instructions and shared memory files../agents-memory/SKILL.md
Remote execution or bridge sessions../ai-coding-agents-remote-runtime/SKILL.md
Background task lifecycle../ai-coding-agents-tasks/SKILL.md

Default Workflow

  1. Define session identity first. Use a stable session ID and keep title or search aliases as secondary lookup keys.
  2. Split restoreable from recomputable state. Persist transcripts, summaries, and user-visible session identity; recompute caches and discovery indexes after resume.
  3. Clear stale discovery caches before restore. Resume should not inherit old file, skill, or config caches.
  4. Support both exact and interactive recovery. Resume should work by UUID, exact title match, and picker/search fallback.
  5. Treat worktree and project boundaries explicitly. Same-repo worktrees can often resume directly or adopt the worktree; different projects should route through an explicit user command.
  6. Use fallback lookup order deliberately. Enriched session indexes may fail; direct log or transcript lookup should exist as a second path before the runtime declares a session missing.
  7. Restore summary state, not just raw logs. Transcript collapse, synthesized summaries, and lightweight cost or usage state should survive resume even if the visible REPL list is truncated.
  8. Test failure paths. Verify missing sessions, multiple title matches, stale worktree paths, interrupted resume, index miss with direct-log fallback, and cross-project recovery.

Host Rules

  • Session lifecycle is runtime state, not project memory.
  • Resume should restore only state that is safe to trust from storage.
  • Search aliases and custom titles are convenience layers on top of session IDs.
  • Cross-project resume must be explicit and reviewable.
  • Same-repo worktree adoption and cross-project resume should follow different code paths.
  • Resume should clear stale discovery caches before rebuilding live runtime state.
  • If enriched indexes miss a session, the runtime should have a direct-log or transcript fallback before failing hard.
  • Picker flows should exclude the current session and sidechain-only artifacts.

Build Order

  1. Define stable session identity and storage keys.
  2. Separate durable session state from recomputable caches.
  3. Implement exact-ID resume before title or picker-based recovery.
  4. Add cache clearing and live-state rebuild on resume.
  5. Add worktree-aware recovery rules.
  6. Add transcript compaction, summary restore, and fallback lookup paths.

Core Invariants

  • Session identity must not depend on mutable titles.
  • Resume must only trust persisted state that is safe to restore.
  • Discovery caches are disposable and should be rebuilt.
  • Same-repo worktree recovery and cross-project recovery are different problems.
  • Missing enriched indexes must not be the only reason a session becomes unrecoverable.

Failure Modes

  • Resuming the wrong session because title lookup overrode session identity.
  • Restoring stale discovery or config caches into a new runtime.
  • Treating a moved worktree as a missing session instead of a relocation case.
  • Losing summaries or collapsed transcript state even though raw logs exist.
  • Declaring a session missing without checking direct log or transcript fallbacks.

Minimal Viable Version

  • Stable session IDs and exact resume by ID.
  • Persisted transcripts and lightweight session metadata.
  • Cache clear on resume.
  • One picker or search fallback for humans.
  • Direct-log or transcript fallback when secondary indexes fail.

What Strong Implementations Add

  • Worktree adoption and same-repo relocation handling.
  • Progressive transcript loading for large sessions.
  • Summary and usage-state restore alongside raw logs.
  • Picker exclusions for current session and sidechain artifacts.
  • Clear auditability around why a resume succeeded, failed, or switched paths.

Background Agent Sessions

Claude Code supports background agents: daemon-supervised processes that run independently of the active terminal, persisting between invocations and resumable through the agent-view UI.

How Background Sessions Work

AspectDetail
Launchclaude --bg "<task>" from the shell, or /bg <task> / /background <task> from within a session (carries over in-flight shell commands, subagents, and workflows)
IsolationEach background session moves into its own git worktree under project-relative .claude/worktrees/ before editing, unless it's already in a worktree, isn't a git repo, or worktree.bgIsolation is set to "none"
Session stateWritten to ~/.claude/jobs/<id>/state.json; each job also gets a scratch dir at ~/.claude/jobs/<id>/tmp/ and a CLAUDE_JOB_DIR env var pointing at it
RosterAll active background sessions tracked in ~/.claude/daemon/roster.json, used to reconnect after a supervisor restart
DaemonA persistent on-demand supervisor process runs background sessions and restarts stopped ones (idle timeout ~1 hour) with conversation state intact
Resume/manageclaude agents opens the agent-view roster (no /agents slash command exists); claude attach <id>, claude stop <id>, claude respawn <id>, claude rm <id> operate on a specific job from the shell
CI usageclaude agents --json (add --all for completed sessions, --cwd <path> to scope) returns the roster as JSON with id, state, status, waitingFor fields; CI can poll this before collecting output

Storage Paths

text
~/.claude/jobs/<id>/state.json       — per-job session state (transcript, tool state, task state)
~/.claude/jobs/<id>/tmp/             — per-job scratch directory (no permission prompts)
~/.claude/daemon/roster.json         — daemon-maintained roster of all known background jobs
~/.claude/daemon.log                 — supervisor process log
<project>/.claude/worktrees/         — isolated worktrees for background sessions (project-relative, not under the user's home config dir)

Resume Path Decision

When a user returns to a background agent after leaving the terminal:

  1. Run claude agents to open the roster (or claude agents --cwd <path> to scope to a directory) → select the row → attach with Enter/→, or peek with Space without attaching.
  2. Direct attach without the roster UI: claude attach <id> (or claude attach <name> if the session was renamed).
  3. If agent view is disabled (disableAgentView: true in settings, or CLAUDE_CODE_DISABLE_AGENT_VIEW=1): fall back to claude --resume <id> using the job ID from roster.json.
  4. From CI: claude agents --json | jq '.[] | select(.id == "<id>") | .status' to poll job completion before collecting output.
  5. If a session shows as failed after a machine shutdown, claude attach <id> restarts it in place; if the transcript was misread as empty on restart, Claude Code renames it with an .orphaned- suffix rather than discarding it (v2.1.196+).

Lifecycle Settings

SettingEffect
disableAgentView: true (or CLAUDE_CODE_DISABLE_AGENT_VIEW=1)Turns off claude agents, --bg, /background, and the on-demand supervisor entirely — not just the panel
cleanupPeriodDays: <n>Governs local session/transcript retention generally (default 30 days, minimum 1); also bounds how long completed background jobs and their worktrees stick around
awaySummaryEnabled: true (default)Shows a one-line recap of what happened while you were away (5+ minutes) when you return to a session; set to false (or CLAUDE_CODE_ENABLE_AWAY_SUMMARY=0) to suppress it

Design Implications

  • Background session state must be written durably enough to survive supervisor restart (state.json is flushed on every checkpoint, and in-flight shell commands/subagents/scheduled tasks are handed off across a stop-restart cycle as of v2.1.196 — CLAUDE_CODE_DISABLE_BG_EXIT_HANDOFF=1 opts out).
  • Worktree isolation means background agents cannot accidentally dirty the main working tree; merging results back is an explicit user action — though as of v2.1.198, sessions that create a worktree may auto-commit, push, and open a draft PR without asking, which implementations should treat as a policy decision, not a hidden default to copy blindly.
  • roster.json is the authoritative list of background sessions; session pickers should read from it when building the resume list, but it is a rebuildable cache over supervisor-managed process state, not the sole source of truth for a crashed daemon.
  • disableAgentView is a managed enterprise setting exposed both as a settings.json key and an env var — enterprise deployments may hide the whole feature, not just the UI; implementations must not assume it is always present.
  • awaySummaryEnabled is independent of agent-view visibility; a summary can be generated even for a foreground session resumed after being away.

Integration With the Resume Decision Tree

The references/resume-path-decision-tree.md decision tree should route to claude agents as a named path when:

  • The session was started with --bg or /bg
  • The session ID is present in roster.json
  • The terminal was closed and agent-view is the preferred UX

This path sits between "exact session ID resume" (lower UX friction) and "picker search" (broader coverage) in the tree.

Checkpointing and Rewind

Claude Code creates a new checkpoint on every user prompt, capturing the code state before that prompt's edits begin. Checkpoints track only file changes made through Claude's own file-editing tools — they do not capture files touched by bash commands (rm, mv, cp, etc.) or by any process outside the current session. That is a load-bearing limitation, not an edge case: any runtime cloning this pattern must decide explicitly whether to widen tracked-change scope beyond editor-tool calls, and must not imply broader coverage than it has.

Entry Points

MethodBehavior
Esc Esc (double-tap, empty prompt)Open the rewind menu. If the prompt has text, double-Esc clears the input instead (recoverable via Up)
/rewindOpen the rewind menu via slash command
Select a checkpointRestore conversation, code, both — or summarize around that point

Restore Modes

  • Restore code and conversation: full rollback to the selected point
  • Restore conversation: rewind chat history, keep current code
  • Restore code: revert file changes, keep the conversation
  • Summarize from here: keeps messages before the selected point intact; the selected message and everything after collapses into a summary — use to discard a side discussion while keeping earlier context in full detail
  • Summarize up to here: keeps messages after the selected point intact; everything before collapses into a summary and you remain at the end of the conversation — use to compress early setup while keeping recent work in full detail

Both summarize modes preserve the original messages in the session transcript (Claude can still reference them if needed) and accept optional steering instructions, the same way /compact does — but scoped to one side of a chosen point instead of the whole conversation.

Rewind Past a Cleared Conversation

If /clear ran earlier in the same process, the rewind menu shows an extra top entry, /resume <session-id> (previous session), to jump back to the pre-clear conversation (requires a recent-enough Claude Code version; on older versions use /resume and pick it from the picker instead). Design implication: /clear does not destroy the prior session's checkpoints — it starts a new one and the old session remains independently resumable/rewindable.

Design Implications for Session Storage

  • Checkpoints are runtime state, not project memory — they live in the session layer alongside transcripts
  • Checkpoints persist across session resume, so a user can close the terminal and still rewind later
  • Checkpoint storage should be cheap per operation (copy-on-write or incremental diff) to avoid blocking the agent loop
  • The rewind menu should clearly distinguish restore modes (conversation vs code vs both) from the two non-destructive summarize modes, since only the restore modes actually discard state
  • Document the bash-command blind spot explicitly in any user-facing rewind UI — silently implying full coverage is the most common trust-breaking bug in this feature class

Rewind vs Git vs Session Branching

Checkpointing is not a replacement for git, and it is not the same primitive as branching a session. Three distinct mechanisms solve three distinct problems — conflating them is a common design mistake:

MechanismScopeWhat survivesUse when
Rewind / checkpoint (/rewind, Esc Esc)Same session, same conversationFiles reverted via copy-on-write/diff; conversation truncated or summarized in placeUndo the agent's own recent edits or steer the current thread without starting over
Session branch (/branch, or claude --continue/--resume <id> --fork-session)New, independent session — a full copy of the conversation so farOriginal session is untouched and stays resumable; the new session diverges from that point forwardTry a different top-level approach while preserving the path you were on; A/B test prompting or implementation strategy from the same loaded context
Git commitDurable, cross-session, cross-toolWhatever you committed, foreverPermanent history and collaboration

Rewind and /branch/--fork-session are easy to confuse because both "go back to an earlier point," but rewind mutates the current session in place while branching spins up a second, independent session ID that shows up grouped under the root session in the picker. Permissions approved with "allow for this session" do not carry over to a branched session. Users should still commit to git regularly — rewind and branching are for fast in-session experimentation, not long-term version control.

Integration With Compaction

Checkpoints interact with compaction: "Summarize from here" and "Summarize up to here" let the user choose a point to compact around, keeping the side that matters intact while compressing the rest. This is a more targeted alternative to auto-compaction at the context limit, which always summarizes the entire history.

Known Traps

  • Using human-readable titles or recent-path heuristics as the real session identity and colliding restores across worktrees or projects.
  • Persisting caches and derived state that should be recomputed, then replaying stale tool registries, settings, or summaries after resume.
  • Treating transcript restoration as enough while background tasks, checkpoints, and remote-control state are still missing.
  • Assuming one resume path works across local, remote, and cross-worktree recovery without explicit environment validation.
  • Letting compaction destroy decision boundaries that later rewind or debugging workflows still depend on.
  • Conflating in-place rewind/summarize with session branching. Rewind mutates the current session; /branch or --fork-session mints a second, independent session ID. Documenting them as one feature causes users to lose the original thread when they only meant to peek at an alternative.
  • Assuming checkpoint/rewind covers every file mutation. It only tracks changes made through the agent's own file-editing tools — bash-driven renames, deletes, and copies are invisible to it and cannot be undone through rewind.

Common Anti-Patterns

  • Using titles as primary session identity.
  • Persisting caches that should be recomputed.
  • Treating repo memory and runtime session state as the same layer.
  • Assuming one resume code path works equally well across worktrees and projects.
  • Requiring enriched indexes to exist before any session can be restored.

Cross-Platform Patterns (Goose)

Goose adds two session patterns not covered by the Claude Code-derived core: cross-process session re-attach over ACP, and recipe-as-session-seed for deterministic resume.

Cross-process session re-attach (ACP)

Goose runs as an ACP stdio server. When an editor (Zed, JetBrains, etc.) disconnects and reconnects, the session ID is passed back on the new stdin pipe and the agent re-attaches in-place. This is different from in-process resume (already covered by rewind/checkpoint) and different from same-machine file-watch continuation — the process may have restarted, but the session object persists.

  • Pattern: session identity must survive the parent process it was spawned by. Persist session state server-side; require the re-attaching client to prove it holds the session ID.
  • Anti-pattern: binding session lifetime to the stdin FD or parent PID. That collapses editor restarts, agent upgrades, and sleep/resume into session loss.
  • Recipe: on ACP connect, the agent looks up the session ID in its session store; if found and auth proof matches, resume from persisted transcript + checkpoint. If not, create new. Log whether a resume hit or missed so operators can distinguish session loss from client-side amnesia.

Recipe-as-session-seed

A resumed session is usually rehydrated from the transcript. Goose's recipe model offers an alternative: a session can be re-seeded from the recipe that spawned it plus its parameters — a typed, versioned, much smaller artifact than a raw transcript. This is stronger than transcript replay because inputs are structured and the recipe version pins extension set and instructions.

  • Pattern: for recipe-spawned sessions, persist (recipe ref, recipe version, parameter values, output checkpoints) alongside the transcript. Resume can choose: replay transcript (high fidelity, large) or re-spawn from recipe + parameters + last checkpoint (deterministic, small).
  • Anti-pattern: storing only the transcript for recipe-spawned sessions. On cross-version resume, the transcript may reference tools or extensions no longer in the envelope.
  • Recipe: add a seed_ref: Option<RecipeSeed> field to session metadata. When present, resume UI should offer "replay transcript" and "re-run recipe from last checkpoint" as named modes.

Navigation

References

Data

  • data/sources.json — Primary documentation and source references for session lifecycle guidance

Related Skills

Fact-Checking

  • Known bugs, regressions, framework/compiler/runtime footguns, and version-specific crash or workaround guidance must be verified against current primary web sources before being treated as current fact.
  • Session/resume/checkpoint mechanics were re-verified against code.claude.com/docs/en/{sessions,checkpointing,sub-agents,agent-view} and learn.chatgpt.com/docs/developer-commands on 2026-07-11. Several details in this file are gated behind a specific Claude Code version (noted inline, e.g. "v2.1.117+", "v2.1.196+"); re-check the changelog before asserting exact behavior on an unknown build.
  • Resume, checkpoint, and log storage formats drift release to release — Anthropic's own docs state the transcript JSONL entry format is internal and can change between versions. Preserve the architecture and behavioral contracts described here; re-verify exact file formats and flag names before shipping code that parses them directly.
  • The Codex references in this skill mix two source types: CLI-surface behavior (re-verified against learn.chatgpt.com/docs/developer-commands, 2026-07-11) and internal storage architecture (SQLite index, crate/file names) pinned to a specific openai/codex source commit from 2026-05-25 that is not restated in public docs — treat the storage-layer claims as commit-pinned engineering detail, not a documented public contract, and re-check against current source before relying on exact file/module names.

Learnings Loop

Before applying this skill on a non-trivial task, read learnings.consolidated.md in this directory (and learnings.md if present).

After applying it, if you encountered a pattern worth remembering, a mistake worth preventing, or a domain fact that surprised you, append one dated bullet to learnings.md via agents-skills-feedback-loop/scripts/append_learning.py. Do not modify SKILL.md itself.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Ai Coding Agents Sessions AI 技能有什么作用?

为编程智能体运行时设计会话生命周期。适用于实现会话恢复、对话记录还原、检查点回退、跨工作树恢复或会话状态持久化。

为什么在 TypingMind 中使用 Ai Coding Agents Sessions?

因为您只需安装一次,就能搭配任何模型使用。Ai Coding Agents Sessions 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Ai Coding Agents Sessions?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/vasilyu1983/AI-Agents-public/tree/main/frameworks/shared-skills/skills/ai-coding-agents-sessions。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Ai Coding Agents Sessions?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Ai Coding Agents Sessions 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Ai Coding Agents Sessions 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Ai Coding Agents Sessions AI 技能免费吗?

是的。vasilyu1983 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇