Aise capture
PhysisAI: trusted, local-first personal and project memory for Codex and Claude Code.
npx -y skills add jiayx01/PhysisAI --skill aise-captureAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- 18 days oldThe repository was created 18 days ago. New is not bad, but a brand new repository carrying a familiar-sounding name is the shape a typosquat arrives in, and there has been no time for anyone else to find a problem with it.
- 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
把用户明确纠正、个人习惯、模型未知的私有或项目知识、已验证工作流和质量门禁保存为待审候选。用户说记住、沉淀、以后按这个来,或明确纠正 AI 的项目事实与使用方式时使用;不直接晋升规则。
SKILL.md
4.7 KB, 973 tokens by cl100k_base, as published. Nobody here has run it
Capture Candidate Experience
Admission Gate
Create a candidate only when at least one source is concrete:
- the user explicitly states a preference, correction, or durable instruction;
- a repository artifact, production document, tool result, or test verifies a private fact;
- repeated real work demonstrates a reusable workflow or quality gate.
Do not capture:
- general knowledge a capable model already knows or can infer cheaply;
- one-off task state, temporary IDs, current progress, or volatile values;
- model guesses without labeling them
model_inference; - secrets, credentials, or unnecessary raw private content.
Diagnose Before Changing Memory
For a failure, distinguish:
- missing knowledge: the AI never had the private fact;
- retrieval failure: the fact existed but was not loaded;
- memory-quality failure: the stored item was vague, stale, or scoped incorrectly;
- workflow failure: the procedure or tool route was wrong;
- execution failure: the rule was correct but the tool/action failed.
Only propose a memory or skill change when the diagnosis supports it.
Candidate Schema
Prepare one JSON object with:
key: stable, short identifier;kind:preference,private_fact,project_convention,workflow,tool_route,quality_gate, orguardrail;summaryand actionablecontent;scopeandtarget;source_typeand a traceablesource_ref;triggers: phrases that should retrieve this item later;evidence,required_checks, andsupersedeswhen applicable;valid_untilfor facts that can expire.
Use only these enum values:
kind:preference,private_fact,project_convention,workflow,tool_route,quality_gate,guardrail;scope:global,project;target:user-preferences,project-knowledge,workflow,tool-routing,quality-gates,skill,evaluation;risk:low,medium,high;source_type:user_explicit,verified_artifact,tool_output,test_result,model_inference.
Run physisai schema candidate when constructing a candidate programmatically. For a durable user preference, the usual mapping is scope=global, target=user-preferences, and source_type=user_explicit.
Treat scope as a storage boundary:
globalwrites to the user event store underAISE_HOMEand may be retrieved from other initialized projects;projectstays in<project-root>/.ai-self-evolution/and must never cross project roots.
Use model_inference only to preserve a hypothesis. Such a candidate cannot pass the source gate until recaptured from a promotable source.
Artifact, tool-output, and test-result sources require a separately recorded source-verification check before promotion. The CLI records that assertion and its evidence; it does not inspect the referenced source by itself.
Choose a small set of concrete triggers that are likely to appear in the user's future request. Include important domain wording or known aliases, but do not copy an entire prompt or add generic words merely to increase matches. Approved triggers appear in the generated Markdown index and drive the minimal task-context query.
Keep one memory focused. If a stable procedure needs extensive branches, scripts, templates, or reference files, use this lifecycle to govern the decision, then propose a dedicated Skill instead of growing a long workflow memory indefinitely.
Write Candidate
Write private candidate input under the ignored state directory so it cannot be accidentally committed. Pass that file to the CLI so shell quoting cannot alter content:
install -d -m 700 <project-root>/.ai-self-evolution/tmp
# Write proposal.json with the host's structured file tool, then restrict it:
chmod 600 <project-root>/.ai-self-evolution/tmp/proposal.json
physisai capture --root <project-root> \
--from-json <project-root>/.ai-self-evolution/tmp/proposal.json
On systems without POSIX modes, create the file with user-only ACLs or use stdin. Stdin is acceptable when the host can provide it without unsafe shell interpolation. Do not leave user preferences or private project knowledge in an unignored task file. Run physisai doctor --repair if a host tool created permissive files under the private state tree.
Creating a candidate does not change active AI behavior. Return the proposal ID, storage layer, source, scope, conflicts, required checks, and recommended next action. Never call physisai promote from this skill.
What ships with it: 1 file
288 B alongside SKILL.md
agents/
- openai.yaml288 B