Artifact Management
Intro
Artifacts are tangible deliverables — documents, design files,
datasets, build outputs, slide decks, videos, or external URLs.
Unlike Notes (thoughts in transit), Artifacts are completed
deliverables registered in the project catalog. Unlike WorkItems
(units of tracked work), Artifacts have no state lifecycle — they
exist or they don't.
Two storage patterns are equally valid:
- Self-hosted: the artifact content is the Markdown body of the
entity file;
spec.location may reference the file's own path or
be omitted. Use for documents that belong in the repository (PRDs,
runbooks, research reports, work instructions).
- Pointer: the deliverable lives elsewhere (external URL, cloud
storage, build artifact);
spec.location is the canonical address.
processkit stores only the metadata card.
MCP server. This skill ships a self-contained MCP server at
mcp/server.py (PEP 723 script — requires uv and Python ≥ 3.10
on PATH). Agent harnesses may reach it directly from this skill's
mcp/mcp-config.json or through the processkit gateway. Gateway
deployments must surface only the processkit servers present in the
installed/merged MCP configuration; this skill does not imply that
unrelated processkit tools are available.
Overview
Artifact kinds
spec.kind classifies the artifact:
| kind |
When to use |
document |
Prose documents — PRDs, runbooks, reports, guides |
design |
Design files — Figma, Excalidraw, wireframes |
dataset |
Structured data — CSV, JSON, Parquet |
build |
Compiled outputs — binaries, bundles, tarballs |
slides |
Presentation decks — PPTX, PDF slide decks |
video |
Recorded content — demos, walkthroughs |
spec |
Formal specifications — OpenAPI, JSON Schema, proto |
diagram |
Architecture and flow diagrams |
url |
External web resources, dashboards, hosted tools |
other |
Anything that doesn't fit the above |
When to create an Artifact
Create an Artifact when:
- A deliverable is complete enough to reference and share.
- Something produced by the project should be discoverable later
(a report, a shipped binary, an approved design).
- A Note has been promoted to a finished document.
- A work item produced a document or design that should be cataloged.
Do not create Artifacts for in-progress work — use a WorkItem
or a Note while the thing is still being made.
Creating
- Choose
kind from the table above.
- Write a short, descriptive
name.
- Provide
slug_summary when available: 4-6 meaningful words that
summarize the durable deliverable. The server validates this shape
and turns it into the ID slug; if omitted, the name remains the
backwards-compatible fallback.
- Set
location for pointer artifacts (URL, path, bucket key).
Omit or set to the entity file path for self-hosted artifacts.
- Set
produced_by to the WorkItem or other producing entity ID.
- Set
owner to the responsible Actor ID.
- Add
tags for retrieval (topic, project, format, etc.).
- Write the file to
context/artifacts/ART-<id>.md.
- Log
artifact.created.
Querying
Common queries via query_artifacts:
- All artifacts of a given kind (e.g., all
document artifacts)
- All artifacts owned by an actor
- All artifacts tagged with a given tag
- Full-text search via
index-management
Updating
Use update_artifact to revise metadata (new version, updated
location, changed owner). Pass touch_updated_at=false for
metadata-only updates that should not restamp metadata.updated and
invalidate an agent's prior body-read freshness checks. To replace the
body content of a self-hosted artifact, update the Markdown body via
update_artifact or by editing the file directly followed by reindex.
Gotchas
Agent-specific failure modes:
- Creating an Artifact for in-progress work. An Artifact is a
completed deliverable. If the thing isn't done yet, use a WorkItem
(for tracked work) or a Note (for an idea still forming). Premature
Artifact registration pollutes the catalog with incomplete items.
- Omitting
location for pointer artifacts. If the content lives
outside the repository (a URL, a cloud bucket path, a release
binary), location is the only way to find it. Omitting it makes
the catalog entry useless as a pointer.
- Duplicate registration. Before
create_artifact, run
query_artifacts and check for an existing entry with the same
name or location. Duplicates create confusion about which entry is
canonical.
- Using Artifact for ephemeral build outputs. Not every build
artifact needs a catalog entry. Register the ones that matter for
the release, for compliance, or for future reference. Registering
every intermediate build output creates noise.
- Forgetting
produced_by. Linking the artifact back to the
WorkItem or other entity that produced it is cheap and makes the
catalog navigable. Always set it when the provenance is known.
Full reference
Full field list
See src/context/schemas/artifact.yaml for the authoritative schema.
| Field |
Required |
Description |
name |
yes |
Human-readable name |
kind |
yes |
Subtype (see table above) |
location |
no* |
Path, URL, or storage key (* required for pointers) |
format |
no |
File format or MIME type (e.g. pdf, image/png) |
version |
no |
Version identifier for the artifact |
checksum |
no |
Hash for integrity verification |
owner |
no |
Actor ID responsible for the artifact |
produced_by |
no |
Entity ID that produced this, usually a WorkItem |
produced_at |
no |
ISO 8601 datetime when the artifact was produced |
tags |
no |
Freeform tags for retrieval |
Note vs Artifact decision rule
| State |
Use |
| Idea, half-formed thought |
Note |
| In-progress document |
Note or WorkItem body |
| Finished, shareable deliverable |
Artifact |
| External resource to reference |
Artifact (pointer) |
Relationship to WorkItems
A WorkItem is the unit of work that produces an Artifact. Link the
two via spec.produced_by on the Artifact (pointing to the WorkItem
ID). This gives a navigable trail from deliverable back to the work
that created it.
1---2name: artifact-management3description: |4 Create, retrieve, query, and update Artifacts — tangible deliverables5 produced by the project. Use when storing or retrieving documents,6 designs, datasets, build outputs, slide decks, or any completed7 deliverable that should be registered in the project catalog.8metadata:9 source: https://skillmd.com/skills/projectious-work/artifact-management10 processkit:11 apiVersion: processkit.projectious.work/v212 id: SKILL-artifact-management13 version: "1.0.0"14 created: 2026-04-11T00:00:00Z15 category: processkit16 layer: 217 uses:18 - skill: event-log19 purpose: Log events to keep the audit trail accurate after every write.20 - skill: index-management21 purpose: Query existing entities and keep the SQLite index fresh after writes.22 - skill: id-management23 purpose: Allocate unique entity identifiers via central ID generation.24 provides:25 primitives: [Artifact]26 mcp_tools: [create_artifact, get_artifact, query_artifacts, update_artifact]27---2829# Artifact Management3031## Intro3233Artifacts are tangible deliverables — documents, design files,34datasets, build outputs, slide decks, videos, or external URLs.35Unlike Notes (thoughts in transit), Artifacts are completed36deliverables registered in the project catalog. Unlike WorkItems37(units of tracked work), Artifacts have no state lifecycle — they38exist or they don't.3940Two storage patterns are equally valid:4142- **Self-hosted**: the artifact content is the Markdown body of the43 entity file; `spec.location` may reference the file's own path or44 be omitted. Use for documents that belong in the repository (PRDs,45 runbooks, research reports, work instructions).46- **Pointer**: the deliverable lives elsewhere (external URL, cloud47 storage, build artifact); `spec.location` is the canonical address.48 processkit stores only the metadata card.4950> **MCP server.** This skill ships a self-contained MCP server at51> `mcp/server.py` (PEP 723 script — requires `uv` and Python ≥ 3.1052> on PATH). Agent harnesses may reach it directly from this skill's53> `mcp/mcp-config.json` or through the processkit gateway. Gateway54> deployments must surface only the processkit servers present in the55> installed/merged MCP configuration; this skill does not imply that56> unrelated processkit tools are available.5758## Overview5960### Artifact kinds6162`spec.kind` classifies the artifact:6364| kind | When to use |65|------------|---------------------------------------------------------|66| `document` | Prose documents — PRDs, runbooks, reports, guides |67| `design` | Design files — Figma, Excalidraw, wireframes |68| `dataset` | Structured data — CSV, JSON, Parquet |69| `build` | Compiled outputs — binaries, bundles, tarballs |70| `slides` | Presentation decks — PPTX, PDF slide decks |71| `video` | Recorded content — demos, walkthroughs |72| `spec` | Formal specifications — OpenAPI, JSON Schema, proto |73| `diagram` | Architecture and flow diagrams |74| `url` | External web resources, dashboards, hosted tools |75| `other` | Anything that doesn't fit the above |7677### When to create an Artifact7879Create an Artifact when:8081- A deliverable is complete enough to reference and share.82- Something produced by the project should be discoverable later83 (a report, a shipped binary, an approved design).84- A Note has been promoted to a finished document.85- A work item produced a document or design that should be cataloged.8687Do **not** create Artifacts for in-progress work — use a WorkItem88or a Note while the thing is still being made.8990### Creating91921. Choose `kind` from the table above.932. Write a short, descriptive `name`.943. Provide `slug_summary` when available: 4-6 meaningful words that95 summarize the durable deliverable. The server validates this shape96 and turns it into the ID slug; if omitted, the name remains the97 backwards-compatible fallback.984. Set `location` for pointer artifacts (URL, path, bucket key).99 Omit or set to the entity file path for self-hosted artifacts.1005. Set `produced_by` to the WorkItem or other producing entity ID.1016. Set `owner` to the responsible Actor ID.1027. Add `tags` for retrieval (topic, project, format, etc.).1038. Write the file to `context/artifacts/ART-<id>.md`.1049. Log `artifact.created`.105106### Querying107108Common queries via `query_artifacts`:109110- All artifacts of a given kind (e.g., all `document` artifacts)111- All artifacts owned by an actor112- All artifacts tagged with a given tag113- Full-text search via `index-management`114115### Updating116117Use `update_artifact` to revise metadata (new version, updated118location, changed owner). Pass `touch_updated_at=false` for119metadata-only updates that should not restamp `metadata.updated` and120invalidate an agent's prior body-read freshness checks. To replace the121body content of a self-hosted artifact, update the Markdown body via122`update_artifact` or by editing the file directly followed by reindex.123124## Gotchas125126Agent-specific failure modes:127128- **Creating an Artifact for in-progress work.** An Artifact is a129 completed deliverable. If the thing isn't done yet, use a WorkItem130 (for tracked work) or a Note (for an idea still forming). Premature131 Artifact registration pollutes the catalog with incomplete items.132- **Omitting `location` for pointer artifacts.** If the content lives133 outside the repository (a URL, a cloud bucket path, a release134 binary), `location` is the only way to find it. Omitting it makes135 the catalog entry useless as a pointer.136- **Duplicate registration.** Before `create_artifact`, run137 `query_artifacts` and check for an existing entry with the same138 name or location. Duplicates create confusion about which entry is139 canonical.140- **Using Artifact for ephemeral build outputs.** Not every build141 artifact needs a catalog entry. Register the ones that matter for142 the release, for compliance, or for future reference. Registering143 every intermediate build output creates noise.144- **Forgetting `produced_by`.** Linking the artifact back to the145 WorkItem or other entity that produced it is cheap and makes the146 catalog navigable. Always set it when the provenance is known.147148## Full reference149150### Full field list151152See `src/context/schemas/artifact.yaml` for the authoritative schema.153154| Field | Required | Description |155|---------------|----------|-------------------------------------------------------|156| `name` | yes | Human-readable name |157| `kind` | yes | Subtype (see table above) |158| `location` | no* | Path, URL, or storage key (* required for pointers) |159| `format` | no | File format or MIME type (e.g. `pdf`, `image/png`) |160| `version` | no | Version identifier for the artifact |161| `checksum` | no | Hash for integrity verification |162| `owner` | no | Actor ID responsible for the artifact |163| `produced_by` | no | Entity ID that produced this, usually a WorkItem |164| `produced_at` | no | ISO 8601 datetime when the artifact was produced |165| `tags` | no | Freeform tags for retrieval |166167### Note vs Artifact decision rule168169| State | Use |170|---------------------------------|-----------|171| Idea, half-formed thought | Note |172| In-progress document | Note or WorkItem body |173| Finished, shareable deliverable | Artifact |174| External resource to reference | Artifact (pointer) |175176### Relationship to WorkItems177178A WorkItem is the unit of work that produces an Artifact. Link the179two via `spec.produced_by` on the Artifact (pointing to the WorkItem180ID). This gives a navigable trail from deliverable back to the work181that created it.