基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/majiayu000/claude-skill-registry --skill aim-parzival-constraints命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
LLM token logprobs and calibration. Per-decision confidence, ECE, Brier, reliability diagrams, low-confidence triage.
Analyze LLM token logprobs and calibration. Use for per-decision confidence, ECE, Brier scores, reliability diagrams, and low-confidence triage.
回顾最近 N 天的 Claude Code 使用记录——扫描原始会话数据,按主题分组汇总"我都做了什么",并从个人操作系统视角输出模式、风险与增删建议。当用户说 /recap、"看看我这几天做了什么"、"回顾一下我最近的会话"、"这两天我用 claude 干了啥"、"活动回顾" 时使用。
| name | aim-parzival-constraints |
| description | Load Parzival behavioral constraints as context reminder |
| allowed-tools | Bash |
Load Parzival's behavioral constraints from _ai-memory/pov/constraints/. Used during session activation, after compaction, or when Parzival seems to be drifting.
import sys
import os
import time
# Set up import path for ai-memory source
_install_dir = os.path.expanduser("~/.ai-memory")
sys.path.insert(0, os.path.join(_install_dir, "src"))
start_ms = time.perf_counter()
try:
from memory.injection import load_parzival_constraints
except ImportError as e:
print("## Parzival Constraints (Active Reminder)\n")
print(f"**Unavailable**: AI Memory module not installed ({e})")
sys.exit(0)
# Optional: Prometheus metrics (best-effort)
try:
from memory.metrics_push import push_skill_metrics_async
except ImportError:
push_skill_metrics_async = None
project_root = os.getcwd()
# Check for --phase argument
phase = None
for i, arg in enumerate(sys.argv):
if arg == "--phase" and i + 1 < len(sys.argv):
phase = sys.argv[i + 1]
# Load constraints
constraints = load_parzival_constraints(project_root, phase=phase)
elapsed_ms = int((time.perf_counter() - start_ms) * 1000)
print("## Parzival Constraints (Active Reminder)\n")
if not constraints:
print("No constraint files found at `_ai-memory/pov/constraints/`.\n")
print("Ensure Parzival v2 is installed with constraint files.")
print(f"\n---\nConstraints: 0 loaded | {elapsed_ms}ms")
if push_skill_metrics_async:
try:
push_skill_metrics_async("aim-parzival-constraints", "empty", time.perf_counter() - start_ms)
except Exception:
pass
else:
print(constraints)
if push_skill_metrics_async:
try:
push_skill_metrics_async("aim-parzival-constraints", "success", time.perf_counter() - start_ms)
except Exception:
pass
# Skill tracing (PLAN-014 G-06)
try:
from memory.trace_buffer import emit_trace_event
emit_trace_event(
event_type="skill_execution",
data={
"input": f"Skill: aim-parzival-constraints"[:10000],
"output": f"Result: completed"[:10000],
"metadata": {"skill_name": "aim-parzival-constraints"},
},
session_id=os.environ.get("CLAUDE_SESSION_ID", "unknown"),
tags=["skill"],
)
except Exception:
pass # Tracing failures never break skill execution
Internalize the constraints as active behavioral rules for the remainder of this session.
If no constraints are found, continue without — file-based context (MEMORY.md, oversight/) provides sufficient guidance.