一键导入
agilab-docs
Documentation workflow for AGILAB (sources vs generated HTML, public constraints, consistency checks).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Documentation workflow for AGILAB (sources vs generated HTML, public constraints, consistency checks).
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Maintain repo-managed agent skills across `.claude/skills` and `.codex/skills`, including targeted sync, validation, index regeneration, drift checks, and Tokki skill visibility. Use when adding or updating a shared skill, migrating a user-managed skill into the repo, or reconciling agent skill copies without overwriting unrelated skills.
Review AGILAB changes for security hardening risks. Use when code, docs, or workflows touch installers, Streamlit exposure, cluster/SSH/share behavior, app execution, notebooks, LLM connectors, secrets, PyPI/GitHub/Hugging Face publishing, dependency policy, or external repositories.
Route terse AGILAB operator requests such as "do it", "review AGILAB", "next move", "update repos", "merge it", "check again", "release", and "cluster validation" into the right repo skills, safety mode, validation depth, and output contract using session-derived policy.
Streamlit page authoring patterns for AGILAB (session_state safety, keys, rerun, UX).
Create, edit, inspect, or explain presentation slide decks (`.pptx`) with PptxGenJS, bundled layout helpers, and render/validation utilities. Use when tasks involve building a new PowerPoint deck, recreating slides from screenshots/PDFs/reference decks, modifying content while preserving editable output, extracting or explaining a specific slide, adding charts/diagrams/visuals, or diagnosing layout issues such as overflow, overlaps, and font substitution.
Produce deep AGILAB audit and code-review artifacts with evidence-backed findings, mandatory architecture-foundation readiness, blast-radius tracing, security/test posture, and prioritized recommendations. Use when the user says "review AGILAB", "audit AGILAB", "code review AGILAB", "deep review", "architecture review", "security review", asks for a review document, or asks for comparison-quality critique rather than a quick fix.
| name | agilab-docs |
| description | Documentation workflow for AGILAB (sources vs generated HTML, public constraints, consistency checks). |
| license | BSD-3-Clause (see repo LICENSE) |
| metadata | {"updated":"2026-06-24T00:00:00.000Z"} |
Use this skill when editing docs content or docs build tooling for AGILAB.
../thales_agilab/docs/source.agilab currently builds from the mirrored
docs/source tree in this repo, so that mirror must be kept in sync with the
canonical source for published pages to stay correct.uv --preview-features extra-build-dependencies run python tools/sync_docs_source.py --apply --delete.
The generated stamp docs/.docs_source_mirror_stamp.json is part of the mirror
contract and must not be edited by hand.docs/html in this repo is generated output only (including docs/html/_sources).docs/html.docs/html without regenerating from
source: this is a frequent cause of stale/publication mismatches.docs/html Edits)../thales_agilab/docs/source.uv --preview-features extra-build-dependencies run python tools/sync_docs_source.py --apply --delete.rst page
still points to the intended file. Treat the source SVG, surrounding wording,
captions, alt text, mirrored public copy, and rendered page as one alignment
unit. Do not rely on XML validity alone; inspect the rendered preview for
clipped text, overlong labels, hidden cards, and unreadable feedback arrows..rst references together; sync the mirror; and inspect the
rendered page so stale labels, duplicate sidebars, old workflow names, or
outdated screenshots cannot remain in public docs. Do not hand-edit generated
docs/html/_images or copied Sphinx outputs.uv --preview-features extra-build-dependencies run python tools/sync_docs_source.py --verify-stampuv --preview-features extra-build-dependencies run python tools/workflow_parity.py --profile docs../thales_agilab/docs/source/<file>docs/source/<file> when it is part of the public mirrorIf you accidentally edit docs/html directly, discard that manual edit and regenerate from source.
docs/html from docs/source in the
agilab repo.../thales_agilab/docs/source is not sufficient for
public publication; refresh agilab/docs/source with tools/sync_docs_source.py
so the mirror stamp stays valid._images/ in the built site, so a
raw URL such as /diagrams/foo.svg can legitimately return 404 even when the
published page is correct.../thales_agilab/docs/source is updated,../agilab/docs/source and the mirror stamp were refreshed,../agilab/docs/html has been regenerated locally for validation,docs-publish.yaml).https://thalesgroup.github.io/agilab/agilab-help.html and sibling pages
show the new text.docs/source/** updates and
docs/.docs_source_mirror_stamp.json in agilab when a public page depends on
the change.docs/html/**; it is generated local output and should
remain outside commits.docs/html/** was modified by a local build, leave it unstaged or clean the
generated output before committing source changes.<details> expander such as
More project badges instead of deleting badge markdown, generated SVGs,
or agent/discovery badge assets.agilab[examples], not bare agilab, because the base package is
intentionally lean while the demo proof depends on packaged example payloads.
When changing this command, update canonical docs, the public mirror, and any
compatibility/report guard that asserts the proof command.AGI._*
internals, raw mode bitmasks, stale generated scripts, or legacy event-loop
snippets.agi-core runtime
handoff, not as a UI-only fallback or a local sidecar feature. The public
claim is that users can keep stage order, runtime hints, review context, and
executable notebook code usable through the stable core runtime even when the
AGILAB UI or distributed runtime is not used.docs/source,
canonical docs, or Hugging Face copy.docs/source, canonical ../thales_agilab/docs/source, and the Hugging Face
README bundle in the scan.run_manifest.json and writes JSON evidence through commands such
as agilab prove, verify, replay, export-lineage, policy-check,
cards, and metadata-store. Hash-verifiable .agipack archives and
optional detached Ed25519 signatures are shipped; external Sigstore/SLSA
attestation remains roadmap unless the implementation and release proof show
it is shipped.When a change improves discoverability for agents, downstream tools, or machine-readable catalogs, keep human docs and machine-readable indexes aligned. Useful public patterns include:
llms.txt or a similar compact docs index for agent entry points;agilab.yml or capability manifests that list shipped commands, packages,
apps, pages, schemas, and evidence outputs;Do not publish a catalog entry for a roadmap-only feature. If a catalog mentions a command, schema, package, app, or page, add a local check or test that proves the referenced artifact exists and is current.
WORKFLOW.SECURITY.md, README.md, README.pypi.md, ADOPTION.md,
canonical ../thales_agilab/docs/source, mirrored docs/source, and any
generated guardrail tests.[SECURITY] cannot reappear silently.uv --preview-features extra-build-dependencies run python tools/security_hygiene_report.py --compact,
the targeted audit/security docs tests, mirror stamp verification, and
uv --preview-features extra-build-dependencies run python tools/workflow_parity.py --profile docs.agilab repo root):
uv --preview-features extra-build-dependencies run python tools/sync_docs_source.py --apply --deleteuv --preview-features extra-build-dependencies run python tools/sync_docs_source.py --verify-stampxml.etree.ElementTree.rsvg-convert -w 1600 -o /tmp/<name>.png <figure>.svg when available
because it matches the Sphinx/browser rendering path better than Quick Look.qlmanage -t -s 1600 -o /tmp <figure>.svg is a useful second
preview, but check its aspect-ratio behavior before trusting layout.uv --preview-features extra-build-dependencies run python tools/sync_docs_source.py --deleteuv --preview-features extra-build-dependencies run python tools/sync_docs_source.py --verify-stampcreate: 0, update: 0, delete: 0 and the stamp check is OK.agilab repo root):
uv --preview-features extra-build-dependencies run python tools/workflow_parity.py --profile docs../thales_agilab repo root):
uv sync --group sphinx --dev (or equivalent environment bootstrap command in your uv version).uv run sphinx-build -n -q -b html docs/source docs/_build/html
--group sphinx variants if your installed uv supports it for your workflow.../agilab/docs/source
when the page is published through the agilab repo workflow.../thales_agilab/docs/source.../agilab.../agilab.gh workflow run docs-publish.yaml -R ThalesGroup/agilab --ref maingh run view <run-id> -R ThalesGroup/agilab --json status,conclusion,urlgh run view <run-id> -R ThalesGroup/agilab --json status,conclusion,jobs,url
instead of waiting blindly on a watcherapps and workspace directories).cd <checkout> && uv run ... unless a project-env switch is the
explicit goal; prefer uv run --active ... or document it as a separate
developer flow.app_settings.toml mention explains both valid seed locations:
<project>/app_settings.toml and <project>/src/app_settings.toml..idea/runConfigurations changes:
uv --preview-features extra-build-dependencies run python tools/generate_runconfig_scripts.py.rst
references, captions/alt text, mirror/public copy, and rendered page all
agree. Do not call the docs fully aligned after an inspection-only pass if a
source or published surface still needs to be updated... math:: blocks when needed.