COLLEAGUE.SKILL: turning a person's working traces into a skill package you can read, correct and roll back

When a senior engineer leaves a team, their review standards rarely leave behind a manual. They are scattered across code-review comments, incident notes, design documents and chat decisions. An agent could, in principle, carry some of that judgment forward, but only if someone turns those traces into instructions the agent can load. COLLEAGUE.SKILL is an open-source system from the Shanghai Artificial Intelligence Laboratory that automates this step: it takes materials about a target person or role and emits an Agent Skills-compatible package with a capability track, a separate behavior track, metadata and version history. Source: Abstract and §1, pp. 1–2.

The paper is best read as a system and artifact-design paper. It defines what the generated package should contain and how it is created, corrected, versioned and distributed. It contains no benchmark, no comparison against other methods and no ablation, and the authors state explicitly that they do not claim the generated skills faithfully reproduce a person or improve downstream work. Source: §2 and §8 "Behavioral fidelity frontier", pp. 3, 9.

The question: how do skills get written when nobody wrote the manual?

The authors start from a shift in how agents are extended. Tools connect agents to external actions; skills package domain knowledge, procedures, scripts and references that the agent can discover and load on demand. The Agent Skills standard defines a skill as a folder centered on a SKILL.md file with metadata and instructions, and Claude Code treats skills as reusable capabilities that can be invoked directly or loaded when relevant. The format is starting to act as a portable unit of capability. Source: §1, pp. 1–2.

What the standard does not specify is how to author a skill when the knowledge is not already written down. The paper gives three examples of where such knowledge lives: a departing teammate's review standards in code comments, incident notes and chat; a public figure's reasoning style across interviews, speeches, essays and decisions; and interpersonal patterns in private interaction histories, where consent and retention matter. The authors argue that the challenge is not only retrieval but distilling selected evidence into a reusable package whose contents, provenance, correction history and usage limits stay visible. Source: §1, p. 2.

They call this person-grounded trace-to-skill distillation. The framing is deliberately narrow: the goal is not an unrestricted conversational model of an individual, and the generated object is treated as an editable technical artifact rather than as the person. In a workplace case the output might be an engineer's API review checklist, incident triage heuristics and escalation thresholds. Source: §1, pp. 1–2.

The paper lists four contributions: formulating the problem as an artifact problem with portability, inspectability, correctability, composability and governance requirements; the distillation pipeline itself; the workflow for collection, rendering, multi-host installation, natural-language correction, rollback and optional gallery distribution; and documentation of the open-source deployment and public gallery. Source: §1, p. 2.

Problem formulation: a package, not a model of a person

Section 2 defines generation formally. Given a lightweight profile pp, a source scope cc, and source materials D={d1,…,dn}D = {d₁, …, dₙ}, the system produces a skill package

S=(A,M,L)S = (A, M, L),

where AA is the set of generated files, MM is machine-readable metadata and installation information, and LL is lifecycle state such as version, update time, correction count and rollback history. The equation is a definition of the output's parts, not an optimization objective; there is no loss function or scoring rule attached to it. Source: §2, p. 2.

The package should satisfy five operational properties: portable (skills-compatible agents load it through ordinary skill mechanisms), inspectable (users can read extracted rules, examples, limitations and metadata before use), composable (full, work-only and persona-only entrypoints can be invoked separately), correctable (new evidence or feedback updates the package while preserving prior state), and governable (metadata, source boundaries and disclaimers support deletion, sharing decisions and safety review). Source: §2, pp. 2–3.

The authors note that domains instantiate DD differently: colleague skills draw on design documents, code-review comments, chat decisions and incident notes; public-figure skills should favor first-person evidence and long-form interviews; relationship skills may contain private traces, which makes consent and local control part of the technical problem. They describe their claim as narrower than behavioral cloning: selected traces can be turned into a skills-compatible artifact with explicit files, metadata, entrypoints, correction records and lifecycle operations, which can be inspected for structure, source boundaries, update behavior and deployment compatibility before any human-subject or task-performance study exists. Source: §2, p. 3.

The pipeline: five stages and a governance rail

COLLEAGUE.SKILL expert distillation pipeline
Figure 1 of the original paper, p. 3. Five stages run left to right: trace intake, preset router, dual distill, artifact writer and productization. A governance rail underneath lists local-first storage, provenance and evidence, a correction log, version and rollback, and the optional gallery. Source: §3, Figure 1, p. 3.

Reading the figure with the text of §3:

  1. Trace intake. Collectors and parsers normalize documents, email, screenshots, chats, reviews and public material into a local knowledge directory (knowledge/{slug} in the figure), with the source boundary retained.
  2. Preset router. A preset (colleague core, relationship extension or celebrity extension) selects prompts and sets storage and command semantics.
  3. Dual distill. Analyzers extract evidence about durable capability, mental models and bounded interaction style into two separate tracks, rendered as work.md and persona.md.
  4. Artifact writer. Builders render structured Markdown and a shared writer produces a schema-v3 package with SKILL.md, manifest.json and meta.json, plus sub-skills and slash commands.
  5. Productization. The package can be installed into agent hosts, invoked, shared, or, when source rights and metadata permit, prepared for the optional gallery.

The text says the system accepts chat logs, work documents, email, screenshots, public research material, subtitles and lightweight user descriptions, and that packages can be installed into hosts such as Claude Code, OpenClaw, Codex and Hermes. Source: §1 and §3, pp. 2–3. The paper does not name the language model that performs extraction, nor does it give the prompts themselves.

Presets are configuration, not separate systems

The repository defines three presets: colleague, celebrity and relationship. Each specifies a source boundary, storage root, command aliases, prompt bundle, and optional research or safety tooling. Figure 2 (p. 4) shows them as branches of one shared pipeline ("collect traces → dual-track distillation → versioned SKILL.md package") with the same schema and lifecycle. The colleague preset (/create-colleague) uses enterprise or local work traces, with organizational access, handover utility and work-only entrypoints as governance concerns. The celebrity preset (/create-icon) uses public first-person works, interviews and speeches, with citation discipline and no private inference. The relationship preset (/create-ex) uses private interpersonal traces supplied by the user, with consent, local control, deletion and non-public defaults. The authors argue that adding a future preset such as self, author or team then becomes a configuration and prompt-design change rather than a new program. Source: §3.1, Figure 2, pp. 3–4.

Dual representation: separating judgment from tone

The central design decision is to split every artifact into two tracks. The work or capability track holds responsibilities, workflows, technical standards, review criteria, decision heuristics and lessons from past work. The second track is named persona.md, but its role is narrower than the name suggests: it stores bounded behavior constraints, expression preferences, interaction rules and correction records. At runtime the agent should select the relevant behavior constraints, apply the capability track and stay within the artifact's stated boundaries. Source: §3.2, p. 4.

The authors' rationale is that many persona-system failures come from conflating three things: factual knowledge, procedural judgment and surface tone. Separating them makes each inspectable and separately invocable. In the colleague case this keeps the object focused on reusable expert judgment rather than on simulating a person. This is the authors' design argument; the paper does not measure how often such conflation causes failures. Source: §3.2, p. 4.

The artifact contract

Table 1: runtime artifact contract emitted by the shared writer
Table 1 of the original paper, p. 5. Seven files, each with a primary consumer. Source: §3.3, Table 1, pp. 4–5.

The writer normalizes metadata into a versioned schema (version 3 in the current implementation) containing identity, preset family, source context, classification, artifact names, engine and toolchain metadata, generation provenance, lifecycle state and compatibility fields. It then renders:

  • SKILL.md, consumed by the agent runtime and the user: the combined invokable skill with frontmatter, the capability track, the persona track and operating rules.
  • work.md and persona.md, consumed by the user and the updater: editable source documents for procedures, standards, heuristics and task patterns, and for style, interaction posture, boundaries and the correction log.
  • work_skill.md and persona_skill.md, consumed by the agent runtime: capability-only and persona-only entrypoints generated from the two source documents.
  • manifest.json, consumed by installers and the gallery: entrypoints, artifact list, compatible runtimes, slash commands and toolchain metadata.
  • meta.json, consumed by lifecycle tools: schema, provenance, lifecycle version, correction count and compatibility fields.

The combined SKILL.md carries standard frontmatter with a generated name, a description and user-invocable: true; its body embeds the capability track as Part A and the behavior track as Part B. The authors align this with the Agent Skills standard, in which SKILL.md is the required entrypoint, and with progressive disclosure, where an agent sees metadata first and loads detailed instructions only on invocation. The practical consequence is that one package can be used as a full person-grounded skill, a capability-only skill or a behavior-only style reference. Source: §3.3, pp. 4–5.

Notice the division of labor in the table. Humans edit work.md and persona.md; agents load derived entrypoints; installers read the manifest; lifecycle tools read meta.json. Editing and execution are separated, which is what makes regeneration after a correction possible.

Creation: from an alias and source material to two tracks

Creation starts with a user-provided alias, optional profile fields and source material. Repository-supported collectors and import paths cover Feishu, DingTalk, Slack, WeChat SQLite exports, email archives, PDFs, screenshots, Markdown and direct paste. Presets then specialize the path: for colleagues the prompt emphasizes work practice and review judgment; the celebrity preset adds a research pass over first-person writings, interviews, decisions, expression style, external reception and timeline evidence; the relationship preset changes prompt focus and consent assumptions without changing the artifact contract. Source: §4.1, p. 5.

Generation then runs two conceptual tracks. The capability track extracts durable work methods, expert heuristics or source-grounded mental models; the behavior track extracts expression and interaction patterns within the preset's boundaries. Builders render structured Markdown and the writer packages the result into the Table 1 contract. The authors' point is that capability claims and behavior claims become inspectable at the file level instead of being hidden inside one prompt. Source: §4.1, p. 5.

Correction and versioning: the part most relevant to agent builders

The authors assume the generated artifact will be imperfect. A correction handler recognizes natural-language feedback such as "he would not say that" or "she would push back here," and routes it by kind:

  • Corrections about expert work become a Markdown patch to a relevant section of the capability document. A patch whose level-2 heading matches an existing section replaces that section; a patch with no matching heading is appended.
  • Corrections about expression or interaction become a normalized correction record with three fields: {scene, wrong, correct} — the situation, what the skill did wrongly, and what it should do instead.

After either kind, the writer archives the current version, applies the patch or record, increments the lifecycle version and regenerates all derived artifacts. A version manager can list archived versions, back up the current artifacts, roll back to an earlier version and clean old archives. Source: §4.2, p. 5.

Versioned skill lifecycle
Figure 3 of the original paper, p. 6. The runtime lane runs Create (v1 package) → Inspect (sources and artifacts) → Invoke (full/work/persona) → Correct (patch or behavior record) → Archive (v2 plus prior state) → Install/Share (host or gallery). The update lane below runs Correction record (scene/wrong/correct) → Patch and regenerate (section merge and derived files) → Archive metadata (version, provenance, count) → Rollback/delete (recover or remove package), labelled as user-owned state and auditable history. The caption states that corrections and patches create new versions while preserving rollback points. Source: §4.2, Figure 3, p. 6.

Two details are worth noting; what follows is our reading of the described rules rather than a result in the paper. The merge rule is simple and deterministic: heading match replaces, otherwise append. It keeps updates predictable, but a correction whose heading does not match will accumulate as a new section rather than modify the existing one; the paper does not discuss conflict handling beyond this rule. Second, because all derived files are regenerated from work.md and persona.md, the editable documents act as the single source from which runtime entrypoints are rebuilt.

Extensions: public figures and relationships

Public-figure research extension (§4.3). The celebrity preset prioritizes first-person works, long-form interviews, documented decisions and clearly marked inferences over short summaries or content farms. Its tooling includes subtitle download, audio transcription, subtitle cleanup, research-note merging and quality checks. The quality checker scans for mental-model coverage, limitations, expression patterns, internal tensions, grounding URLs and copyright-safety signals. The authors are explicit that this does not certify factual truth; it records evidence limits and lets the system lower confidence when evidence is thin instead of filling gaps with generic persona text. §6 adds that the celebrity family uses a six-dimensional research pass. Source: §4.3 and §6, pp. 6–7.

Relationship extension (§4.4). The relationship preset applies the same workflow to private interpersonal traces. The authors frame its value not as replacing a person but as representing interaction traces as local, editable, deletable state rather than as an opaque prompt or hidden memory. It requires stronger assumptions about consent, retention, access control and optional sharing, and in the paper's framing it stresses the governance surface: deletion, correction, local ownership and non-public defaults become first-order requirements. §6 lists its risks plainly — emotional overattachment, non-consensual simulation and misuse of private chats — and says it is included as an extension capability, not an endorsement of unconstrained use. Source: §4.4 and §6, pp. 6–7.

Deployment numbers, and what they do not mean

COLLEAGUE.SKILL is deployed as an open-source repository with a public site and gallery. Generated skills can stay local, be installed into a host, or be submitted to the gallery when the user has rights to publish them. On 2026-05-28 the authors observed counters listing 215 skills, 55 meta-skills and 165 contributors in the gallery. Figure 4 (p. 7) also shows roughly 18.5k GitHub stars, roughly 1.8k forks and 104 commits for the repository, and more than 100k cumulative gallery stars. The per-card star counts are synchronized asynchronously and may lag GitHub, so the aggregate is reported only at order-of-magnitude level. Source: §5, Figure 4, pp. 6–7.

The authors themselves limit how these numbers should be read: they are evidence of a public distribution surface, not of adoption quality, task performance or behavioral fidelity. Source: §5 and Figure 4 caption, pp. 6–7.

Application cases

Section 6 presents three design-oriented examples, which the authors describe as illustrations of the artifact workflow, not claims of behavioral equivalence. Source: §6, p. 7.

  • Colleague skill. Built from design documents, chat decisions, review comments and incident notes. Its useful behavior is applying review criteria — for example checking authentication, input validation, rate limiting, response schema and sensitive-data exposure before lower-priority issues — rather than copying style. Work rules and behavior constraints are kept apart so that work-only invocation is possible when style transfer is inappropriate.
  • Celebrity skill. Built from public evidence with a six-dimensional research pass and quality checks emphasizing mental models, citations and explicit boundaries. It should indicate where evidence is thin and should not present itself as the actual person.
  • Relationship skill. Represents interaction patterns as local, editable state, with deployment prioritizing local ownership, deletion, clear disclaimers and opt-in sharing.

Section 7 places the work in three lines. Against agent-skill and tool-use research (ReAct, Toolformer, Reflexion, Self-Refine, AutoGen, AgentBench, the Agent Skills specification and an analysis of public Claude skills), COLLEAGUE.SKILL adopts the existing skill format and asks how a person's standards and patterns can be distilled into it. Against skill libraries and skill synthesis — Voyager's executable code skills, SkillX's hierarchical skills distilled from agent trajectories, SkillGen's auditable skills synthesized from successful and failed trajectories, AutoSkill's skills abstracted from dialogue traces — it differs in distilling human traces, deliberately separating capability from bounded behavior, exposing correction and rollback state, and targeting multiple hosts and sharing surfaces. Against memory, personalization and role-play (RAG, LaMP, PersonaAgent, Character-LLM, RoleLLM, SOTOPIA), it describes itself as narrower: explicit, reviewable artifacts rather than representations held inside retrieval stores, context managers or model behavior. Source: §7, pp. 7–8.

Discussion: why the authors treat the workflow as the contribution

In §8 the authors argue that a single prompt can mimic surface behavior but rarely makes extracted knowledge accountable. Treating distillation as a workflow over files — creation, inspection, invocation, correction, rollback, deletion, host installation and optional distribution — is, in their framing, what allows a generated skill to be audited, repaired, withheld or shared. It also sharpens the research object: extraction quality can be examined at the level of work.md and persona.md, installation runs through manifests, and governance acts on explicit metadata rather than hidden prompt state. They also argue that productization is part of the research contribution, because installers, manifests, gallery metadata, rollback state and deletion paths give future studies concrete handles to compare source scopes, correction records, invocation modes and publication labels. Source: §8, pp. 8–9.

The "behavioral fidelity frontier" paragraph lists open questions that require human and task-based studies: whether colleague skills catch the same review issues as the source expert, whether capability-only variants keep utility without persona risk, whether relationship skills encourage overattachment, whether corrections improve behavior without regressions, and whether public-figure extensions cite evidence rather than hallucinate motives. The authors suggest that an evaluation should compare full, capability-only and behavior-only artifacts under matched source evidence, since each variant has a different risk-utility trade-off. This is a proposed protocol; no such evaluation is reported. Source: §8, p. 9.

Limitations stated by the authors

Section 9 states that the system treats person-grounded skills as editable artifacts, not faithful simulations, identity substitutes or consent proxies. Source matching, task performance, emotional safety and user trust calibration are left open. Real deployments depend on source quality, extraction quality, model behavior and human review. Corrections can improve an artifact, but they can also encode editor bias or make contested traces look more settled than they are. Responsible deployment, in the authors' view, requires explicit participation, scoped source collection, access controls, retention limits and non-mandatory use; lawful source use, consent and full redaction need separate review; gallery publication should be opt-in with submitter attestation, review, takedown, source-boundary labels and visible disclaimers. Source: §9, p. 9.

The conclusion restates the scope: the system does not solve behavioral fidelity, but makes person-grounded distillation visible enough to be governed, improved and evaluated, and future benchmarks should test whether a bounded package preserves useful judgment while keeping provenance, consent and failure modes visible. Source: §10, p. 9.

What an agent developer can take from it

The following is our assessment, not a finding of the paper.

The most transferable idea is structural: keep what an agent should judge separate from how it should sound, store both as human-editable documents, and regenerate the runtime entrypoints from them. For teams that capture a reviewer's criteria or an operator's escalation thresholds as skills, a capability-only entrypoint avoids importing style where it is not wanted, and a behavior track with explicit boundaries keeps tone from becoming identity.

The correction format is also directly reusable. Routing feedback by type — section patches for knowledge, {scene, wrong, correct} records for interaction behavior — and archiving a version before every change gives a simple audit trail and rollback point. The authors' own warning applies: corrections can encode the editor's bias, so a versioned history is a mechanism for review, not evidence that each correction improved behavior.

The paper supports using this as a packaging and governance design. It does not support claims that a generated colleague skill reviews code as well as the original engineer, that corrections reduce errors, or that the gallery's star counts reflect quality. Teams adopting the approach would need their own task-based evaluation, ideally along the full / capability-only / behavior-only comparison the authors propose, and their own consent and access controls for the traces they ingest.

Original paper: Tianyi Zhou, Dongrui Liu, Leitao Yuan, Jing Shao and Xia Hu, COLLEAGUE.SKILL: Automated AI Skill Generation via Expert Knowledge Distillation, arXiv:2605.31264v1, 29 May 2026. Abstract and paper.

B2B Content

Any content, beautifully transformed for your organization

PDFs, videos, web pages — we turn any source material into production-quality content. Rich HTML · Custom slides · Animated video.