一键导入
mem-search
Memory recall via 3-layer progressive disclosure (compact index → timeline → full observations) plus a corpus path for long-term knowledge.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Memory recall via 3-layer progressive disclosure (compact index → timeline → full observations) plus a corpus path for long-term knowledge.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Development workflow orchestration for software engineering tasks. Supports 8 task types: FEATURE, BUGFIX, REFACTORING, DOCUMENTATION, RESEARCH, DEVOPS, SAAS_INIT, CREATIVE. Each type has an optimized workflow (full/partial/minimal) with specialist agents and user validation checkpoints. TRIGGER for ANY implementation task — this is the DEFAULT entry point for all engineering work.
Generate narrated, captioned, camera-animated marketing videos from automated UI walkthroughs. A portable Nx pipeline — Playwright drives the real app and records a flat screen capture plus a beats/shots manifest; Remotion renders it into an MP4 with virtual-camera zoom/pan, amber highlight rings, motion blur, a device frame, word-timed captions, AI narration, and a music bed. Use when the user wants to create/record/render a product demo, feature tour, showcase, or marketing video from their app; author or edit a scene/tour; tweak the zoom/highlight/camera behavior; re-skin the videos for a different brand; or PORT this whole pipeline into another Nx workspace/SaaS project. Triggers on "showcase", "product/demo/tour video", "record a scene", "render the video", "camera/zoom/highlight", "narration/captions", or "reuse the video setup in <other project>".
Multi-vendor ensemble workflows — a flat PANEL OF PEERS across different AI vendors (codex, copilot, cursor, and ptah-cli providers: Moonshot Kimi, Z.AI GLM, Ollama Cloud, OpenRouter) where disagreement and cross-vendor review are the SIGNAL, not noise. Four moves: COUNCIL (fan a question to N vendors, anonymized cross-critique, synthesize a cited verdict — no code), FORGE (same coding task per vendor in isolated git worktrees, round-robin cross-review of diffs, judge ranks, merge the winner), RACE (N attempts, judge-panel rubric, verify the winner before any commit), RELAY (one task through a plan→architect→implement→review pipeline, each phase run on a CLI vendor lane instead of a subagent, persisted to .ptah/specs). TRIGGER on: "tribunal", "convene a council", "council of models", "forge", "race the models", "relay", "second opinion", "multi-vendor", "ensemble", "panel of models", "have the models debate", "cross-vendor review", "which vendor does this best". DISTINCT from `orchestration` (that is the hier
How to drive the Ptah CLI (`@hive-academy/ptah-cli`) for headless agent workflows, A2A bridges, CI pipelines, and scripted refactors. Triggers on user mentions of "ptah cli", "ptah session start", "ptah interact", "ptah auth", "ptah provider", "JSON-RPC stdio", or any headless Ptah usage including openclaw/nemoclaw bridges.
Interactive 3D scene designer for @hive-academy/angular-3d library. Guides users through creating stunning Three.js scenes using declarative Angular components. Use when users want to: (1) Create new 3D scenes or hero sections, (2) Design visual effects (neon, space, glass, particles), (3) Get recommendations for primitives, lighting, and materials, (4) Learn composition patterns and best practices, (5) Generate complete Angular scene components with proper configuration, (6) Analyze reference images and reverse-engineer scenes to recreate similar aesthetics with available components (extracts colors, lighting, materials, composition).
Interactive scroll animation designer for @hive-academy/angular-gsap library. Guides users through creating smooth, professional scroll-based animations using GSAP and ScrollTrigger. Use when users want to: (1) Create scroll-triggered animations or viewport animations, (2) Design scroll experiences (parallax, pinned sections, hijacked scroll), (3) Get recommendations for animation types and timing, (4) Learn GSAP best practices and easing functions, (5) Generate complete Angular components with scroll animations, (6) Analyze reference videos or images to reverse-engineer scroll animation sequences and recreate similar motion timing with available directives (extracts animation types, easing, trigger points, durations).
| name | mem-search |
| description | Memory recall via 3-layer progressive disclosure (compact index → timeline → full observations) plus a corpus path for long-term knowledge. |
| tokenEstimate | 2400 |
| triggers | ["recall","what did we","previously","remember when","history of","what have we learned","prior decisions"] |
Use this skill when the user references prior work, past decisions, or any context that should be recalled rather than re-derived. The Ptah memory store exposes three search depths with strictly increasing token cost — do NOT jump to the deepest layer first.
mem:searchIndex { query?, type?, concepts?, files?, dateRange?, topK? }
id, subject, type, concepts, files,
capturedAt, score. No content field.query short-circuits BM25 + vec and runs as a pure-filter listing
(cheapest possible path).topK is 20. Raise only when you need broader recall.bm25Only: true on the response means the vec index was unavailable —
treat the ranking as best-effort.Start every recall task here. If the compact rows already answer the question, STOP. Do not escalate to layers 2/3.
mem:timeline { anchorId, before?, after? }
[...before.reverse(), anchor, ...after] with
anchorIndex = before.length.before = 5, after = 5.Use after Layer 1 when a single anchor row looks promising and you need its neighbours to reconstruct the surrounding decision.
mem:getObservations { ids: [...] }
request, investigated, learned, completed, nextSteps)
and the trailing observation queue rows tied to that session.ids.length. Cap at ~10 ids per call.Only invoke when the compact rows are insufficient AND the user actually needs the full content. Most recall tasks finish at Layer 1.
For sustained Q&A over a stable slice of memory (e.g. "everything we know about the auth refactor"), use the corpus flow instead of repeated searches:
corpus:build { name, type?, concepts?, files?, query?, ... } —
snapshot the matching memory ids into a named corpus.corpus:prime { name } — open a primed SDK session with the corpus
pre-loaded into the system prompt.corpus:query { name, question } — ask questions against the primed
session. Reuses the alive session when possible; auto-primes otherwise.
Returns only { sessionId } — the answer streams through the normal SDK
session path on sessionId; subscribe to that stream instead of reading
the RPC result for the response text.Corpora auto-rebuild after every curator run that creates new workspace
memories (gated by memory.corpus.autoRebuildOnExtraction, default true),
so the snapshot stays fresh without manual corpus:rebuild.
topK would exceed 100, narrow the
filter first.references/search-index-flow.md — full schema + filter cookbook for
Layers 1-3.references/corpus-flow.md — build → prime → query → rebuild lifecycle
with token budget guidance.