Skip to main content

Core artifact primitive for the cjhowe-us/artifact-plugin Claude Code plugin ecosystem.

Project description

artifact

Core artifact primitive for the cjhowe-us/artifact-plugin ecosystem. Ships:

  • Scheme kindsvertex, edge, metadata. Every scheme declares one.
  • Core schemesartifact-template, pydantic-schema, preferences, conversation, notifications. Plus nine edge-kind schemes (composed_of, depends_on, validates, references, mentions, supersedes, cites, bundled_in, closes) via a shared factory. Plus metadata-kind schemes (authors, tags, status).
  • Core storagesfile (git worktree), user-config, session-memory, os-notifications.
  • Generic mediator — validates every subcommand's inputs and outputs via pydantic, dispatches to storages.
  • Jinja templating.jinja.* file naming convention drives rendering via artifactlib.render.
  • Graph — every edge is an artifact; graph.py is a thin wrapper over list with relation + endpoint filters.
  • /artifact skill — user entry point.

Zero runtime deps besides Python 3.11+, pydantic>=2, tomlkit>=0.13, jinja2>=3.1. Cross-platform.

Source of truth: DESIGN.md.

Install

claude plugin marketplace add cjhowe-us/marketplace
claude plugin install artifact@cjhowe-us-marketplace

Other ecosystem plugins (artifact-github, artifact-documents, workflow) depend on this one.

Layout

artifact/
  DESIGN.md
  scripts/
    artifactlib/           # shared Python package — kinds, scheme loader, storages, graph, mediator
    run-provider.py        # dispatch CLI
    graph.py               # graph CLI
  hooks/
    sessionstart-discover.py
    hooks.json
  artifact-schemes/        # one dir per scheme: scheme.toml + scheme.py + README.md
  artifact-storage/        # one dir per storage: storage.toml + storage.py + README.md
  tests/                   # pytest

URI format

<scheme>|<storage>/<path>

Examples:

  • document|file/docs/design/auth — a document vertex stored as docs/design/auth.md + .content.toml.
  • composed_of|file/<source-slug>--<target-slug> — an edge artifact JSON.
  • preferences|user-config/user — the user's preferences bundle.

Prerequisites

Python 3.11+ with pydantic>=2, tomlkit>=0.13, jinja2>=3.1. git on PATH.

License

Apache-2.0.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

artifact_plugin-2.0.5.tar.gz (21.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

artifact_plugin-2.0.5-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

Details for the file artifact_plugin-2.0.5.tar.gz.

File metadata

  • Download URL: artifact_plugin-2.0.5.tar.gz
  • Upload date:
  • Size: 21.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for artifact_plugin-2.0.5.tar.gz
Algorithm Hash digest
SHA256 695a6fd204501161e698bbfadd2045ec4f1012c7e9cc1171d1c217a820a87ab3
MD5 f62774c026c6288555a40a9efc2e0128
BLAKE2b-256 a14112b15aa53d2234e38fd857785c87b3f7a7ec961555d22fb673917d60e610

See more details on using hashes here.

File details

Details for the file artifact_plugin-2.0.5-py3-none-any.whl.

File metadata

  • Download URL: artifact_plugin-2.0.5-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for artifact_plugin-2.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 a147d8217286b52932e25d71d3f9a67589e4631df1ca90060a8442016d663620
MD5 6f45c126dcd042eae2a45813bd0704bb
BLAKE2b-256 5b4e2ebe2601c75ceaf7fd35efbd1cabad4395f68786ce4626955738c900387c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page