{% extends "base.html" %} {% block scripts %} {% endblock %} {% block content %} {% if let Some(n) = notice %}

{{ n }}

{% endif %}

{{ c.title.as_deref().unwrap_or(c.concept_id.as_str()) }}

{% if let Some(d) = c.description %}

{{ d }}

{% endif %}
{% if let Some(t) = c.concept_type %}{{ t }}{% endif %} {% if let Some(p) = c.provenance %}{% if let Some(tier) = p.trust_tier %}{{ tier }}{% endif %}{% if let Some(st) = p.status %}{{ st }}{% endif %}{% endif %} {% for t in c.tags %}{{ t }}{% endfor %}
{% if package.is_some() || resource.is_some() %}Download file{% else if c.has_source %}Download source{% endif %} {% if workflow.can_edit %}Edit{% endif %} {% if workflow.can_review %}Review{% endif %} {% if let Some(b) = workflow.blocker %}

{{ b }}

{% endif %}
{% if let Some(pkg) = package %}{% endif %} {% if resource.is_some() %}{% endif %} {% if !history.is_empty() %}{% endif %} {% if workflow.can_review %}{% endif %}
{% if workflow.can_review %}

Review

{% if let Some(p) = c.provenance %}{% if let Some(tier) = p.trust_tier %}{{ tier }}{% endif %}{% if let Some(st) = p.status %}{{ st }}{% endif %}{% endif %} {{ c.verifications.len() }} verification event{{ c.verifications.len()|pluralize }} on record{% if let Some(p) = c.provenance %}{% if let Some(by) = p.generated_by %}; produced by {{ by }}{% endif %}{% endif %}.
{% endif %}

Body

{% if body_html.trim().is_empty() %}

{% if let Some(r) = resource %}{% if !r.textual %}This is a binary {{ r.class }} ({{ r.detail }}, {{ r.byte_size }} bytes); download it to view.{% else %}This file is empty.{% endif %}{% else %}This concept has no body.{% endif %}

{% else %}
{{ body_html|safe }}
{% endif %}
{% if let Some(pkg) = package %}

Package

An Agent Skills package stored in the catalog: the plugin builder copies it into a workspace byte for byte, and get_skill returns it to agents.

Skill name
{{ pkg.name }}
Package root
{% if pkg.root.is_empty() %}(bundle root){% else %}{{ pkg.root }}{% endif %}
Package hash
{{ pkg.hash }}
Visibility
{{ pkg.visibility }}

Resources

{% if pkg.resources.is_empty() %}

This package has no scripts, references, or assets.

{% else %}
{% for r in pkg.resources %}{% endfor %}
KindPathDetailBytesSHA-256
{{ r.class }}{{ r.path }}{{ r.detail }}{{ r.byte_size }}{{ r.sha256 }}Download
{% endif %}
{% endif %} {% if let Some(r) = resource %}

Package

A {{ r.class }} of an Agent Skills package stored in the catalog; the plugin builder copies the whole package into a workspace byte for byte.

Skill
{{ r.package_concept_id }}
Path in package
{{ r.path }}
{% if r.class == "script" %}Language{% else %}Media type{% endif %}
{{ r.detail }}
Size
{{ r.byte_size }} bytes
SHA-256
{{ r.sha256 }}
{% endif %}

Provenance

Identity
({{ c.bundle_id }}, {{ c.concept_id }})
Path
{{ c.path }}
File hash
{{ c.file_hash }}
Created
{% if let Some(at) = prov.created_at %}{{ at|datetime }}{% endif %}{% if let Some(by) = prov.created_by %}{% if prov.created_at.is_some() %} by{% else %}by{% endif %} {{ by }}{% endif %}{% if let Some(m) = prov.model %} · model {{ m }}{% endif %}{% if prov.created_at.is_none() && prov.created_by.is_none() %}not declared{% endif %}
{% if let Some(a) = prov.author %}
Author
{{ a }}
{% endif %} {% if let Some(o) = prov.owner %}
Owner
{{ o }}
{% endif %}
Indexed
{{ c.indexed_at|datetime }}{% if let Some(m) = c.modified_at %} · file modified {{ m|datetime }}{% endif %}
Tenant
{{ c.tenant_id }}
{% if let Some(r) = c.resource %}
Resource
{{ r|linkify|safe }}
{% endif %} {% if let Some(p) = c.provenance %}
Trust tier
{{ p.trust_tier.as_deref().unwrap_or("—") }}
Status
{{ p.status.as_deref().unwrap_or("—") }}{% if let Some(s) = p.stale_after %} · stale after {{ s|datetime }}{% endif %}
{% if p.usage_window_from.is_some() || p.usage_window_to.is_some() %}
Usage window
{{ p.usage_window_from.as_deref().unwrap_or("…")|datetime }} → {{ p.usage_window_to.as_deref().unwrap_or("…")|datetime }}
{% endif %} {% else %}
Provenance
none declared
{% endif %}

Verification events

{% if c.verifications.is_empty() %}

Not verified.

{% else %}
    {% for v in c.verifications %}
  1. {{ v.verified_by }}{% if let Some(at) = v.verified_at %} {{ at|datetime }}{% endif %}
  2. {% endfor %}
{% endif %}

Sources

{% if c.sources.is_empty() %}

No sources declared.

{% else %}
{% for s in c.sources %}{% endfor %}
#IdTitleResourceAuthorLast modified
{{ s.ordinal }}{{ s.source_id.as_deref().unwrap_or("") }}{{ s.title.as_deref().unwrap_or("") }}{% if let Some(r) = s.resource %}{{ r|linkify|safe }}{% endif %}{{ s.author.as_deref().unwrap_or("") }}{{ s.last_modified.as_deref().unwrap_or("")|datetime }}
{% endif %}

Metadata

{% if metadata.is_empty() %}

No custom frontmatter.

{% else %}
{% for m in metadata %}{% endfor %}
KeyValue
{{ m.key }}
{{ m.value }}
{% endif %}

Similar

{% if similar.is_empty() %}

No similar concepts found.

{% else %}{% let hits = similar %}{% include "partials/hits.html" %}{% endif %}
{% if !history.is_empty() %}

History

{% for v in history %}{% endfor %}
VersionValid fromValid toChangeTitleHash
{{ v.number }}{{ v.valid_from|datetime }}{{ v.valid_to.as_deref().unwrap_or("current")|datetime }}{{ v.change_kind }}{{ v.title.as_deref().unwrap_or("") }}{% if let Some(h) = v.file_hash %}{{ h }}{% else %}removed{% endif %}
{% endif %}
{% endblock %}