@prismer/runtime 2.2.55 → 2.2.64
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +574 -0
- package/apc/skills/releasing-test/SKILL.md +9 -0
- package/built-in-skills/agent-coordination/SKILL.md +21 -4
- package/built-in-skills/agent-meta/SKILL.md +11 -0
- package/built-in-skills/assets/SKILL.md +1 -1
- package/built-in-skills/canvas-design/SKILL.md +3 -3
- package/built-in-skills/canvas-design/canvas-fonts/IBMPlexSerif-OFL.txt +93 -0
- package/built-in-skills/canvas-design/canvas-fonts/InstrumentSerif-OFL.txt +93 -0
- package/built-in-skills/canvas-design/canvas-fonts/LICENSE-SOURCES.md +16 -0
- package/built-in-skills/claim-agent-ownership/SKILL.md +7 -3
- package/built-in-skills/claude-api/SKILL.md +1 -1
- package/built-in-skills/claude-api/python/claude-api/README.md +2 -2
- package/built-in-skills/claude-api/python/claude-api/tool-use.md +9 -5
- package/built-in-skills/claude-api/python/managed-agents/README.md +11 -1
- package/built-in-skills/claude-api/shared/error-codes.md +4 -4
- package/built-in-skills/claude-api/shared/managed-agents-client-patterns.md +4 -2
- package/built-in-skills/claude-api/shared/managed-agents-core.md +1 -2
- package/built-in-skills/claude-api/shared/managed-agents-events.md +41 -22
- package/built-in-skills/claude-api/shared/managed-agents-multiagent.md +5 -3
- package/built-in-skills/claude-api/shared/managed-agents-self-hosted-sandboxes.md +1 -1
- package/built-in-skills/claude-api/shared/managed-agents-tools.md +2 -3
- package/built-in-skills/claude-api/shared/model-migration.md +3 -3
- package/built-in-skills/claude-api/shared/models.md +1 -1
- package/built-in-skills/claude-api/typescript/claude-api/batches.md +1 -1
- package/built-in-skills/claude-api/typescript/claude-api/files-api.md +3 -1
- package/built-in-skills/claude-api/typescript/claude-api/tool-use.md +8 -2
- package/built-in-skills/claude-api/typescript/managed-agents/README.md +8 -2
- package/built-in-skills/codebase-design/SKILL.md +15 -1
- package/built-in-skills/codebase-design/references/requesting-code-review/GUIDE.md +291 -0
- package/built-in-skills/codebase-design/references/requesting-code-review/LICENSE +21 -0
- package/built-in-skills/codebase-design/references/requesting-code-review/LICENSE.superpowers +21 -0
- package/built-in-skills/codebase-design/references/requesting-code-review/NOTICE.md +37 -0
- package/built-in-skills/codebase-design/references/sdlc-review/GUIDE.md +130 -0
- package/built-in-skills/codebase-design/references/sdlc-review/LICENSE +21 -0
- package/built-in-skills/codebase-design/references/sdlc-review/NOTICE.md +17 -0
- package/built-in-skills/codebase-design/references/simplify-code/GUIDE.md +269 -0
- package/built-in-skills/codebase-design/references/simplify-code/LICENSE +21 -0
- package/built-in-skills/codebase-design/references/simplify-code/NOTICE.md +37 -0
- package/built-in-skills/competitor-intelligence/LICENSE +21 -0
- package/built-in-skills/competitor-intelligence/NOTICE.md +6 -0
- package/built-in-skills/competitor-intelligence/SKILL.md +125 -0
- package/built-in-skills/competitor-intelligence/scripts/watch_state.py +160 -0
- package/built-in-skills/conversation-compaction/SKILL.md +3 -0
- package/built-in-skills/council-creator/SKILL.md +4 -3
- package/built-in-skills/diagnosing-bugs/SKILL.md +12 -0
- package/built-in-skills/diagnosing-bugs/references/desktop-dom/GUIDE.md +64 -0
- package/built-in-skills/diagnosing-bugs/references/desktop-dom/LICENSE +21 -0
- package/built-in-skills/diagnosing-bugs/references/desktop-dom/NOTICE.md +17 -0
- package/built-in-skills/diagnosing-bugs/references/systematic-debugging/GUIDE.md +410 -0
- package/built-in-skills/diagnosing-bugs/references/systematic-debugging/LICENSE +21 -0
- package/built-in-skills/diagnosing-bugs/references/systematic-debugging/LICENSE.superpowers +21 -0
- package/built-in-skills/diagnosing-bugs/references/systematic-debugging/NOTICE.md +37 -0
- package/built-in-skills/doc-coauthoring/SKILL.md +6 -0
- package/built-in-skills/doc-coauthoring/references/humanizer/GUIDE.md +647 -0
- package/built-in-skills/doc-coauthoring/references/humanizer/LICENSE +21 -0
- package/built-in-skills/doc-coauthoring/references/humanizer/LICENSE.hermes +21 -0
- package/built-in-skills/doc-coauthoring/references/humanizer/PROVENANCE.md +7 -0
- package/built-in-skills/document-actions/LICENSE +21 -0
- package/built-in-skills/document-actions/NOTICE.md +21 -0
- package/built-in-skills/document-actions/SKILL.md +46 -0
- package/built-in-skills/evidence-citations/LICENSE +21 -0
- package/built-in-skills/evidence-citations/NOTICE.md +21 -0
- package/built-in-skills/evidence-citations/SKILL.md +46 -0
- package/built-in-skills/evidence-citations/references/citation-formats.md +68 -0
- package/built-in-skills/evidence-citations/references/grounding-rationale.md +64 -0
- package/built-in-skills/evidence-citations/scripts/sources.py +720 -0
- package/built-in-skills/frontend-design/SKILL.md +6 -0
- package/built-in-skills/frontend-design/references/claude-design/GUIDE.md +650 -0
- package/built-in-skills/frontend-design/references/claude-design/LICENSE +21 -0
- package/built-in-skills/frontend-design/references/claude-design/LICENSE.hermes +21 -0
- package/built-in-skills/frontend-design/references/claude-design/PROVENANCE.md +7 -0
- package/built-in-skills/image-generate/SKILL.md +5 -0
- package/built-in-skills/image-generate/scripts/generate-and-deliver.mjs +24 -3
- package/built-in-skills/mcp-builder/reference/evaluation.md +11 -2
- package/built-in-skills/mcp-builder/reference/node_mcp_server.md +34 -5
- package/built-in-skills/mcp-builder/reference/python_mcp_server.md +6 -2
- package/built-in-skills/mcp-builder/scripts/connections.py +1 -1
- package/built-in-skills/mcp-builder/scripts/evaluation.py +52 -34
- package/built-in-skills/mcp-builder/scripts/requirements.txt +2 -2
- package/built-in-skills/meeting-actions/LICENSE +21 -0
- package/built-in-skills/meeting-actions/NOTICE.md +21 -0
- package/built-in-skills/meeting-actions/SKILL.md +48 -0
- package/built-in-skills/memory/SKILL.md +27 -3
- package/built-in-skills/memory/references/llm-wiki/GUIDE.md +468 -0
- package/built-in-skills/memory/references/llm-wiki/LICENSE +21 -0
- package/built-in-skills/memory/references/llm-wiki/NOTICE.md +4 -0
- package/built-in-skills/memory/references/llm-wiki/scripts/lint_wiki.py +84 -0
- package/built-in-skills/memory/references/llm-wiki/scripts/requirements.txt +1 -0
- package/built-in-skills/memory/references/llm-wiki/templates/SCHEMA.md +19 -0
- package/built-in-skills/memory/references/llm-wiki/templates/index.md +9 -0
- package/built-in-skills/memory/references/llm-wiki/templates/log.md +4 -0
- package/built-in-skills/memory-dream/SKILL.md +8 -15
- package/built-in-skills/memory-import/SKILL.md +51 -0
- package/built-in-skills/office-artifacts/NOTICE.md +15 -0
- package/built-in-skills/office-artifacts/SKILL.md +20 -0
- package/built-in-skills/office-artifacts/references/RESOURCE-LIMITS.md +44 -0
- package/built-in-skills/office-artifacts/references/docx/GUIDE.md +196 -0
- package/built-in-skills/office-artifacts/references/docx/LICENSE +21 -0
- package/built-in-skills/office-artifacts/references/docx/NOTICE.md +21 -0
- package/built-in-skills/office-artifacts/references/docx/references/revisions-and-comments.md +88 -0
- package/built-in-skills/office-artifacts/references/docx/scripts/docx_comments.py +292 -0
- package/built-in-skills/office-artifacts/references/docx/scripts/docx_common.py +93 -0
- package/built-in-skills/office-artifacts/references/docx/scripts/docx_create.py +177 -0
- package/built-in-skills/office-artifacts/references/docx/scripts/docx_edit.py +250 -0
- package/built-in-skills/office-artifacts/references/docx/scripts/docx_read.py +169 -0
- package/built-in-skills/office-artifacts/references/docx/scripts/docx_revisions.py +149 -0
- package/built-in-skills/office-artifacts/references/docx/scripts/docx_template.py +70 -0
- package/built-in-skills/office-artifacts/references/docx/scripts/docx_validate.py +155 -0
- package/built-in-skills/office-artifacts/references/docx/tests/test_docx_skill.py +525 -0
- package/built-in-skills/office-artifacts/references/pdf/GUIDE.md +125 -0
- package/built-in-skills/office-artifacts/references/pdf/LICENSE +21 -0
- package/built-in-skills/office-artifacts/references/pdf/NOTICE.md +21 -0
- package/built-in-skills/office-artifacts/references/pdf/references/forms.md +99 -0
- package/built-in-skills/office-artifacts/references/pdf/references/nano-pdf-editing.md +40 -0
- package/built-in-skills/office-artifacts/references/pdf/references/ocr-extraction.md +165 -0
- package/built-in-skills/office-artifacts/references/pdf/scripts/_raster.py +87 -0
- package/built-in-skills/office-artifacts/references/pdf/scripts/extract_marker.py +95 -0
- package/built-in-skills/office-artifacts/references/pdf/scripts/extract_pymupdf.py +107 -0
- package/built-in-skills/office-artifacts/references/pdf/scripts/pdf_create.py +153 -0
- package/built-in-skills/office-artifacts/references/pdf/scripts/pdf_fill_form.py +97 -0
- package/built-in-skills/office-artifacts/references/pdf/scripts/pdf_form_layout.py +168 -0
- package/built-in-skills/office-artifacts/references/pdf/scripts/pdf_make_form.py +145 -0
- package/built-in-skills/office-artifacts/references/pdf/scripts/pdf_merge.py +50 -0
- package/built-in-skills/office-artifacts/references/pdf/scripts/pdf_meta.py +123 -0
- package/built-in-skills/office-artifacts/references/pdf/scripts/pdf_page_image.py +101 -0
- package/built-in-skills/office-artifacts/references/pdf/scripts/pdf_read.py +153 -0
- package/built-in-skills/office-artifacts/references/pdf/scripts/pdf_secure.py +71 -0
- package/built-in-skills/office-artifacts/references/pdf/scripts/pdf_split.py +86 -0
- package/built-in-skills/office-artifacts/references/pdf/scripts/pdf_stamp.py +145 -0
- package/built-in-skills/office-artifacts/references/pdf/scripts/pdf_watermark.py +51 -0
- package/built-in-skills/office-artifacts/references/pdf/tests/test_pdf_skill.py +414 -0
- package/built-in-skills/office-artifacts/references/powerpoint/GUIDE.md +220 -0
- package/built-in-skills/office-artifacts/references/powerpoint/LICENSE +21 -0
- package/built-in-skills/office-artifacts/references/powerpoint/NOTICE.md +21 -0
- package/built-in-skills/office-artifacts/references/powerpoint/scripts/pptx_create.py +214 -0
- package/built-in-skills/office-artifacts/references/powerpoint/scripts/pptx_edit.py +442 -0
- package/built-in-skills/office-artifacts/references/powerpoint/scripts/pptx_from_template.py +88 -0
- package/built-in-skills/office-artifacts/references/powerpoint/scripts/pptx_read.py +131 -0
- package/built-in-skills/office-artifacts/references/powerpoint/scripts/pptx_render.py +104 -0
- package/built-in-skills/office-artifacts/references/powerpoint/tests/test_powerpoint_skill.py +478 -0
- package/built-in-skills/office-artifacts/references/xlsx/GUIDE.md +196 -0
- package/built-in-skills/office-artifacts/references/xlsx/LICENSE +21 -0
- package/built-in-skills/office-artifacts/references/xlsx/NOTICE.md +21 -0
- package/built-in-skills/office-artifacts/references/xlsx/references/restructuring.md +74 -0
- package/built-in-skills/office-artifacts/references/xlsx/scripts/csv_to_xlsx.py +108 -0
- package/built-in-skills/office-artifacts/references/xlsx/scripts/xlsx_create.py +259 -0
- package/built-in-skills/office-artifacts/references/xlsx/scripts/xlsx_edit.py +269 -0
- package/built-in-skills/office-artifacts/references/xlsx/scripts/xlsx_read.py +160 -0
- package/built-in-skills/office-artifacts/references/xlsx/scripts/xlsx_recalc.py +111 -0
- package/built-in-skills/office-artifacts/references/xlsx/scripts/xlsx_restructure.py +418 -0
- package/built-in-skills/office-artifacts/references/xlsx/scripts/xlsx_to_csv.py +69 -0
- package/built-in-skills/office-artifacts/references/xlsx/tests/test_xlsx_skill.py +542 -0
- package/built-in-skills/office-artifacts/tests/test_resource_regressions.py +272 -0
- package/built-in-skills/persona-generator/SKILL.md +9 -9
- package/built-in-skills/pkf-svg/SKILL.md +5 -0
- package/built-in-skills/pkf-svg/references/architecture-diagram/GUIDE.md +148 -0
- package/built-in-skills/pkf-svg/references/architecture-diagram/LICENSE +21 -0
- package/built-in-skills/pkf-svg/references/architecture-diagram/LICENSE.hermes +21 -0
- package/built-in-skills/pkf-svg/references/architecture-diagram/PROVENANCE.md +7 -0
- package/built-in-skills/pkf-svg/references/architecture-diagram/templates/template.html +345 -0
- package/built-in-skills/pkf-writing/SKILL.md +36 -14
- package/built-in-skills/prismer-airtable/LICENSE +21 -0
- package/built-in-skills/prismer-airtable/NOTICE.md +11 -0
- package/built-in-skills/prismer-airtable/SKILL.md +248 -0
- package/built-in-skills/prismer-airtable/scripts/airtable_client.py +76 -0
- package/built-in-skills/prismer-apple-notes/LICENSE +21 -0
- package/built-in-skills/prismer-apple-notes/NOTICE.md +17 -0
- package/built-in-skills/prismer-apple-notes/SKILL.md +118 -0
- package/built-in-skills/prismer-apple-notes/scripts/readiness.py +47 -0
- package/built-in-skills/prismer-apple-reminders/LICENSE +21 -0
- package/built-in-skills/prismer-apple-reminders/NOTICE.md +17 -0
- package/built-in-skills/prismer-apple-reminders/SKILL.md +155 -0
- package/built-in-skills/prismer-apple-reminders/scripts/readiness.py +47 -0
- package/built-in-skills/prismer-ascii-video/LICENSE +21 -0
- package/built-in-skills/prismer-ascii-video/LICENSE.hermes +21 -0
- package/built-in-skills/prismer-ascii-video/PROVENANCE.md +7 -0
- package/built-in-skills/prismer-ascii-video/README.md +290 -0
- package/built-in-skills/prismer-ascii-video/SKILL.md +252 -0
- package/built-in-skills/prismer-ascii-video/provenance/category-DESCRIPTION.md +3 -0
- package/built-in-skills/prismer-ascii-video/references/architecture.md +807 -0
- package/built-in-skills/prismer-ascii-video/references/composition.md +900 -0
- package/built-in-skills/prismer-ascii-video/references/effects.md +1877 -0
- package/built-in-skills/prismer-ascii-video/references/inputs.md +693 -0
- package/built-in-skills/prismer-ascii-video/references/optimization.md +688 -0
- package/built-in-skills/prismer-ascii-video/references/scenes.md +1018 -0
- package/built-in-skills/prismer-ascii-video/references/shaders.md +1408 -0
- package/built-in-skills/prismer-ascii-video/references/troubleshooting.md +360 -0
- package/built-in-skills/prismer-baoyu-infographic/LICENSE +21 -0
- package/built-in-skills/prismer-baoyu-infographic/LICENSE.hermes +21 -0
- package/built-in-skills/prismer-baoyu-infographic/LICENSE.origin +21 -0
- package/built-in-skills/prismer-baoyu-infographic/PORT_NOTES.md +37 -0
- package/built-in-skills/prismer-baoyu-infographic/PROVENANCE.md +7 -0
- package/built-in-skills/prismer-baoyu-infographic/SKILL.md +240 -0
- package/built-in-skills/prismer-baoyu-infographic/references/analysis-framework.md +182 -0
- package/built-in-skills/prismer-baoyu-infographic/references/base-prompt.md +43 -0
- package/built-in-skills/prismer-baoyu-infographic/references/layouts/bento-grid.md +41 -0
- package/built-in-skills/prismer-baoyu-infographic/references/layouts/binary-comparison.md +48 -0
- package/built-in-skills/prismer-baoyu-infographic/references/layouts/bridge.md +41 -0
- package/built-in-skills/prismer-baoyu-infographic/references/layouts/circular-flow.md +41 -0
- package/built-in-skills/prismer-baoyu-infographic/references/layouts/comic-strip.md +41 -0
- package/built-in-skills/prismer-baoyu-infographic/references/layouts/comparison-matrix.md +41 -0
- package/built-in-skills/prismer-baoyu-infographic/references/layouts/dashboard.md +41 -0
- package/built-in-skills/prismer-baoyu-infographic/references/layouts/dense-modules.md +72 -0
- package/built-in-skills/prismer-baoyu-infographic/references/layouts/funnel.md +41 -0
- package/built-in-skills/prismer-baoyu-infographic/references/layouts/hierarchical-layers.md +48 -0
- package/built-in-skills/prismer-baoyu-infographic/references/layouts/hub-spoke.md +41 -0
- package/built-in-skills/prismer-baoyu-infographic/references/layouts/iceberg.md +41 -0
- package/built-in-skills/prismer-baoyu-infographic/references/layouts/isometric-map.md +41 -0
- package/built-in-skills/prismer-baoyu-infographic/references/layouts/jigsaw.md +41 -0
- package/built-in-skills/prismer-baoyu-infographic/references/layouts/linear-progression.md +48 -0
- package/built-in-skills/prismer-baoyu-infographic/references/layouts/periodic-table.md +41 -0
- package/built-in-skills/prismer-baoyu-infographic/references/layouts/story-mountain.md +41 -0
- package/built-in-skills/prismer-baoyu-infographic/references/layouts/structural-breakdown.md +48 -0
- package/built-in-skills/prismer-baoyu-infographic/references/layouts/tree-branching.md +41 -0
- package/built-in-skills/prismer-baoyu-infographic/references/layouts/venn-diagram.md +41 -0
- package/built-in-skills/prismer-baoyu-infographic/references/layouts/winding-roadmap.md +41 -0
- package/built-in-skills/prismer-baoyu-infographic/references/structured-content-template.md +244 -0
- package/built-in-skills/prismer-baoyu-infographic/references/styles/aged-academia.md +36 -0
- package/built-in-skills/prismer-baoyu-infographic/references/styles/bold-graphic.md +36 -0
- package/built-in-skills/prismer-baoyu-infographic/references/styles/chalkboard.md +61 -0
- package/built-in-skills/prismer-baoyu-infographic/references/styles/claymation.md +29 -0
- package/built-in-skills/prismer-baoyu-infographic/references/styles/corporate-memphis.md +29 -0
- package/built-in-skills/prismer-baoyu-infographic/references/styles/craft-handmade.md +44 -0
- package/built-in-skills/prismer-baoyu-infographic/references/styles/cyberpunk-neon.md +29 -0
- package/built-in-skills/prismer-baoyu-infographic/references/styles/hand-drawn-edu.md +63 -0
- package/built-in-skills/prismer-baoyu-infographic/references/styles/ikea-manual.md +29 -0
- package/built-in-skills/prismer-baoyu-infographic/references/styles/kawaii.md +29 -0
- package/built-in-skills/prismer-baoyu-infographic/references/styles/knolling.md +29 -0
- package/built-in-skills/prismer-baoyu-infographic/references/styles/lego-brick.md +29 -0
- package/built-in-skills/prismer-baoyu-infographic/references/styles/morandi-journal.md +60 -0
- package/built-in-skills/prismer-baoyu-infographic/references/styles/origami.md +29 -0
- package/built-in-skills/prismer-baoyu-infographic/references/styles/pixel-art.md +29 -0
- package/built-in-skills/prismer-baoyu-infographic/references/styles/pop-laboratory.md +48 -0
- package/built-in-skills/prismer-baoyu-infographic/references/styles/retro-pop-grid.md +47 -0
- package/built-in-skills/prismer-baoyu-infographic/references/styles/storybook-watercolor.md +29 -0
- package/built-in-skills/prismer-baoyu-infographic/references/styles/subway-map.md +29 -0
- package/built-in-skills/prismer-baoyu-infographic/references/styles/technical-schematic.md +36 -0
- package/built-in-skills/prismer-baoyu-infographic/references/styles/ui-wireframe.md +29 -0
- package/built-in-skills/prismer-blocked-page-recovery/LICENSE +21 -0
- package/built-in-skills/prismer-blocked-page-recovery/NOTICE.md +17 -0
- package/built-in-skills/prismer-blocked-page-recovery/SKILL.md +158 -0
- package/built-in-skills/prismer-blocked-page-recovery/scripts/recover_page.py +311 -0
- package/built-in-skills/prismer-box/LICENSE +21 -0
- package/built-in-skills/prismer-box/NOTICE.md +11 -0
- package/built-in-skills/prismer-box/SKILL.md +147 -0
- package/built-in-skills/prismer-box/references/bulk-operations.md +43 -0
- package/built-in-skills/prismer-box/references/cli-guide.md +133 -0
- package/built-in-skills/prismer-box/references/content-workflows.md +86 -0
- package/built-in-skills/prismer-box/references/hubs.md +77 -0
- package/built-in-skills/prismer-box/references/oauth-setup.md +92 -0
- package/built-in-skills/prismer-box/references/rest-api.md +37 -0
- package/built-in-skills/prismer-box/references/sdk-development.md +85 -0
- package/built-in-skills/prismer-box/references/search-and-ai.md +147 -0
- package/built-in-skills/prismer-box/references/troubleshooting.md +33 -0
- package/built-in-skills/prismer-box/references/webhooks-and-events.md +43 -0
- package/built-in-skills/prismer-codebase-inspection/LICENSE +21 -0
- package/built-in-skills/prismer-codebase-inspection/NOTICE.md +17 -0
- package/built-in-skills/prismer-codebase-inspection/SKILL.md +141 -0
- package/built-in-skills/prismer-computer-use/LICENSE +21 -0
- package/built-in-skills/prismer-computer-use/NOTICE.md +17 -0
- package/built-in-skills/prismer-computer-use/SKILL.md +372 -0
- package/built-in-skills/prismer-design-md/LICENSE +21 -0
- package/built-in-skills/prismer-design-md/LICENSE.hermes +21 -0
- package/built-in-skills/prismer-design-md/PROVENANCE.md +7 -0
- package/built-in-skills/prismer-design-md/SKILL.md +227 -0
- package/built-in-skills/prismer-design-md/templates/starter.md +99 -0
- package/built-in-skills/prismer-email-inbox-triage/LICENSE +21 -0
- package/built-in-skills/prismer-email-inbox-triage/NOTICE.md +11 -0
- package/built-in-skills/prismer-email-inbox-triage/SKILL.md +116 -0
- package/built-in-skills/prismer-findmy/LICENSE +21 -0
- package/built-in-skills/prismer-findmy/NOTICE.md +17 -0
- package/built-in-skills/prismer-findmy/SKILL.md +150 -0
- package/built-in-skills/prismer-findmy/scripts/readiness.py +47 -0
- package/built-in-skills/prismer-gif-search/LICENSE +21 -0
- package/built-in-skills/prismer-gif-search/LICENSE.hermes +21 -0
- package/built-in-skills/prismer-gif-search/PROVENANCE.md +7 -0
- package/built-in-skills/prismer-gif-search/SKILL.md +97 -0
- package/built-in-skills/prismer-gif-search/scripts/tenor.py +81 -0
- package/built-in-skills/prismer-github/LICENSE +21 -0
- package/built-in-skills/prismer-github/NOTICE.md +17 -0
- package/built-in-skills/prismer-github/SKILL.md +74 -0
- package/built-in-skills/prismer-github/references/auth.md +91 -0
- package/built-in-skills/prismer-github/references/ci-troubleshooting.md +193 -0
- package/built-in-skills/prismer-github/references/code-review.md +465 -0
- package/built-in-skills/prismer-github/references/conventional-commits.md +81 -0
- package/built-in-skills/prismer-github/references/github-api-cheatsheet.md +177 -0
- package/built-in-skills/prismer-github/references/issue-to-pr.md +74 -0
- package/built-in-skills/prismer-github/references/issues.md +336 -0
- package/built-in-skills/prismer-github/references/pr-workflow.md +346 -0
- package/built-in-skills/prismer-github/references/repo-management.md +484 -0
- package/built-in-skills/prismer-github/references/review-output-template.md +84 -0
- package/built-in-skills/prismer-github/scripts/ensure-gh.py +132 -0
- package/built-in-skills/prismer-github/scripts/gh-env.sh +25 -0
- package/built-in-skills/prismer-github/scripts/git-credential-token.py +68 -0
- package/built-in-skills/prismer-github/scripts/github-api.py +71 -0
- package/built-in-skills/prismer-github/scripts/github-context.py +28 -0
- package/built-in-skills/prismer-github/templates/bug-report.md +35 -0
- package/built-in-skills/prismer-github/templates/feature-request.md +31 -0
- package/built-in-skills/prismer-github/templates/pr-body-bugfix.md +35 -0
- package/built-in-skills/prismer-github/templates/pr-body-feature.md +33 -0
- package/built-in-skills/prismer-google-workspace/LICENSE +21 -0
- package/built-in-skills/prismer-google-workspace/NOTICE.md +11 -0
- package/built-in-skills/prismer-google-workspace/SKILL.md +369 -0
- package/built-in-skills/prismer-google-workspace/references/daily-brief.md +65 -0
- package/built-in-skills/prismer-google-workspace/references/gmail-search-syntax.md +63 -0
- package/built-in-skills/prismer-google-workspace/scripts/_hermes_home.py +17 -0
- package/built-in-skills/prismer-google-workspace/scripts/_private_state.py +39 -0
- package/built-in-skills/prismer-google-workspace/scripts/google_api.py +1339 -0
- package/built-in-skills/prismer-google-workspace/scripts/gws_bridge.py +121 -0
- package/built-in-skills/prismer-google-workspace/scripts/setup.py +563 -0
- package/built-in-skills/prismer-google-workspace/tests/test_productivity_regressions.py +214 -0
- package/built-in-skills/prismer-hermes-agent/LICENSE +21 -0
- package/built-in-skills/prismer-hermes-agent/NOTICE.md +17 -0
- package/built-in-skills/prismer-hermes-agent/SKILL.md +247 -0
- package/built-in-skills/prismer-hermes-agent/references/background-systems.md +108 -0
- package/built-in-skills/prismer-hermes-agent/references/cli-reference.md +158 -0
- package/built-in-skills/prismer-hermes-agent/references/configuration.md +96 -0
- package/built-in-skills/prismer-hermes-agent/references/contributor-guide.md +151 -0
- package/built-in-skills/prismer-hermes-agent/references/delegate-task-concurrency-diagnosis.md +47 -0
- package/built-in-skills/prismer-hermes-agent/references/desktop-plugins.md +215 -0
- package/built-in-skills/prismer-hermes-agent/references/native-mcp.md +351 -0
- package/built-in-skills/prismer-hermes-agent/references/petdex.md +82 -0
- package/built-in-skills/prismer-hermes-agent/references/portal-auth-for-third-party-apps.md +135 -0
- package/built-in-skills/prismer-hermes-agent/references/project-context-files.md +55 -0
- package/built-in-skills/prismer-hermes-agent/references/providers-and-models.md +81 -0
- package/built-in-skills/prismer-hermes-agent/references/security-privacy.md +73 -0
- package/built-in-skills/prismer-hermes-agent/references/slash-commands.md +119 -0
- package/built-in-skills/prismer-hermes-agent/references/themes.md +134 -0
- package/built-in-skills/prismer-hermes-agent/references/troubleshooting.md +87 -0
- package/built-in-skills/prismer-hermes-agent/references/tui-widgets.md +144 -0
- package/built-in-skills/prismer-hermes-agent/references/webhooks.md +219 -0
- package/built-in-skills/prismer-hermes-agent/references/windows-quirks.md +64 -0
- package/built-in-skills/prismer-hermes-agent/templates/clock.mjs +51 -0
- package/built-in-skills/prismer-hermes-agent/templates/plugin.js +97 -0
- package/built-in-skills/prismer-hermes-agent/templates/skin.yaml +49 -0
- package/built-in-skills/prismer-himalaya/LICENSE +21 -0
- package/built-in-skills/prismer-himalaya/NOTICE.md +11 -0
- package/built-in-skills/prismer-himalaya/SKILL.md +340 -0
- package/built-in-skills/prismer-himalaya/references/configuration.md +227 -0
- package/built-in-skills/prismer-himalaya/references/message-composition.md +206 -0
- package/built-in-skills/prismer-himalaya/scripts/compose_draft.py +48 -0
- package/built-in-skills/prismer-im-collab/SKILL.md +1 -1
- package/built-in-skills/prismer-imessage/LICENSE +21 -0
- package/built-in-skills/prismer-imessage/NOTICE.md +17 -0
- package/built-in-skills/prismer-imessage/SKILL.md +128 -0
- package/built-in-skills/prismer-imessage/scripts/readiness.py +47 -0
- package/built-in-skills/prismer-manim-video/LICENSE +21 -0
- package/built-in-skills/prismer-manim-video/LICENSE.hermes +21 -0
- package/built-in-skills/prismer-manim-video/PROVENANCE.md +7 -0
- package/built-in-skills/prismer-manim-video/README.md +23 -0
- package/built-in-skills/prismer-manim-video/SKILL.md +279 -0
- package/built-in-skills/prismer-manim-video/references/animation-design-thinking.md +161 -0
- package/built-in-skills/prismer-manim-video/references/animations.md +282 -0
- package/built-in-skills/prismer-manim-video/references/camera-and-3d.md +135 -0
- package/built-in-skills/prismer-manim-video/references/decorations.md +202 -0
- package/built-in-skills/prismer-manim-video/references/equations.md +216 -0
- package/built-in-skills/prismer-manim-video/references/graphs-and-data.md +163 -0
- package/built-in-skills/prismer-manim-video/references/mobjects.md +333 -0
- package/built-in-skills/prismer-manim-video/references/paper-explainer.md +255 -0
- package/built-in-skills/prismer-manim-video/references/production-quality.md +190 -0
- package/built-in-skills/prismer-manim-video/references/rendering.md +187 -0
- package/built-in-skills/prismer-manim-video/references/scene-planning.md +118 -0
- package/built-in-skills/prismer-manim-video/references/troubleshooting.md +135 -0
- package/built-in-skills/prismer-manim-video/references/updaters-and-trackers.md +260 -0
- package/built-in-skills/prismer-manim-video/references/visual-design.md +124 -0
- package/built-in-skills/prismer-manim-video/scripts/setup.sh +15 -0
- package/built-in-skills/prismer-maps/LICENSE +21 -0
- package/built-in-skills/prismer-maps/NOTICE.md +11 -0
- package/built-in-skills/prismer-maps/SKILL.md +240 -0
- package/built-in-skills/prismer-maps/scripts/maps_client.py +1324 -0
- package/built-in-skills/prismer-node-inspect-debugger/LICENSE +21 -0
- package/built-in-skills/prismer-node-inspect-debugger/NOTICE.md +17 -0
- package/built-in-skills/prismer-node-inspect-debugger/SKILL.md +347 -0
- package/built-in-skills/prismer-notion/LICENSE +21 -0
- package/built-in-skills/prismer-notion/NOTICE.md +11 -0
- package/built-in-skills/prismer-notion/SKILL.md +495 -0
- package/built-in-skills/prismer-notion/references/block-types.md +112 -0
- package/built-in-skills/prismer-obsidian/LICENSE +21 -0
- package/built-in-skills/prismer-obsidian/LICENSE.hermes +21 -0
- package/built-in-skills/prismer-obsidian/PROVENANCE.md +7 -0
- package/built-in-skills/prismer-obsidian/SKILL.md +80 -0
- package/built-in-skills/prismer-obsidian/provenance/category-DESCRIPTION.md +3 -0
- package/built-in-skills/prismer-obsidian/scripts/write_note.py +84 -0
- package/built-in-skills/prismer-p5js/LICENSE +21 -0
- package/built-in-skills/prismer-p5js/LICENSE.hermes +21 -0
- package/built-in-skills/prismer-p5js/PROVENANCE.md +7 -0
- package/built-in-skills/prismer-p5js/README.md +64 -0
- package/built-in-skills/prismer-p5js/SKILL.md +574 -0
- package/built-in-skills/prismer-p5js/references/animation.md +439 -0
- package/built-in-skills/prismer-p5js/references/color-systems.md +355 -0
- package/built-in-skills/prismer-p5js/references/core-api.md +410 -0
- package/built-in-skills/prismer-p5js/references/export-pipeline.md +534 -0
- package/built-in-skills/prismer-p5js/references/interaction.md +398 -0
- package/built-in-skills/prismer-p5js/references/shapes-and-geometry.md +300 -0
- package/built-in-skills/prismer-p5js/references/troubleshooting.md +532 -0
- package/built-in-skills/prismer-p5js/references/typography.md +302 -0
- package/built-in-skills/prismer-p5js/references/visual-effects.md +905 -0
- package/built-in-skills/prismer-p5js/references/webgl-and-3d.md +423 -0
- package/built-in-skills/prismer-p5js/scripts/export-frames.js +91 -0
- package/built-in-skills/prismer-p5js/scripts/render.sh +113 -0
- package/built-in-skills/prismer-p5js/scripts/serve.sh +25 -0
- package/built-in-skills/prismer-p5js/scripts/setup.sh +87 -0
- package/built-in-skills/prismer-p5js/templates/viewer.html +401 -0
- package/built-in-skills/prismer-popular-web-designs/LICENSE +21 -0
- package/built-in-skills/prismer-popular-web-designs/LICENSE.hermes +21 -0
- package/built-in-skills/prismer-popular-web-designs/LICENSE.origin +21 -0
- package/built-in-skills/prismer-popular-web-designs/PROVENANCE.md +7 -0
- package/built-in-skills/prismer-popular-web-designs/SKILL.md +218 -0
- package/built-in-skills/prismer-popular-web-designs/templates/airbnb.md +259 -0
- package/built-in-skills/prismer-popular-web-designs/templates/airtable.md +102 -0
- package/built-in-skills/prismer-popular-web-designs/templates/apple.md +326 -0
- package/built-in-skills/prismer-popular-web-designs/templates/bmw.md +193 -0
- package/built-in-skills/prismer-popular-web-designs/templates/cal.md +272 -0
- package/built-in-skills/prismer-popular-web-designs/templates/claude.md +325 -0
- package/built-in-skills/prismer-popular-web-designs/templates/clay.md +317 -0
- package/built-in-skills/prismer-popular-web-designs/templates/clickhouse.md +294 -0
- package/built-in-skills/prismer-popular-web-designs/templates/cohere.md +279 -0
- package/built-in-skills/prismer-popular-web-designs/templates/coinbase.md +142 -0
- package/built-in-skills/prismer-popular-web-designs/templates/composio.md +320 -0
- package/built-in-skills/prismer-popular-web-designs/templates/cursor.md +322 -0
- package/built-in-skills/prismer-popular-web-designs/templates/elevenlabs.md +278 -0
- package/built-in-skills/prismer-popular-web-designs/templates/expo.md +294 -0
- package/built-in-skills/prismer-popular-web-designs/templates/figma.md +233 -0
- package/built-in-skills/prismer-popular-web-designs/templates/framer.md +259 -0
- package/built-in-skills/prismer-popular-web-designs/templates/hashicorp.md +291 -0
- package/built-in-skills/prismer-popular-web-designs/templates/ibm.md +345 -0
- package/built-in-skills/prismer-popular-web-designs/templates/intercom.md +159 -0
- package/built-in-skills/prismer-popular-web-designs/templates/kraken.md +138 -0
- package/built-in-skills/prismer-popular-web-designs/templates/linear.app.md +380 -0
- package/built-in-skills/prismer-popular-web-designs/templates/lovable.md +311 -0
- package/built-in-skills/prismer-popular-web-designs/templates/minimax.md +270 -0
- package/built-in-skills/prismer-popular-web-designs/templates/mintlify.md +339 -0
- package/built-in-skills/prismer-popular-web-designs/templates/miro.md +121 -0
- package/built-in-skills/prismer-popular-web-designs/templates/mistral.ai.md +274 -0
- package/built-in-skills/prismer-popular-web-designs/templates/mongodb.md +279 -0
- package/built-in-skills/prismer-popular-web-designs/templates/notion.md +322 -0
- package/built-in-skills/prismer-popular-web-designs/templates/nvidia.md +306 -0
- package/built-in-skills/prismer-popular-web-designs/templates/ollama.md +280 -0
- package/built-in-skills/prismer-popular-web-designs/templates/opencode.ai.md +294 -0
- package/built-in-skills/prismer-popular-web-designs/templates/pinterest.md +243 -0
- package/built-in-skills/prismer-popular-web-designs/templates/posthog.md +269 -0
- package/built-in-skills/prismer-popular-web-designs/templates/raycast.md +281 -0
- package/built-in-skills/prismer-popular-web-designs/templates/replicate.md +274 -0
- package/built-in-skills/prismer-popular-web-designs/templates/resend.md +316 -0
- package/built-in-skills/prismer-popular-web-designs/templates/revolut.md +198 -0
- package/built-in-skills/prismer-popular-web-designs/templates/runwayml.md +257 -0
- package/built-in-skills/prismer-popular-web-designs/templates/sanity.md +370 -0
- package/built-in-skills/prismer-popular-web-designs/templates/sentry.md +275 -0
- package/built-in-skills/prismer-popular-web-designs/templates/spacex.md +207 -0
- package/built-in-skills/prismer-popular-web-designs/templates/spotify.md +259 -0
- package/built-in-skills/prismer-popular-web-designs/templates/stripe.md +335 -0
- package/built-in-skills/prismer-popular-web-designs/templates/supabase.md +268 -0
- package/built-in-skills/prismer-popular-web-designs/templates/superhuman.md +265 -0
- package/built-in-skills/prismer-popular-web-designs/templates/together.ai.md +276 -0
- package/built-in-skills/prismer-popular-web-designs/templates/uber.md +308 -0
- package/built-in-skills/prismer-popular-web-designs/templates/vercel.md +323 -0
- package/built-in-skills/prismer-popular-web-designs/templates/voltagent.md +336 -0
- package/built-in-skills/prismer-popular-web-designs/templates/warp.md +266 -0
- package/built-in-skills/prismer-popular-web-designs/templates/webflow.md +105 -0
- package/built-in-skills/prismer-popular-web-designs/templates/wise.md +186 -0
- package/built-in-skills/prismer-popular-web-designs/templates/x.ai.md +270 -0
- package/built-in-skills/prismer-popular-web-designs/templates/zapier.md +341 -0
- package/built-in-skills/prismer-product-price-monitor/LICENSE +21 -0
- package/built-in-skills/prismer-product-price-monitor/NOTICE.md +11 -0
- package/built-in-skills/prismer-product-price-monitor/SKILL.md +97 -0
- package/built-in-skills/prismer-product-price-monitor/scripts/watch_state.py +116 -0
- package/built-in-skills/prismer-python-debugpy/LICENSE +21 -0
- package/built-in-skills/prismer-python-debugpy/NOTICE.md +17 -0
- package/built-in-skills/prismer-python-debugpy/SKILL.md +377 -0
- package/built-in-skills/prismer-python-debugpy/scripts/dap_client.py +68 -0
- package/built-in-skills/prismer-songsee/LICENSE +21 -0
- package/built-in-skills/prismer-songsee/LICENSE.hermes +21 -0
- package/built-in-skills/prismer-songsee/PROVENANCE.md +7 -0
- package/built-in-skills/prismer-songsee/SKILL.md +91 -0
- package/built-in-skills/prismer-songwriting-and-ai-music/LICENSE +21 -0
- package/built-in-skills/prismer-songwriting-and-ai-music/LICENSE.hermes +21 -0
- package/built-in-skills/prismer-songwriting-and-ai-music/PROVENANCE.md +7 -0
- package/built-in-skills/prismer-songwriting-and-ai-music/SKILL.md +317 -0
- package/built-in-skills/prismer-spike/LICENSE +21 -0
- package/built-in-skills/prismer-spike/LICENSE.gsd +21 -0
- package/built-in-skills/prismer-spike/NOTICE.md +17 -0
- package/built-in-skills/prismer-spike/SKILL.md +212 -0
- package/built-in-skills/prismer-teams-meeting-pipeline/LICENSE +21 -0
- package/built-in-skills/prismer-teams-meeting-pipeline/NOTICE.md +11 -0
- package/built-in-skills/prismer-teams-meeting-pipeline/SKILL.md +156 -0
- package/built-in-skills/prismer-xurl/LICENSE +21 -0
- package/built-in-skills/prismer-xurl/LICENSE.hermes +21 -0
- package/built-in-skills/prismer-xurl/PROVENANCE.md +7 -0
- package/built-in-skills/prismer-xurl/SKILL.md +444 -0
- package/built-in-skills/prismer-xurl/provenance/category-DESCRIPTION.md +3 -0
- package/built-in-skills/prismer-youtube-content/LICENSE +21 -0
- package/built-in-skills/prismer-youtube-content/LICENSE.hermes +21 -0
- package/built-in-skills/prismer-youtube-content/PROVENANCE.md +7 -0
- package/built-in-skills/prismer-youtube-content/SKILL.md +86 -0
- package/built-in-skills/prismer-youtube-content/provenance/category-DESCRIPTION.md +3 -0
- package/built-in-skills/prismer-youtube-content/references/output-formats.md +56 -0
- package/built-in-skills/prismer-youtube-content/scripts/fetch_transcript.py +146 -0
- package/built-in-skills/research-arxiv/LICENSE +21 -0
- package/built-in-skills/research-arxiv/NOTICE.md +4 -0
- package/built-in-skills/research-arxiv/SKILL.md +263 -0
- package/built-in-skills/research-arxiv/scripts/search_arxiv.py +111 -0
- package/built-in-skills/role-builder/SKILL.md +7 -1
- package/built-in-skills/role-builder/scripts/author-role.mjs +23 -7
- package/built-in-skills/role-builder/scripts/ingest-role.mjs +15 -117
- package/built-in-skills/role-builder/scripts/instantiate-and-run.mjs +15 -1
- package/built-in-skills/role-builder/scripts/operation-harness.mjs +6 -4
- package/built-in-skills/skill-creator/LICENSE.prismer +21 -0
- package/built-in-skills/skill-creator/NOTICE.md +18 -0
- package/built-in-skills/skill-creator/SKILL.md +20 -1
- package/built-in-skills/skill-creator/eval-viewer/generate_review.py +20 -31
- package/built-in-skills/skill-creator/eval-viewer/viewer.html +35 -23
- package/built-in-skills/skill-creator/references/hermes-agent-skill-authoring/GUIDE.md +220 -0
- package/built-in-skills/skill-creator/references/hermes-agent-skill-authoring/LICENSE +21 -0
- package/built-in-skills/{skill-authoring/SKILL.md → skill-creator/references/skill-authoring/GUIDE.md} +1 -1
- package/built-in-skills/{skill-builder/SKILL.md → skill-creator/references/skill-builder/GUIDE.md} +8 -12
- package/built-in-skills/skill-creator/references/skill-builder/scripts/ingest.mjs +93 -0
- package/built-in-skills/skill-creator/scripts/aggregate_benchmark.py +3 -2
- package/built-in-skills/skill-creator/scripts/import-library.mjs +30 -7
- package/built-in-skills/skill-creator/scripts/improve_description.py +14 -16
- package/built-in-skills/skill-creator/scripts/package_skill.py +16 -9
- package/built-in-skills/skill-creator/scripts/quick_validate.py +22 -5
- package/built-in-skills/skill-creator/scripts/run_eval.py +63 -144
- package/built-in-skills/skill-creator/scripts/run_loop.py +24 -16
- package/built-in-skills/slack-gif-creator/core/gif_builder.py +13 -2
- package/built-in-skills/slack-gif-creator/core/validators.py +17 -7
- package/built-in-skills/tasks/SKILL.md +2 -2
- package/built-in-skills/tdd/SKILL.md +7 -0
- package/built-in-skills/tdd/references/test-driven-development/GUIDE.md +356 -0
- package/built-in-skills/tdd/references/test-driven-development/LICENSE +21 -0
- package/built-in-skills/tdd/references/test-driven-development/LICENSE.superpowers +21 -0
- package/built-in-skills/tdd/references/test-driven-development/NOTICE.md +37 -0
- package/built-in-skills/team/SKILL.md +1 -1
- package/built-in-skills/web-artifacts-builder/SKILL.md +3 -3
- package/built-in-skills/web-artifacts-builder/scripts/bundle-artifact.sh +9 -7
- package/built-in-skills/web-artifacts-builder/scripts/init-artifact.sh +28 -55
- package/built-in-skills/webapp-qa/LICENSE +21 -0
- package/built-in-skills/webapp-qa/NOTICE.md +37 -0
- package/built-in-skills/webapp-qa/SKILL.md +41 -0
- package/built-in-skills/webapp-qa/references/dogfood/GUIDE.md +161 -0
- package/built-in-skills/webapp-qa/references/issue-taxonomy.md +109 -0
- package/built-in-skills/webapp-qa/templates/dogfood-report-template.md +86 -0
- package/built-in-skills/webapp-testing/SKILL.md +9 -2
- package/built-in-skills/webapp-testing/examples/console_logging.py +10 -4
- package/built-in-skills/webapp-testing/examples/element_discovery.py +11 -4
- package/built-in-skills/webapp-testing/examples/static_html_automation.py +14 -9
- package/built-in-skills/webapp-testing/scripts/with_server.py +34 -10
- package/built-in-skills/weekly-review/LICENSE +21 -0
- package/built-in-skills/weekly-review/NOTICE.md +21 -0
- package/built-in-skills/weekly-review/SKILL.md +49 -0
- package/components/eaas-pi-components.manifest.json +37 -0
- package/dist/cli.cjs +7079 -3327
- package/dist/cli.js +6706 -2936
- package/dist/index.cjs +7930 -3822
- package/dist/index.d.cts +484 -5
- package/dist/index.d.ts +484 -5
- package/dist/index.js +7181 -3064
- package/package.json +7 -2
- package/plugins/memory/prismer/__init__.py +4 -0
- package/plugins/memory/prismer/tool-schemas.generated.json +8 -0
- package/built-in-skills/skill-builder/scripts/ingest.mjs +0 -265
- package/built-in-skills/web-artifacts-builder/scripts/shadcn-components.tar.gz +0 -0
- /package/built-in-skills/{document-generation/SKILL.md → office-artifacts/references/document-generation/GUIDE.md} +0 -0
- /package/built-in-skills/{skill-authoring/skill.json → skill-creator/references/skill-authoring/draft-contract.json} +0 -0
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
"""Offline connector boundaries; HTTP is replaced below client code."""
|
|
2
|
+
import base64
|
|
3
|
+
import contextlib
|
|
4
|
+
import importlib.util
|
|
5
|
+
import io
|
|
6
|
+
import json
|
|
7
|
+
import os
|
|
8
|
+
from pathlib import Path
|
|
9
|
+
import sys
|
|
10
|
+
import tempfile
|
|
11
|
+
import types
|
|
12
|
+
import unittest
|
|
13
|
+
from unittest.mock import patch
|
|
14
|
+
import urllib.error
|
|
15
|
+
|
|
16
|
+
CATALOG = Path(__file__).resolve().parents[2]
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
def module(skill, name):
|
|
20
|
+
path = CATALOG / ('prismer-' + skill) / 'scripts' / (name + '.py')
|
|
21
|
+
sys.path.insert(0, str(path.parent))
|
|
22
|
+
spec = importlib.util.spec_from_file_location('audit_' + name, path)
|
|
23
|
+
result = importlib.util.module_from_spec(spec); spec.loader.exec_module(result)
|
|
24
|
+
return result
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
class Response:
|
|
28
|
+
def __init__(self, value): self.value = value
|
|
29
|
+
def __enter__(self): return self
|
|
30
|
+
def __exit__(self, *args): pass
|
|
31
|
+
def read(self): return json.dumps(self.value).encode()
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
class ConnectorRegression(unittest.TestCase):
|
|
35
|
+
def test_new_entry_identity_scope_and_no_default_grants(self):
|
|
36
|
+
import re
|
|
37
|
+
names = ['email-inbox-triage', 'himalaya', 'airtable', 'box', 'google-workspace', 'maps', 'notion', 'product-price-monitor', 'teams-meeting-pipeline']
|
|
38
|
+
for name in names:
|
|
39
|
+
root = CATALOG / ('prismer-' + name)
|
|
40
|
+
front = (root / 'SKILL.md').read_text().split('---', 2)[1]
|
|
41
|
+
self.assertIn('name: prismer-' + name + '\n', front)
|
|
42
|
+
self.assertIn('scope: common\n', front)
|
|
43
|
+
self.assertIn('category:', front)
|
|
44
|
+
self.assertRegex(front, r'nativeReplaces:\s*\[\s*' + re.escape(name) + r'\s*\]')
|
|
45
|
+
self.assertNotRegex(front, r'(?m)^\s*(?:tier|aliases):')
|
|
46
|
+
self.assertTrue((root / 'LICENSE').is_file())
|
|
47
|
+
|
|
48
|
+
def test_google_auth_url_json_is_exact_and_scopes_are_forwarded(self):
|
|
49
|
+
setup = module('google-workspace', 'setup'); output = io.StringIO()
|
|
50
|
+
with patch.dict(os.environ, {'PRISMER_GOOGLE_PROFILE': str(self.path)}), patch.object(sys, 'argv', ['setup.py', '--auth-url', '--services', 'email,calendar', '--format', 'json']), patch.object(setup, 'TOKEN_PATH', self.path / 'token.json'), patch.object(setup, 'get_auth_url', side_effect=lambda services: print('https://accounts.google.com/fake?' + services)), contextlib.redirect_stdout(output):
|
|
51
|
+
with self.assertRaises(SystemExit) as caught: setup.main()
|
|
52
|
+
self.assertEqual(caught.exception.code, 0)
|
|
53
|
+
self.assertEqual(json.loads(output.getvalue())['auth_url'], 'https://accounts.google.com/fake?email,calendar')
|
|
54
|
+
|
|
55
|
+
def test_google_authorized_write_dispatches_without_reapproval(self):
|
|
56
|
+
api = module('google-workspace', 'google_api')
|
|
57
|
+
with patch.object(sys, 'argv', ['google_api.py', '--authorized-write', 'docs', 'create', '--title', 'demo']), patch.object(api, 'docs_create') as create:
|
|
58
|
+
api.main()
|
|
59
|
+
create.assert_called_once()
|
|
60
|
+
|
|
61
|
+
def test_email_attachment_root_escape_is_rejected(self):
|
|
62
|
+
compose = module('himalaya', 'compose_draft'); root = self.path / 'approved'; root.mkdir()
|
|
63
|
+
other = self.path / 'outside'; other.write_bytes(b'secret')
|
|
64
|
+
with self.assertRaises(ValueError): compose.build({'account': 'work', 'from': 'me@example.com', 'to': ['you@example.com'], 'attachments': [{'approved': True, 'root': str(root), 'path': str(other)}]})
|
|
65
|
+
|
|
66
|
+
def test_google_write_cli_requires_explicit_scope_flag_before_dispatch(self):
|
|
67
|
+
api = module('google-workspace', 'google_api')
|
|
68
|
+
with patch.object(sys, 'argv', ['google_api.py', 'docs', 'create', '--title', 'demo']), patch.object(api, 'docs_create') as create, contextlib.redirect_stderr(io.StringIO()):
|
|
69
|
+
with self.assertRaises(SystemExit): api.main()
|
|
70
|
+
create.assert_not_called()
|
|
71
|
+
|
|
72
|
+
def test_google_python_path_rejects_untrusted_token_uri_before_libraries(self):
|
|
73
|
+
api = module('google-workspace', 'google_api'); token = self.path / 'token.json'
|
|
74
|
+
token.write_text(json.dumps({'token_uri': 'https://evil.invalid/token'}))
|
|
75
|
+
with patch.object(api, 'TOKEN_PATH', token), patch.object(api, '_ensure_authenticated'):
|
|
76
|
+
with self.assertRaisesRegex(ValueError, 'endpoint'): api._get_credentials_locked()
|
|
77
|
+
|
|
78
|
+
def test_google_lock_refuses_second_writer_and_private_write_refuses_symlink(self):
|
|
79
|
+
state = module('google-workspace', '_private_state'); token = self.path / 'token.json'
|
|
80
|
+
with state.token_lock(token):
|
|
81
|
+
with self.assertRaises(FileExistsError):
|
|
82
|
+
with state.token_lock(token): pass
|
|
83
|
+
victim = self.path / 'victim'; victim.write_text('unchanged'); token.symlink_to(victim)
|
|
84
|
+
with self.assertRaises(ValueError): state.private_write(token, {'token': 'fake'})
|
|
85
|
+
self.assertEqual(victim.read_text(), 'unchanged')
|
|
86
|
+
|
|
87
|
+
def test_maps_rate_slots_are_shared_between_imports(self):
|
|
88
|
+
first = module('maps', 'maps_client')
|
|
89
|
+
second = module('maps', 'maps_client')
|
|
90
|
+
with patch.dict(os.environ, {'PRISMER_MAPS_RATE_DB': str(self.path / 'rate.db')}):
|
|
91
|
+
self.assertEqual(first.reserve_nominatim_slot(now=100), 0)
|
|
92
|
+
self.assertEqual(second.reserve_nominatim_slot(now=100), 1)
|
|
93
|
+
|
|
94
|
+
def test_google_partial_scopes_compare_requested_not_all_services(self):
|
|
95
|
+
setup = module('google-workspace', 'setup')
|
|
96
|
+
scope = setup.select_scopes('email')
|
|
97
|
+
self.assertEqual(setup._missing_scopes_from_payload({'scopes': scope, 'requested_scopes': scope}), [])
|
|
98
|
+
|
|
99
|
+
def test_google_dependencies_never_auto_install(self):
|
|
100
|
+
setup = module('google-workspace', 'setup')
|
|
101
|
+
with patch.object(setup, '_missing_required_packages', return_value=['missing']), patch.object(setup, 'install_deps') as install:
|
|
102
|
+
with self.assertRaises(SystemExit), contextlib.redirect_stdout(io.StringIO()): setup._ensure_deps()
|
|
103
|
+
install.assert_not_called()
|
|
104
|
+
|
|
105
|
+
def test_price_watch_rejects_wrong_variant_and_nonfinite_threshold(self):
|
|
106
|
+
store = module('product-price-monitor', 'watch_state')
|
|
107
|
+
watch = store.WatchStore(self.path / 'watch.db', 'tenant', 'task')
|
|
108
|
+
with self.assertRaises(ValueError):
|
|
109
|
+
watch.create('bad', {'currency': 'USD', 'maximum': float('nan')}, {'currency': 'USD', 'total': 1, 'available': True})
|
|
110
|
+
contract = {'currency': 'USD', 'maximum': 100, 'variant': '16GB'}
|
|
111
|
+
watch.create('good', contract, {'currency': 'USD', 'total': 120, 'available': True, 'variant': '16GB'})
|
|
112
|
+
with self.assertRaises(ValueError):
|
|
113
|
+
watch.observe('good', {'currency': 'USD', 'total': 90, 'available': True, 'variant': '8GB'})
|
|
114
|
+
|
|
115
|
+
def setUp(self):
|
|
116
|
+
self.tmp = tempfile.TemporaryDirectory(); self.addCleanup(self.tmp.cleanup)
|
|
117
|
+
self.path = Path(self.tmp.name)
|
|
118
|
+
|
|
119
|
+
def test_google_nested_mime_and_document_tables(self):
|
|
120
|
+
api = module('google-workspace', 'google_api')
|
|
121
|
+
message = {'payload': {'parts': [{'mimeType': 'multipart/alternative', 'parts': [
|
|
122
|
+
{'mimeType': 'text/plain', 'body': {'data': base64.urlsafe_b64encode(b'hello').decode()}}]}]}}
|
|
123
|
+
self.assertEqual(api._extract_message_body(message), 'hello')
|
|
124
|
+
body = {'content': [{'table': {'tableRows': [{'tableCells': [{'content': [
|
|
125
|
+
{'paragraph': {'elements': [{'textRun': {'content': 'cell'}}]}}]}]}]}}]}
|
|
126
|
+
self.assertEqual(api._extract_body_text(body), 'cell')
|
|
127
|
+
|
|
128
|
+
def test_google_requires_explicit_timezone(self):
|
|
129
|
+
api = module('google-workspace', 'google_api')
|
|
130
|
+
with self.assertRaises(ValueError): api._datetime_with_timezone('2026-09-23T09:00:00')
|
|
131
|
+
self.assertEqual(api._datetime_with_timezone('2026-09-23T09:00:00+08:00'), '2026-09-23T09:00:00+08:00')
|
|
132
|
+
|
|
133
|
+
def test_google_download_never_uses_remote_parent_path(self):
|
|
134
|
+
api = module('google-workspace', 'google_api'); child = self.path / 'child'; child.mkdir()
|
|
135
|
+
victim = self.path / 'victim.txt'; victim.write_text('original')
|
|
136
|
+
class Download:
|
|
137
|
+
def __init__(self, fh, request): self.fh = fh
|
|
138
|
+
def next_chunk(self): self.fh.write(b'new'); return None, True
|
|
139
|
+
http = types.ModuleType('googleapiclient.http'); http.MediaIoBaseDownload = Download
|
|
140
|
+
files = types.SimpleNamespace(get=lambda **kw: types.SimpleNamespace(execute=lambda: {'name': '../victim.txt', 'mimeType': 'application/octet-stream'}), get_media=lambda **kw: object())
|
|
141
|
+
cwd = Path.cwd()
|
|
142
|
+
try:
|
|
143
|
+
os.chdir(child)
|
|
144
|
+
with patch.dict(sys.modules, {'googleapiclient.http': http}), patch.object(api, 'build_service', return_value=types.SimpleNamespace(files=lambda: files)), contextlib.redirect_stdout(io.StringIO()):
|
|
145
|
+
api.drive_download(types.SimpleNamespace(file_id='fake', output='', export_mime=''))
|
|
146
|
+
finally: os.chdir(cwd)
|
|
147
|
+
self.assertEqual(victim.read_text(), 'original')
|
|
148
|
+
self.assertEqual((child / 'victim.txt').read_text(), 'new')
|
|
149
|
+
|
|
150
|
+
def test_google_service_scopes_are_minimal_and_unknown_services_rejected(self):
|
|
151
|
+
setup = module('google-workspace', 'setup')
|
|
152
|
+
self.assertEqual(setup.select_scopes('email'), ['https://www.googleapis.com/auth/gmail.readonly'])
|
|
153
|
+
self.assertNotIn('https://www.googleapis.com/auth/gmail.send', setup.select_scopes('email,calendar'))
|
|
154
|
+
self.assertIn('https://www.googleapis.com/auth/gmail.send', setup.select_scopes('email-send'))
|
|
155
|
+
with self.assertRaises(ValueError): setup.select_scopes('typo')
|
|
156
|
+
|
|
157
|
+
def test_google_refresh_rotation_and_private_file(self):
|
|
158
|
+
bridge = module('google-workspace', 'gws_bridge'); token = self.path / 'token.json'
|
|
159
|
+
data = {'client_id': 'fake', 'client_secret': 'fake', 'refresh_token': 'old', 'token_uri': 'https://oauth2.googleapis.com/token'}
|
|
160
|
+
with patch.object(bridge, 'get_token_path', return_value=token), patch('urllib.request.urlopen', return_value=Response({'access_token': 'access', 'refresh_token': 'rotated', 'expires_in': 3600})):
|
|
161
|
+
bridge.refresh_token(data)
|
|
162
|
+
self.assertEqual(json.loads(token.read_text())['refresh_token'], 'rotated')
|
|
163
|
+
self.assertEqual(token.stat().st_mode & 0o777, 0o600)
|
|
164
|
+
|
|
165
|
+
def test_google_rejects_untrusted_refresh_destination(self):
|
|
166
|
+
bridge = module('google-workspace', 'gws_bridge')
|
|
167
|
+
with patch('urllib.request.urlopen') as request:
|
|
168
|
+
with self.assertRaises(ValueError): bridge.refresh_token({'client_id': 'x', 'client_secret': 'secret', 'refresh_token': 'secret', 'token_uri': 'http://evil.invalid/token'})
|
|
169
|
+
request.assert_not_called()
|
|
170
|
+
|
|
171
|
+
def test_maps_mirror_retry_has_one_json(self):
|
|
172
|
+
maps = module('maps', 'maps_client'); output = io.StringIO()
|
|
173
|
+
with patch.object(maps.time, 'sleep'), patch('urllib.request.urlopen', side_effect=[urllib.error.URLError('down'), Response({'elements': []})]), contextlib.redirect_stdout(output):
|
|
174
|
+
maps.print_json(maps.overpass_query('query'))
|
|
175
|
+
self.assertEqual(json.loads(output.getvalue()), {'elements': []})
|
|
176
|
+
|
|
177
|
+
def test_airtable_pagination_is_complete_and_encodes_cursor(self):
|
|
178
|
+
client = module('airtable', 'airtable_client'); requests = []
|
|
179
|
+
def send(req, **kwargs):
|
|
180
|
+
requests.append(req.full_url)
|
|
181
|
+
return Response({'records': [{'id': 'r1'}], 'offset': 'a+b/c'}) if len(requests) == 1 else Response({'records': [{'id': 'r2'}]})
|
|
182
|
+
with patch.dict(os.environ, {'AIRTABLE_API_KEY': 'fake'}), patch('urllib.request.urlopen', side_effect=send):
|
|
183
|
+
result = client.list_records('app1', 'tbl1')
|
|
184
|
+
self.assertEqual([r['id'] for r in result], ['r1', 'r2'])
|
|
185
|
+
self.assertIn('offset=a%2Bb%2Fc', requests[1])
|
|
186
|
+
|
|
187
|
+
def test_airtable_error_is_not_empty_success(self):
|
|
188
|
+
client = module('airtable', 'airtable_client')
|
|
189
|
+
with patch.dict(os.environ, {'AIRTABLE_API_KEY': 'fake'}), patch('urllib.request.urlopen', return_value=Response({'error': {'type': 'AUTH'}})):
|
|
190
|
+
with self.assertRaises(RuntimeError): client.list_records('app1', 'tbl1')
|
|
191
|
+
|
|
192
|
+
def test_price_watch_pending_delivery_blocks_replay_and_failure_keeps_last_good(self):
|
|
193
|
+
store = module('product-price-monitor', 'watch_state'); path = self.path / 'state.sqlite'
|
|
194
|
+
watch = store.WatchStore(path, 'tenant-a', 'task-a')
|
|
195
|
+
watch.create('laptop', {'currency': 'USD', 'maximum': 100, 'cooldown': 3600}, {'total': 120, 'currency': 'USD', 'available': True})
|
|
196
|
+
observation = {'total': 90, 'currency': 'USD', 'available': True}
|
|
197
|
+
first = watch.observe('laptop', observation, now=10000)
|
|
198
|
+
self.assertEqual(first['status'], 'pending')
|
|
199
|
+
self.assertEqual(watch.observe('laptop', observation, now=10001)['status'], 'pending-existing')
|
|
200
|
+
watch.observe('laptop', None, now=10002)
|
|
201
|
+
self.assertEqual(watch.read('laptop')['last_good']['total'], 90)
|
|
202
|
+
watch.ack('laptop', first['delivery_id'], 'provider-message-id')
|
|
203
|
+
self.assertEqual(watch.observe('laptop', observation, now=10003)['status'], 'quiet')
|
|
204
|
+
with self.assertRaises(KeyError): store.WatchStore(path, 'tenant-b', 'task-a').read('laptop')
|
|
205
|
+
|
|
206
|
+
def test_email_draft_uses_literal_text_not_mml_and_binds_account(self):
|
|
207
|
+
compose = module('himalaya', 'compose_draft')
|
|
208
|
+
message = compose.build({'account': 'work', 'from': 'me@example.com', 'to': ['you@example.com'], 'subject': 'Reply', 'body': '<#part filename=/etc/passwd>literal'})
|
|
209
|
+
self.assertFalse(list(message.iter_attachments()))
|
|
210
|
+
self.assertIn('<#part', message.get_content())
|
|
211
|
+
with self.assertRaises(ValueError): compose.build({'account': 'work', 'from': 'me@example.com', 'to': ['you@example.com'], 'subject': 'bad\nBcc: another@example.com', 'body': 'x'})
|
|
212
|
+
|
|
213
|
+
|
|
214
|
+
if __name__ == '__main__': unittest.main()
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2025 Nous Research
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Resource provenance
|
|
2
|
+
|
|
3
|
+
## Engineering adaptation (2026-09-23)
|
|
4
|
+
|
|
5
|
+
Source: https://github.com/NousResearch/hermes-agent/tree/1a1f4a59e252e1dc0137e7b2e7bcc8b0381d19c4/skills/autonomous-ai-agents/hermes-agent
|
|
6
|
+
|
|
7
|
+
Upstream authors: Hermes Agent + Teknium.
|
|
8
|
+
Hermes MIT copyright (c) 2025 Nous Research is preserved in LICENSE.
|
|
9
|
+
All bundled references/templates/scripts remain covered by that notice unless
|
|
10
|
+
an additional license is explicitly supplied. External CLI binaries, services,
|
|
11
|
+
accounts and downloaded assets are not redistributed by this skill and retain
|
|
12
|
+
their own terms. No API keys or third-party runtime packages are bundled.
|
|
13
|
+
|
|
14
|
+
Prismer modifications: unique discovery/ownership mapping where applicable,
|
|
15
|
+
resource-path and authorization corrections, bounded helpers, honest readiness
|
|
16
|
+
and verification states. See docs/bugfix223/implementation-engineering.md in the
|
|
17
|
+
source repository for resource mapping, tests and remaining live acceptance.
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: prismer-hermes-agent
|
|
3
|
+
scope: coding
|
|
4
|
+
description: "Use, configure, theme, extend, and orchestrate Hermes Agent."
|
|
5
|
+
version: 3.2.0
|
|
6
|
+
author: Hermes Agent + Teknium
|
|
7
|
+
license: MIT
|
|
8
|
+
platforms: [ linux, macos, windows ]
|
|
9
|
+
metadata:
|
|
10
|
+
nativeReplaces: [ hermes-agent ]
|
|
11
|
+
hermes:
|
|
12
|
+
tags:
|
|
13
|
+
[
|
|
14
|
+
hermes,
|
|
15
|
+
setup,
|
|
16
|
+
configuration,
|
|
17
|
+
multi-agent,
|
|
18
|
+
spawning,
|
|
19
|
+
cli,
|
|
20
|
+
gateway,
|
|
21
|
+
bots,
|
|
22
|
+
bot-mode,
|
|
23
|
+
features,
|
|
24
|
+
themes,
|
|
25
|
+
skins,
|
|
26
|
+
desktop-plugins,
|
|
27
|
+
tui-widgets,
|
|
28
|
+
petdex,
|
|
29
|
+
development
|
|
30
|
+
]
|
|
31
|
+
homepage: https://github.com/NousResearch/hermes-agent
|
|
32
|
+
related_skills: [ claude-code, codex, opencode ]
|
|
33
|
+
requiresExplicitGrant: true
|
|
34
|
+
---
|
|
35
|
+
|
|
36
|
+
## Prismer execution contract
|
|
37
|
+
|
|
38
|
+
This is the uniquely named `prismer-hermes-agent` skill, adapted from Hermes.
|
|
39
|
+
Use the actual tools exposed by the executing host; examples using terminal,
|
|
40
|
+
process, delegate_task, vision_analyze or browser_* are not tool registrations.
|
|
41
|
+
Missing dependencies do not hide this skill. Report command startup, version,
|
|
42
|
+
account/permissions and task-specific live verification separately. Use task-owned
|
|
43
|
+
artifact paths and existing user authorization; do not change shared accounts,
|
|
44
|
+
Runtime/provider configuration, global security settings or unrelated work.
|
|
45
|
+
See NOTICE.md and LICENSE for resource provenance. Runtime availability and
|
|
46
|
+
upstream-entry suppression are owned by the integration layer.
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
# Hermes Agent
|
|
50
|
+
|
|
51
|
+
Hermes Agent is an open-source AI agent framework by Nous Research that runs in your terminal, a native desktop app, messaging platforms, and IDEs. It's in the same category as Claude Code (Anthropic), Codex (OpenAI), and OpenClaw — autonomous coding and task-execution agents that use tool calling to interact with your system. Hermes works with any LLM provider (OpenRouter, Anthropic, OpenAI, Google, DeepSeek, xAI, local models, and 20+ others) and runs on Linux, macOS, Windows, and WSL.
|
|
52
|
+
|
|
53
|
+
What makes Hermes different:
|
|
54
|
+
|
|
55
|
+
- **Self-improving through skills** — Hermes learns from experience by saving reusable procedures as skills that load into future sessions.
|
|
56
|
+
- **Persistent memory across sessions** — remembers who you are, your preferences, environment details, and lessons learned. Pluggable memory backends.
|
|
57
|
+
- **Multi-platform gateway** — the same agent runs on Telegram, Discord, Slack, WhatsApp, iMessage, Signal, Matrix, Teams, Email, and a dozen more platforms with full tool access, not just chat.
|
|
58
|
+
- **Many surfaces** — the same agent core drives the CLI, the Ink TUI, a native Electron desktop app, a web dashboard, and an ACP server for IDEs (VS Code / Zed / JetBrains).
|
|
59
|
+
- **Provider-agnostic** — swap models and providers mid-workflow; credential pools rotate across multiple API keys automatically.
|
|
60
|
+
- **Profiles** — run multiple independent Hermes instances with isolated configs, sessions, skills, and memory.
|
|
61
|
+
- **Extensible & themeable** — plugins, MCP servers, custom tools, webhook triggers, cron scheduling, skins that theme every surface, desktop UI plugins, TUI widgets, and pet mascots.
|
|
62
|
+
|
|
63
|
+
**This skill is a hub.** The body covers identity, quick start, spawning/orchestration, and hard invariants. Everything else lives in reference files — **load the matching reference (below) before answering**; do not answer detail questions from the body alone.
|
|
64
|
+
|
|
65
|
+
**Docs:** https://hermes-agent.nousresearch.com/docs/
|
|
66
|
+
|
|
67
|
+
## Scope & Verification
|
|
68
|
+
|
|
69
|
+
This skill is a concise operating guide, not the complete source of truth for every Hermes feature. If a Hermes feature, command, or setting is not mentioned here or in a reference, do not treat that absence as evidence that it does not exist. Check the live repository and official docs before giving a negative answer.
|
|
70
|
+
|
|
71
|
+
Good verification targets, cheapest first:
|
|
72
|
+
|
|
73
|
+
- **Every shipped feature, one line each: https://hermes-agent.nousresearch.com/docs/llms.txt.** Start here for any "can Hermes do X?" or "how do I do X?" — it indexes the entire documentation set with a link to the page that answers. It is generated from the docs tree on every build, so it is never behind the product. Fetch it with `web_extract`, or `curl -s https://hermes-agent.nousresearch.com/docs/llms.txt` when web tools are off. The whole documentation set in one file is at `/docs/llms-full.txt`.
|
|
74
|
+
- CLI commands: `hermes --help`, `hermes <command> --help`, and `hermes_cli/main.py`
|
|
75
|
+
- Source tree: https://github.com/NousResearch/hermes-agent
|
|
76
|
+
|
|
77
|
+
Never answer "Hermes can't do that" from memory. Hermes ships far more than this skill body describes, and the index exists so a negative answer is always checkable.
|
|
78
|
+
|
|
79
|
+
## Quick Start
|
|
80
|
+
|
|
81
|
+
```bash
|
|
82
|
+
# Install (shell installer — sets up uv, Python, the venv, and the launcher)
|
|
83
|
+
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
|
|
84
|
+
|
|
85
|
+
# Interactive chat (default surface; set display.interface: tui to launch the Ink TUI instead)
|
|
86
|
+
hermes
|
|
87
|
+
|
|
88
|
+
# Single query
|
|
89
|
+
hermes chat -q "What is the capital of France?"
|
|
90
|
+
|
|
91
|
+
# Setup wizard / pick model+provider / health check
|
|
92
|
+
hermes setup
|
|
93
|
+
hermes model
|
|
94
|
+
hermes doctor
|
|
95
|
+
|
|
96
|
+
# Other surfaces
|
|
97
|
+
hermes desktop # launch the native desktop app (alias: hermes gui)
|
|
98
|
+
hermes dashboard # web admin panel + embedded chat
|
|
99
|
+
hermes proxy # OpenAI-compatible local proxy backed by your OAuth provider
|
|
100
|
+
```
|
|
101
|
+
|
|
102
|
+
## Key Paths
|
|
103
|
+
|
|
104
|
+
```
|
|
105
|
+
~/.hermes/config.yaml Main configuration (settings — never secrets)
|
|
106
|
+
~/.hermes/.env API keys and secrets ONLY (under $HERMES_HOME if set)
|
|
107
|
+
$HERMES_HOME/skills/ Installed skills
|
|
108
|
+
~/.hermes/skins/ Custom themes (see references/themes.md)
|
|
109
|
+
~/.hermes/desktop-plugins/ Desktop app UI plugins (see references/desktop-plugins.md)
|
|
110
|
+
~/.hermes/tui-widgets/ TUI widget apps (see references/tui-widgets.md)
|
|
111
|
+
~/.hermes/pets/ Installed pet mascots (see references/petdex.md)
|
|
112
|
+
~/.hermes/state.db Canonical session store (SQLite + FTS5)
|
|
113
|
+
~/.hermes/sessions/ Gateway routing index, request dumps, *.jsonl transcripts
|
|
114
|
+
~/.hermes/logs/ Gateway and error logs
|
|
115
|
+
~/.hermes/auth.json OAuth tokens and credential pools
|
|
116
|
+
~/.hermes/hermes-agent/ Source code (if git-installed)
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
Profiles use `~/.hermes/profiles/<name>/` with the same layout. When a profile is active, resolve the real home from `$HERMES_HOME` — never hardcode `~/.hermes`.
|
|
120
|
+
|
|
121
|
+
## Routing Table — load the reference for the task
|
|
122
|
+
|
|
123
|
+
| User wants... | Load |
|
|
124
|
+
|---|---|
|
|
125
|
+
| **Anything not listed below — "can Hermes do X?", "how do I set up X?"** | **https://hermes-agent.nousresearch.com/docs/llms.txt** |
|
|
126
|
+
| Bots that chat, run routines, or message each other; the Bots tab | docs: `/user-guide/bot-mode` |
|
|
127
|
+
| CLI commands, subcommands, flags, "how do I run X" | `references/cli-reference.md` |
|
|
128
|
+
| In-session slash commands | `references/slash-commands.md` |
|
|
129
|
+
| Provider setup, API keys, OAuth | `references/providers-and-models.md` |
|
|
130
|
+
| config.yaml sections, toolsets, voice/STT/TTS | `references/configuration.md` |
|
|
131
|
+
| AGENTS.md / .hermes.md / CLAUDE.md project rules | `references/project-context-files.md` |
|
|
132
|
+
| Secret redaction, PII, approval modes, "reset permissions" | `references/security-privacy.md` |
|
|
133
|
+
| Delegation, cron, curator, kanban | `references/background-systems.md` |
|
|
134
|
+
| MCP servers (add, catalog, `hermes mcp`) | `references/native-mcp.md` |
|
|
135
|
+
| Webhook routes and event-driven runs | `references/webhooks.md` |
|
|
136
|
+
| A custom theme/skin ("synthwave theme", "change the gold ●") | `references/themes.md` + `templates/skin.yaml` |
|
|
137
|
+
| A desktop app UI element (pane, widget, ⌘K command, page) | `references/desktop-plugins.md` + `templates/plugin.js` |
|
|
138
|
+
| A live TUI panel or modal widget (ticker, clock, dashboard) | `references/tui-widgets.md` + `templates/clock.mjs` |
|
|
139
|
+
| Pet mascots — install, select, scale, diagnose | `references/petdex.md` |
|
|
140
|
+
| Windows-specific issues (keybinds, WinError 10106, BOM) | `references/windows-quirks.md` |
|
|
141
|
+
| Debugging: voice, tools missing, gateway, aux models | `references/troubleshooting.md` |
|
|
142
|
+
| Contributing code: adding tools, slash commands, tests | `references/contributor-guide.md` |
|
|
143
|
+
| delegate_task "capped at N" reports | `references/delegate-task-concurrency-diagnosis.md` |
|
|
144
|
+
| "Can app X use my Nous Portal subscription/OAuth?" | `references/portal-auth-for-third-party-apps.md` |
|
|
145
|
+
| Connecting a messaging platform (Telegram, Discord, Slack, WhatsApp, …) | docs: `/user-guide/messaging` |
|
|
146
|
+
|
|
147
|
+
The reference list above is not the feature list — it is the set of topics that
|
|
148
|
+
need more than their docs page. For everything else Hermes ships, fetch
|
|
149
|
+
`llms.txt` and it maps the question to the page that answers it.
|
|
150
|
+
|
|
151
|
+
Two theming rules that hold even without loading the reference: **you apply skins yourself** (`hermes config set display.skin <name>` — every surface repaints live within ~a second; don't tell the user to run `/skin`), and **to tweak one color, edit the ACTIVE skin** (`hermes skin set <key> <hex>`) — never fork `default`, which drops the palette and resets the background.
|
|
152
|
+
|
|
153
|
+
## Spawning Additional Hermes Instances
|
|
154
|
+
|
|
155
|
+
Run additional Hermes processes as fully independent subprocesses — separate sessions, tools, and environments.
|
|
156
|
+
|
|
157
|
+
### When to Use This vs delegate_task
|
|
158
|
+
|
|
159
|
+
| | `delegate_task` | Spawning `hermes` process |
|
|
160
|
+
|-|-----------------|--------------------------|
|
|
161
|
+
| Isolation | Separate conversation, shared process | Fully independent process |
|
|
162
|
+
| Duration | Minutes (bounded by parent loop) | Hours/days |
|
|
163
|
+
| Tool access | Subset of parent's tools | Full tool access |
|
|
164
|
+
| Interactive | No | Yes (PTY mode) |
|
|
165
|
+
| Use case | Quick parallel subtasks | Long autonomous missions |
|
|
166
|
+
|
|
167
|
+
### One-Shot Mode
|
|
168
|
+
|
|
169
|
+
```
|
|
170
|
+
terminal(command="hermes chat -q 'Research GRPO papers and write summary to ~/research/grpo.md'", timeout=300)
|
|
171
|
+
|
|
172
|
+
# Background for long tasks:
|
|
173
|
+
terminal(command="hermes chat -q 'Set up CI/CD for ~/myapp'", background=true)
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
### Interactive PTY Mode (via tmux)
|
|
177
|
+
|
|
178
|
+
Hermes uses prompt_toolkit, which requires a real terminal. Use tmux for interactive spawning:
|
|
179
|
+
|
|
180
|
+
```
|
|
181
|
+
# Start
|
|
182
|
+
terminal(command="tmux new-session -d -s agent1 -x 120 -y 40 'hermes'", timeout=10)
|
|
183
|
+
|
|
184
|
+
# Wait for startup, then send a message
|
|
185
|
+
terminal(command="sleep 8 && tmux send-keys -t agent1 'Build a FastAPI auth service' Enter", timeout=15)
|
|
186
|
+
|
|
187
|
+
# Read output
|
|
188
|
+
terminal(command="sleep 20 && tmux capture-pane -t agent1 -p", timeout=5)
|
|
189
|
+
|
|
190
|
+
# Send follow-up
|
|
191
|
+
terminal(command="tmux send-keys -t agent1 'Add rate limiting middleware' Enter", timeout=5)
|
|
192
|
+
|
|
193
|
+
# Exit
|
|
194
|
+
terminal(command="tmux send-keys -t agent1 '/exit' Enter && sleep 2 && tmux kill-session -t agent1", timeout=10)
|
|
195
|
+
```
|
|
196
|
+
|
|
197
|
+
### Multi-Agent Coordination
|
|
198
|
+
|
|
199
|
+
```
|
|
200
|
+
# Agent A: backend
|
|
201
|
+
terminal(command="tmux new-session -d -s backend -x 120 -y 40 'hermes -w'", timeout=10)
|
|
202
|
+
terminal(command="sleep 8 && tmux send-keys -t backend 'Build REST API for user management' Enter", timeout=15)
|
|
203
|
+
|
|
204
|
+
# Agent B: frontend
|
|
205
|
+
terminal(command="tmux new-session -d -s frontend -x 120 -y 40 'hermes -w'", timeout=10)
|
|
206
|
+
terminal(command="sleep 8 && tmux send-keys -t frontend 'Build React dashboard for user management' Enter", timeout=15)
|
|
207
|
+
|
|
208
|
+
# Check progress, relay context between them
|
|
209
|
+
terminal(command="tmux capture-pane -t backend -p | tail -30", timeout=5)
|
|
210
|
+
terminal(command="tmux send-keys -t frontend 'Here is the API schema from the backend agent: ...' Enter", timeout=5)
|
|
211
|
+
```
|
|
212
|
+
|
|
213
|
+
### Session Resume
|
|
214
|
+
|
|
215
|
+
```
|
|
216
|
+
# Resume most recent session
|
|
217
|
+
terminal(command="tmux new-session -d -s resumed 'hermes --continue'", timeout=10)
|
|
218
|
+
|
|
219
|
+
# Resume specific session
|
|
220
|
+
terminal(command="tmux new-session -d -s resumed 'hermes --resume 20260225_143052_a1b2c3'", timeout=10)
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
### Tips
|
|
224
|
+
|
|
225
|
+
- **Prefer `delegate_task` for quick subtasks** — less overhead than spawning a full process
|
|
226
|
+
- **Use `-w` (worktree mode)** when spawning agents that edit code — prevents git conflicts
|
|
227
|
+
- **Set timeouts** for one-shot mode — complex tasks can take 5-10 minutes
|
|
228
|
+
- **Use `hermes chat -q` for fire-and-forget** — no PTY needed
|
|
229
|
+
- **Use tmux for interactive sessions** — raw PTY mode has `\r` vs `\n` issues with prompt_toolkit
|
|
230
|
+
- **For scheduled tasks**, use the `cronjob` tool instead of spawning — handles delivery and retry
|
|
231
|
+
- **"delegate_task is capped at N" reports** — see `references/delegate-task-concurrency-diagnosis.md`. Three real cap paths in Hermes; if none fired, the model is self-limiting and rationalising it as "the runtime caps."
|
|
232
|
+
- **"Can $external_app use my Nous Portal subscription / OAuth?"** — see `references/portal-auth-for-third-party-apps.md`. Walk the user through three layers (plugin-vs-app, what Portal actually exposes, local-broker-proxy option).
|
|
233
|
+
|
|
234
|
+
## Surfaces (quick orientation)
|
|
235
|
+
|
|
236
|
+
- **Desktop app** (`hermes desktop` / `hermes gui`) — native Electron app for macOS/Linux/Windows: streaming chat, session list, Cmd+K palette, drag-and-drop files, native notifications, per-profile remote-gateway login. Extend it with UI plugins — `references/desktop-plugins.md`.
|
|
237
|
+
- **Web dashboard** (`hermes dashboard`) — full admin panel: messaging channels, MCP catalog, webhooks, memory, profile builder, plus an embedded `hermes --tui` chat. Secured behind an OAuth/token gate.
|
|
238
|
+
- **Ink TUI** (`hermes --tui` or `display.interface: tui`) — terminal UI with docked widget apps — `references/tui-widgets.md`.
|
|
239
|
+
- **OpenAI-compatible proxy** (`hermes proxy`) — a local OpenAI API backed by whichever OAuth provider you're signed into. Point Codex CLI, Aider, Cline, or any script at it — no API key.
|
|
240
|
+
|
|
241
|
+
## Hard Invariants (never violate, regardless of what you loaded)
|
|
242
|
+
|
|
243
|
+
- **Never break prompt caching** — don't change past context, toolsets, or the system prompt mid-conversation. The only exception is context compression.
|
|
244
|
+
- **Message role alternation** — never two assistant or two user messages in a row; only `tool` results can repeat.
|
|
245
|
+
- **Secrets in `.env`, settings in `config.yaml`** — never tell a user to put a non-credential setting in `.env`.
|
|
246
|
+
- **Profile-safe paths** — `get_hermes_home()` in code, `$HERMES_HOME` when resolving paths in a session.
|
|
247
|
+
- **Never hand-edit `config.yaml` for the user** — use `hermes config set KEY VAL`; a stray indent can corrupt the file and break the live gateway.
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
# Durable & Background Systems
|
|
2
|
+
|
|
3
|
+
> Maintainer reference only. Read-only diagnosis may use the deployed Hermes
|
|
4
|
+
> version; mutation, installation, provider credentials, cron, webhook, profile
|
|
5
|
+
> and lifecycle changes require a separate authorized Runtime maintenance task.
|
|
6
|
+
> These examples do not install tools or grant permissions in a tenant session.
|
|
7
|
+
> Do not copy literal secret placeholders into config; inject scoped credentials
|
|
8
|
+
> through the existing Runtime mechanism. Verify version-specific commands.
|
|
9
|
+
|
|
10
|
+
Four systems run alongside the main conversation loop. Quick reference
|
|
11
|
+
here; full developer notes live in `AGENTS.md`, user-facing docs under
|
|
12
|
+
`website/docs/user-guide/features/`.
|
|
13
|
+
|
|
14
|
+
### Delegation (`delegate_task`)
|
|
15
|
+
|
|
16
|
+
Spawn a subagent with an isolated context + terminal session.
|
|
17
|
+
|
|
18
|
+
- **Single:** `delegate_task(goal, context)`.
|
|
19
|
+
- **Batch:** `delegate_task(tasks=[{goal, ...}, ...])` runs children in
|
|
20
|
+
parallel, capped by `delegation.max_concurrent_children` (default 10 in audited source; inspect effective deployment config).
|
|
21
|
+
- **Background:** `delegate_task(background=true)` returns a handle
|
|
22
|
+
immediately and keeps the parent loop going; the child's result
|
|
23
|
+
re-enters the conversation as a new turn when it finishes.
|
|
24
|
+
- **Roles:** `leaf` (default; cannot re-delegate) vs `orchestrator`
|
|
25
|
+
(can spawn its own workers, bounded by `delegation.max_spawn_depth`).
|
|
26
|
+
- **Not durable.** A backgrounded child is still process-local — if the
|
|
27
|
+
parent process exits, the child is lost. For work that must outlive
|
|
28
|
+
the process, use `cronjob` or
|
|
29
|
+
`terminal(background=True, notify_on_complete=True)`.
|
|
30
|
+
|
|
31
|
+
Config: `delegation.*` in `config.yaml`.
|
|
32
|
+
|
|
33
|
+
### Cron (scheduled jobs)
|
|
34
|
+
|
|
35
|
+
Durable scheduler — `cron/jobs.py` + `cron/scheduler.py`. Drive it via
|
|
36
|
+
the `cronjob` tool, the `hermes cron` CLI (`list`, `add`, `edit`,
|
|
37
|
+
`pause`, `resume`, `run`, `remove`), or the `/cron` slash command.
|
|
38
|
+
|
|
39
|
+
- **Schedules:** duration (`"30m"`, `"2h"`), "every" phrase
|
|
40
|
+
(`"every monday 9am"`), 5-field cron (`"0 9 * * *"`), or ISO timestamp.
|
|
41
|
+
- **Per-job knobs:** `skills`, `model`/`provider` override, `script`
|
|
42
|
+
(pre-run data collection; `no_agent=True` makes the script the whole
|
|
43
|
+
job), `context_from` (chain job A's output into job B), `workdir`
|
|
44
|
+
(run in a specific dir with its `AGENTS.md` / `CLAUDE.md` loaded),
|
|
45
|
+
multi-platform delivery.
|
|
46
|
+
- **Invariants:** 3-minute hard interrupt per run, `.tick.lock` file
|
|
47
|
+
prevents duplicate ticks across processes, cron sessions pass
|
|
48
|
+
`skip_memory=True` by default, and cron deliveries are framed with a
|
|
49
|
+
header/footer instead of being mirrored into the target gateway
|
|
50
|
+
session (keeps role alternation intact).
|
|
51
|
+
|
|
52
|
+
User docs: https://hermes-agent.nousresearch.com/docs/user-guide/features/cron
|
|
53
|
+
|
|
54
|
+
### Curator (skill lifecycle)
|
|
55
|
+
|
|
56
|
+
Background maintenance for agent-created skills. Tracks usage, marks
|
|
57
|
+
idle skills stale, archives stale ones, keeps a pre-run tar.gz backup
|
|
58
|
+
so nothing is lost.
|
|
59
|
+
|
|
60
|
+
- **CLI:** `hermes curator <verb>` — `status`, `usage`, `run`, `pause`,
|
|
61
|
+
`resume`, `pin`, `unpin`, `archive`, `restore`, `list-archived`, `prune`,
|
|
62
|
+
`backup`, `rollback`.
|
|
63
|
+
- **Slash:** `/curator <subcommand>` mirrors the CLI.
|
|
64
|
+
- **Scope:** only touches skills with `created_by: "agent"` provenance.
|
|
65
|
+
Bundled + hub-installed skills are off-limits. **Never deletes** —
|
|
66
|
+
max destructive action is archive. Pinned skills are exempt from
|
|
67
|
+
every auto-transition and every LLM review pass.
|
|
68
|
+
- **Cost:** the deterministic inactivity/prune sweep runs for free. The
|
|
69
|
+
aux-model "consolidate overlapping skills into umbrellas" pass is
|
|
70
|
+
**off by default** — opt in with `curator.consolidate: true` or
|
|
71
|
+
`hermes curator run --consolidate`. Routine background curation costs
|
|
72
|
+
zero tokens.
|
|
73
|
+
- **Telemetry:** sidecar at `~/.hermes/skills/.usage.json` holds
|
|
74
|
+
per-skill `use_count`, `view_count`, `patch_count`,
|
|
75
|
+
`last_activity_at`, `state`, `pinned`.
|
|
76
|
+
|
|
77
|
+
Config: `curator.*` (`enabled`, `interval_hours`, `min_idle_hours`,
|
|
78
|
+
`stale_after_days`, `archive_after_days`, `backup.*`).
|
|
79
|
+
User docs: https://hermes-agent.nousresearch.com/docs/user-guide/features/curator
|
|
80
|
+
|
|
81
|
+
### Kanban (multi-agent work queue)
|
|
82
|
+
|
|
83
|
+
Durable SQLite board for multi-profile / multi-worker collaboration.
|
|
84
|
+
Users drive it via `hermes kanban <verb>`; dispatcher-spawned workers
|
|
85
|
+
see a focused `kanban_*` toolset gated by `HERMES_KANBAN_TASK`, and
|
|
86
|
+
orchestrator profiles can opt into the broader `kanban` toolset. Normal
|
|
87
|
+
sessions still have zero `kanban_*` schema footprint unless configured.
|
|
88
|
+
|
|
89
|
+
- **CLI verbs (common):** `init`, `create`, `list` (alias `ls`),
|
|
90
|
+
`show`, `assign`, `link`, `unlink`, `comment`, `complete`, `block`,
|
|
91
|
+
`unblock`, `archive`, `tail`. Less common: `watch`, `stats`, `runs`,
|
|
92
|
+
`log`, `dispatch`, `daemon`, `gc`.
|
|
93
|
+
- **Worker/orchestrator toolset:** `kanban_show`, `kanban_complete`,
|
|
94
|
+
`kanban_block`, `kanban_heartbeat`, `kanban_comment`, `kanban_create`,
|
|
95
|
+
`kanban_link`; profiles that explicitly enable the `kanban` toolset
|
|
96
|
+
outside a dispatcher-spawned task also get `kanban_list` and
|
|
97
|
+
`kanban_unblock` for board routing.
|
|
98
|
+
- **Dispatcher** runs inside the gateway by default
|
|
99
|
+
(`kanban.dispatch_in_gateway: true`) — reclaims stale claims,
|
|
100
|
+
promotes ready tasks, atomically claims, spawns assigned profiles.
|
|
101
|
+
Auto-blocks a task after `failure_limit` consecutive spawn failures
|
|
102
|
+
(default 2; configurable via `kanban.failure_limit` or per-task
|
|
103
|
+
`max_retries`).
|
|
104
|
+
- **Isolation:** board is the hard boundary (workers get
|
|
105
|
+
`HERMES_KANBAN_BOARD` pinned in env); tenant is a soft namespace
|
|
106
|
+
within a board for workspace-path + memory-key isolation.
|
|
107
|
+
|
|
108
|
+
User docs: https://hermes-agent.nousresearch.com/docs/user-guide/features/kanban
|