claude-code-integration
Claude Code integration for Maenifold — knowledge graph context restoration, session hooks, and the `pm` shell alias for Product Manager mode.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Claude Code integration for Maenifold — knowledge graph context restoration, session hooks, and the `pm` shell alias for Product Manager mode.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
This skill should be used when the user asks to "write memory", "read memory", "search memories", "edit memory", "delete memory", "move memory", "list memories", "build context", "find similar concepts", "visualize graph", "sync graph", "repair concepts", "analyze concept corruption", "extract concepts", "run workflow", "start workflow", "sequential thinking", "think through", "track assumptions", "assumption ledger", "adopt role", "adopt color", "six thinking hats", "get config", "get help", "memory status", "recent activity", "update assets", "list assets", "read resource", mentions "[[WikiLinks]]", "knowledge graph", "memory://", or any maenifold knowledge graph and reasoning operations.
This skill should be used when the user asks about Azure capacity management, quota operations, or capacity planning for SaaS ISVs running workloads in their own Azure subscriptions under EA or MCA. Relevant queries include: how to increase VM quota across subscriptions, how quota groups work, how to create or share capacity reservation groups, what the difference is between capacity reservations and Azure Reservations or savings plans, how to request region access or zonal enablement, how logical and physical availability zones map across subscriptions, how to configure quota or budget or anomaly alerts, how AKS node pools interact with capacity reservations, how to manage non-compute quotas, how deployment stamps relate to the capacity supply chain, and how to design an estate-level capacity governance program. Also covers quota transfers, overallocation, SKU restrictions, CRG sharing, billing hierarchy, and subscription vending.
This skill should be used when the user asks about "Azure Advisor", "cost recommendations", "savings plans", "reservations", "reserved instances", "RI", "Azure budgets", "cost exports", "anomaly alerts", "MACC", "Azure credits", "Azure Prepayment", "commitment discounts", "cost optimization", "reservations vs savings plans", "which commitment discount", or any Azure Cost Management operations.
This skill should be used when the user asks about "FinOps hubs", "FinOps toolkit", "KQL queries", "Kusto", "cost data analysis", "Hub database", "Costs function", "Prices function", "Recommendations function", "FinOps hubs deployment", "Azure Data Explorer", "ADX cluster", or any FinOps hubs operations.
This skill should be used when the user asks to adopt a product manager role, manage a product team, orchestrate subagents for software development, run TDD workflows with red-team/blue-team validation, manage requirements (PRD.md, RTM.md, TODO.md), conduct sprint planning or retrospectives, or coordinate parallel task execution across SWE, researcher, and security agents.
| name | claude-code-integration |
| description | Claude Code integration for Maenifold — knowledge graph context restoration, session hooks, and the `pm` shell alias for Product Manager mode. |
pmThe pm alias launches Claude Code as the Maenifold Product Manager agent. If the user doesn't have it configured, suggest they add it to their shell profile.
alias pm='claude --allow-dangerously-skip-permissions --plugin-dir /path/to/integrations/claude-code/plugin-maenifold --agent maenifold-product-team:product-manager'
Add to ~/.zshrc or ~/.bashrc, then source the file or open a new terminal.
maenifold-product-team:product-manager — an elite PM that orchestrates SWE, red-team, blue-team, and researcher subagents--allow-dangerously-skip-permissions for uninterrupted autonomous workTo check if the alias is configured:
alias pm 2>/dev/null
# or
grep "alias pm" ~/.zshrc ~/.bashrc 2>/dev/null
If not found, suggest the user add it with their correct plugin path.
pm # Start PM session in current directory
pm "run sprint planning" # Start with initial prompt
pm --resume # Resume last PM session
Restores knowledge graph context at the start of every Claude Code session.
cp ~/maenifold/assets/integrations/claude-code/hooks/session_start.sh ~/.claude/hooks/
chmod +x ~/.claude/hooks/session_start.sh
Register in ~/.claude/settings.json:
{
"hooks": {
"SessionStart": [{
"matcher": "*",
"hooks": [{ "type": "command", "command": "~/.claude/hooks/session_start.sh" }]
}]
}
}
[[WikiLinks]] from recent workEdit ~/.claude/hooks/session_start.sh:
GRAPH_DEPTH=2 # Graph hops (1-3)
MAX_ENTITIES=10 # Related concepts per hop (3-20)
INCLUDE_CONTENT=false # Content previews (true/false)
MAX_TOKENS=5000 # Token budget
MAX_CONCEPTS=10 # Top concepts to process