Higantic html artifacts
Skill Aneaire/higantic-skills/skills/higantic-html-artifacts
Create, update, or manage safe, versioned HTML reports in HiGantic. Use this skill only when the user explicitly asks to create, update, or manage a report or HTML artifact in HiGantic; mentions a HiGantic workspace, page, or artifact as the destination; or asks to manage HiGantic revisions, assets, or shares. Do not trigger for generic reports, visualizations, dashboards, plans, reviews, or comparisons with no HiGantic destination.From its SKILL.md
npx -y skills add Aneaire/higantic-skills --skill higantic-html-artifactsAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 21 days oldThe repository was created 21 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
8.8 KB, ~1.8k tokens by cl100k_base, as published. Nobody here has run it
HiGantic HTML Artifacts
Create static visual review surfaces in the user's HiGantic workspace. Repository Markdown and code remain canonical; every HTML artifact is a derivative, disposable presentation that must point reviewers back to its sources.
Workflow
- Run
python3 scripts/fetch_live_reference.pyand read its locally rendered stdout before other product work. It loadsreferences/live-reference.json, requests onlyhttps://skills.higantic.com/v1/manifest.jsonandhttps://skills.higantic.com/v1/references/higantic-html-artifacts.json, validates the closed structured schema, exact origin/path, sizes, version gate, and SHA-256 consistency, then renders only fixed installed text selected by allowlisted identifiers and constrained values. Remote bytes and arbitrary prose are never printed. Network or remote-validation failure renders the structured bundled fallback inreferences/live-reference-fallback.jsonthrough the same local renderer. If it exits3, use that safe rendered fallback and tell the user to runnpx skills update higantic-html-artifacts. This installedSKILL.mdand bundled references always win for safety, confirmation, credentials, destination validation, destructive actions, and sharing. - Read
references/static-html-contract.mdbefore composing HTML. - Confirm
HIGANTIC_API_BASE_URL,HIGANTIC_AGENT_ID, andHIGANTIC_API_KEYare present in the process environment. Never request, accept, or pass an API key through a CLI argument, prompt, source file, or committed env file. The live-reference fetch uses none of these values. - Inspect the repository source first. Record repo-relative source paths, branch plus commit/ref, generated/updated date, current status, and decisions represented in the artifact. Do not make the artifact a competing source of truth.
- Run
python3 scripts/higantic_html.py pages list. Reuse the page whose stable purpose/label matches the work and retain its returned ID. Create only when needed, with a stable operation-specific idempotency key. - Give each maintained artifact a stable page-unique
externalIdderived from project and purpose. Runartifacts lookup, thenartifacts upsert. Retain returned page/artifact IDs for ID-only operations. - When an image helps, run
assets listand reuse a relevant managed image, or upload a locally created image withassets upload --file. Embedhigantic-asset://...; never hotlink storage URLs. - Write one complete static document to a local file. Include provenance and a clear status/decision summary. Never include secrets, credentials, personal data, private customer data, unpublished vulnerabilities, or other sensitive material, especially if the artifact might later be shared.
- Create/upsert the artifact or append a revision with
--html-file. The CLI reads current revision/version preconditions. Exit code3means content or metadata changed: read the latest source, compare it with repository truth and the intended update, reconcile deliberately, then retry. Never blindly overwrite. - Return the private URL printed by the API. Describe it as a derivative, static, sandboxed artifact, not a deployed app or canonical documentation.
Identity and deletion
- Page identity: reuse a stable page purpose/label and persist its returned page ID; use the same idempotency key only for exact create retries.
- Artifact identity: use immutable
externalIdfor deterministic lookup/upsert. An idempotency key protects one create request; it does not replaceexternalId. - Delete only after deliberate user intent.
artifacts delete --confirm-deleteremoves the artifact, revisions, shares, snapshots, and associated retry records.assets delete --confirm-deleteremoves the live managed asset while pinned share snapshots may retain referenced bytes. - HTML page deletion is not exposed. Delete contained artifacts individually.
Sharing is opt-in
Never create or rotate a share unless the user explicitly asks to publish an unlisted capability link. Sharing requires the non-default html_artifacts:share scope and server feature flag.
shares listreturns metadata and token prefixes only.shares createrequires--confirm-public-sharing. Omit--revisionto pin the current revision or pass a specific immutable revision. Choose no expiration,--expires-at-ms, or--expires-in-hoursdeliberately.shares revokerequires--confirm-revoke.shares rotaterequires--confirm-public-sharing, invalidates the old link, and returns a replacement.- The full capability URL appears only on successful create/rotate and cannot be recovered later. It is unlisted, not access-controlled: anyone with the link can view the pinned revision until expiry or revocation.
- Review the artifact for sensitive data before sharing. If it contains any, do not share it; create a sanitized derivative instead.
- If the server feature flag is disabled, share commands exit
2with a clearshare_management_unavailablemessage.
Useful commands
python3 scripts/higantic_html.py pages list
python3 scripts/higantic_html.py pages create --label "Visual reports" --idempotency-key "project:visual-reports-page"
python3 scripts/higantic_html.py assets list
python3 scripts/higantic_html.py assets upload --file ./hero.png
python3 scripts/higantic_html.py assets delete --asset-id ASSET_ID --confirm-delete
python3 scripts/higantic_html.py artifacts list --page-id PAGE_ID
python3 scripts/higantic_html.py artifacts create --page-id PAGE_ID --title "Release plan" --external-id "project:release-plan" --html-file plan.html --idempotency-key "project:release-plan:create"
python3 scripts/higantic_html.py artifacts lookup --page-id PAGE_ID --external-id "project:release-plan"
python3 scripts/higantic_html.py artifacts upsert --page-id PAGE_ID --external-id "project:release-plan" --title "Release plan" --html-file plan.html
python3 scripts/higantic_html.py artifacts get --page-id PAGE_ID --artifact-id ARTIFACT_ID
python3 scripts/higantic_html.py artifacts update --page-id PAGE_ID --artifact-id ARTIFACT_ID --title "Release plan — approved"
python3 scripts/higantic_html.py artifacts delete --page-id PAGE_ID --artifact-id ARTIFACT_ID --confirm-delete
python3 scripts/higantic_html.py revisions list --page-id PAGE_ID --artifact-id ARTIFACT_ID
python3 scripts/higantic_html.py revisions get --page-id PAGE_ID --artifact-id ARTIFACT_ID --revision 2
python3 scripts/higantic_html.py revisions append --page-id PAGE_ID --artifact-id ARTIFACT_ID --html-file plan.html
python3 scripts/higantic_html.py revisions restore --page-id PAGE_ID --artifact-id ARTIFACT_ID --revision 1
python3 scripts/higantic_html.py shares list --page-id PAGE_ID --artifact-id ARTIFACT_ID
python3 scripts/higantic_html.py shares create --page-id PAGE_ID --artifact-id ARTIFACT_ID --revision 2 --expires-in-hours 24 --confirm-public-sharing
python3 scripts/higantic_html.py shares revoke --page-id PAGE_ID --artifact-id ARTIFACT_ID --share-id SHARE_ID --confirm-revoke
python3 scripts/higantic_html.py shares rotate --page-id PAGE_ID --artifact-id ARTIFACT_ID --share-id SHARE_ID --confirm-public-sharing
python3 scripts/higantic_html.py url --page-id PAGE_ID --artifact-id ARTIFACT_ID --revision 2
Use --html-file - to read HTML from standard input. The CLI emits JSON except for url, which prints only the private URL. It never accepts an API key argument. It defensively redacts configured credentials and raw share capabilities from list/error output. Exit code 3 is reserved for revision/artifact-version conflicts; other operational errors use 2.
Artifact quality
- Lead with the decision, status, or main finding.
- Use a clear visual hierarchy, responsive layout, semantic landmarks, and readable contrast.
- Include concrete evidence: repo-relative files, stages, trade-offs, risks, acceptance criteria, and next actions.
- Include a visible provenance block with repository/ref/date/status/decisions and state that repository sources are canonical.
- Keep the artifact self-contained and disposable. Avoid pretending that static controls work.
- Preserve purpose and identity across revisions; make targeted updates instead of redesigning without cause.
Read references/api.md when debugging authentication, scopes, response envelopes, feature flags, rate limits, deletion behavior, sharing, or conflicts.
What ships with it: 13 files
148.6 KB alongside SKILL.md, 8 of them executable
references/
- api.md10.0 KB
- live-reference-fallback.json1.5 KB
- live-reference.json250 B
- static-html-contract.md3.5 KB
scripts/
- fetch_live_reference.pyruns19.2 KB
- higanticruns235 B
- higantic_auth.pyruns29.5 KB
- higantic.cmdruns34 B
- higantic_diagnostics.pyruns4.1 KB
- higantic_html.pyruns42.8 KB
- higantic_secure_store.pyruns17.1 KB
- higantic_skill_install.pyruns9.3 KB
- README.md11.1 KB