Remember 标志

Remember

社区
hamr0
remember

Consolidate stashes + friction into project memory

概览

发布者hamr0
代码仓库liteagents
技能名称remember
星标数
27
复刻数
4
附带文件
5
许可协议Apache-2.0
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 5 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 hamr0 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Remember AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/hamr0/liteagents/tree/main/packages/ampcode/skills/remember
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/hamr0/liteagents.git /tmp/liteagents
mkdir -p .claude/skills
cp -r /tmp/liteagents/packages/ampcode/skills/remember .claude/skills/remember
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Remember,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Remember。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Remember 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

Run friction analysis, then consolidate .amp/stash/*.md + friction antigens into one project-local .amp/remember/MEMORY.md and inject it into AGENT.md. Friction runs automatically (best-effort) — there is no separate /friction command. A detect-only docs check runs at the end. Why each rule exists: docs/product/remember-README.md.

Rules

  • Simple and scoped: minimal implementation, only the requested outcome.
  • Scripts: call every bundled script (friction.cjs, version-check.cjs, sync-rules.cjs, stub-check.cjs, docs-builder.cjs) by its absolute path — the cwd is the target repo, not this package, so a cwd-relative path fails.
  • Precision over recall: a false antigen loaded via @.amp/remember/MEMORY.md steers every future session — unsure → do not promote; leave it to recurrence.
  • Mid-tier model: steps 2, 3 and 4a use your tool's balanced mid tier — never the cheapest tier, never a vendor model name.
  • Batch stashes: up to 5 stashes per extraction agent, as few agents as possible (3 → 1 agent, 7 → 2); if more than one, run them concurrently.
  • Facts are short rules, not prose: one line, target 160 chars, hard stop 180, stating a rule that changes future behaviour. Events and history are not facts.
  • Never re-read session logs: work from the quotes in antigen_clusters.json.
  • Never hand-compute counts: friction.cjs count does them.
  • Relay script output verbatim, never re-worded (a paraphrase loses the filename the user needs). This covers output meant for the user; JSON a step consumes (e.g. friction.cjs count) is input, not something to relay.
  • Tiers (defined once): High = 5+ distinct sessions → loaded hot via @MEMORY.md; Medium = 3-4 → recorded under Antigens, not loaded; Low = under 3 → ledger observing at 2 sessions, nothing at 1. Grouping consolidates evidence, never elevates it. Never auto-promote below High.

Steps

  1. Run friction first (best-effort — friction analyzes ALL your usage, so point it at the tool's global sessions root, not a per-project directory)

    • Locate friction.cjs — bundled at remember/friction.cjs beside this file (installed or run from the package). If it exists nowhere, skip to step 1 (stash-only) and tell the user it is missing.
    • Check for a newer liteagents (best-effort, one line, never blocking):
      bash
      node ~/.config/amp/skills/remember/version-check.cjs
      If that path does not exist, use the directory you resolved for friction.cjs (the two ship side by side). It prints one advice line if the install is behind the registry, else nothing; it exits 0 always, caches 24h, and is bounded to ~2s. If it prints a line, relay it verbatim in the final report; never act on it, never run the install yourself.
    • Script missing from both locations → say so (one line). A failed check (offline, registry down, timeout) stays silent by design; a missing script means an incomplete install.
    • Resolve the global sessions root — probe top-to-bottom, use the first that exists and holds .jsonl files directly or one level down in per-project subdirectories (friction scans exactly those two levels). Never prompt the user.
      # ── Add your own global sessions root at the TOP so it is checked first ──
      ~/.claude/projects/                 # Claude Code
      ~/.factory/projects/                # Droid / Factory
      ~/.config/amp/projects/             # Amp
      ~/.config/opencode/projects/        # opencode
      ~/.codex/sessions/                  # Codex CLI  (use $CODEX_HOME/sessions/ if set)
      ~/.gemini/antigravity-cli/brain/    # Antigravity

      Note: friction.cjs parses Claude Code's session schema. The Codex/Antigravity roots will resolve but yield no signals until friction learns their formats — open an issue to request one: https://github.com/hamr0/liteagents/issues

    • Run node <friction.cjs> "<resolved-root>". It writes to .amp/remember/friction/ in the current project. Run it as its own command — nothing chained before or after it — with a 10-minute tool timeout: it scans the whole sessions root and can take a minute or more.
    • On any miss — loud, never silent. If no root resolves, friction errors, or it finds no usable sessions, print this and continue stash-only:

      ⚠️ Friction didn't run — no sessions found. To enable it, open this skill's own file and add your tool's global sessions root to the TOP of the probe list in step 0, then re-run /remember. Consolidating stashes only this time.

  2. Gather sources

    • Legacy layout migration (one-time, loud). Older versions used .amp/memory/ and .amp/friction/. If either exists: move only .amp/memory/{MEMORY.md,ledger.json,.processed} → .amp/remember/ (anything else there, e.g. user-owned rule files, stays), discard the old .amp/friction/ contents (step 0 already regenerated them fresh), remove the old dirs only if empty, update the managed MEMORY section in AGENT.md (step 5), and tell the user exactly what moved.
    • Sync AGENT_RULES.md from the installed template:
      bash
      node ~/.config/amp/skills/remember/sync-rules.cjs
      The script does the whole decision (a byte compare, never yours): absent → copies it in; identical → no write, no output; differs → old body to AGENT_RULES.md.bak, new one copied in, both reported. Relay what it prints in the step-8 report.
    • Read all .amp/stash/*.md, and skip stashes already listed in .amp/remember/.processed.
    • Read friction output: .amp/remember/friction/antigen_clusters.json (preferred) or antigen_review.md (fallback). The fallback path does no counting: merge quotes into matching entries only; never change sessions, last_seen or recurred_while_hot.
    • Read existing .amp/remember/MEMORY.md if it exists; create the dir if missing.
    • No unprocessed stashes → skip steps 2-3 entirely; facts are never rewritten with zero new input, not even to clear length-gate debt. Steps 4-5 still run whenever friction produced output. If there is also no friction output, report "nothing to consolidate" and stop after step 1 — but run step 5's stub-check.cjs before you stop (quiet run); sync-rules.cjs already ran above.
  3. Extract from unprocessed stashes (batches per Rules)

    • Each agent reads its batch together and calls the mid-tier model to extract:
      • FACTS (one line each, target 160, hard stop 180): stable preferences, decisions, corrections, explicit "remember this" — a rule that changes future behaviour, written as current truth, not an event. A lesson recurring across the batch is written once.
      • EPISODE (one per stash, 3-5 bullets): goal, what was tried, outcome, lesson
      • SKIP: code details, file paths, errors, mechanical steps, LLM responses
    • Collect all new facts and episodes.
  4. Merge into MEMORY.md

    • Parse the existing .amp/remember/MEMORY.md sections (## Facts, ## Episodes, ## Antigens).
    • Facts — rewrite and compress, every run (that has new input). Call the mid-tier model with the existing facts + new facts + the lessons of any episodes aging out, and have it return the whole section rewritten, not the old list with lines added: new replaces old, contradictions keep the new version, duplicates fold into one line, shorten every fact that can be shorter (output normally shorter than input), current truth only — no "supersedes", no version history.
    • Pre-write length gate — BEFORE MEMORY.md is written, on EVERY line of the draft Facts section, including lines carried over unchanged (the whole section is this run's output). 161-180 chars passes silently; over 180 MUST be shortened and re-checked. The ONLY exemption: a line whose single longest backtick-quoted literal is itself longer than 100 characters — kept verbatim and listed as an exemption in the step-8 report. No other reason exempts a line (not established style, not pre-existing, not load-bearing); a line long because it holds several sentences is split into several facts or loses its history. Only a draft that passes is written.
    • Episodes: append new entries, keep only the 10 most recent. Dedup before appending: a new episode covering the same work as an existing one (judge by content, not title) merges into it instead of appending a second copy. Every older episode is folded, then deleted: its lesson goes to the fact rewrite, the narrative is removed, no archive. Keep-10 is the one rule; derive the set to remove from it, never supply a second delete list alongside. State the count before and after and name each episode removed. When episodes share a date, the one later in the file is the newer. A removed episode whose lesson is already an existing fact is named as removed, with the fact that already holds its lesson; it still counts as folded. No episode is removed whose lesson isn't folded into a fact first; removed-but-not-folded is a defect to report.
    • Antigens: only update from friction output (step 4).
    • Write the merged result to .amp/remember/MEMORY.md in the format under step 5.
  5. Distill friction into antigens (only if friction output exists)

    Each cluster in antigen_clusters.json carries theme, suggested_artifact, confidence, severity, sessions, projects, signals, contexts (verbatim user quotes), preceding (agent action + result just before the reaction — the trigger) and self_suspect (friction's guess the user was correcting themselves). Friction's grouping and flags are hints, not the verdict.

    • 4a. Classify (the LLM classifies only — no merging, no arithmetic). Call the mid-tier model once per cluster batch with each cluster's contexts, preceding, errors, self_suspect, projects, sessions, top_keywords, and the ledger's existing entries (id, class_hints, rule, evidence.quotes). For EACH cluster output exactly one label:

      • drop — self-directed correction, agent's own prose captured as context, or a real reaction too short/ambiguous to name a specific mistake (self_suspect and an empty preceding are strong self-directed cues). Don't force a match on one overlapping word.
      • an existing ledger id (ag-NNN) — only if the cluster is narrowly the SAME mistake class as that entry's class_hints+rule+evidence.quotes, not just similar sentiment. State the entry's specific claim precisely in the prompt and give the classifier a negative example, e.g. for ag-001 (validate, don't assert): "did you test it?" matches; "we're burning money, why is it failing?" does NOT.
      • new — a real, agent-directed mistake matching no existing entry. Write no theme: count names the entry from the first two words of the cluster's own top_keywords. Also output a rule: one line stating the behavioural rule the evidence supports, same do/don't imperative style as an existing entry's rule — the only LLM-authored field here; friction.cjs count requires it whenever the cluster's own sessions >= 2. Each new cluster stands alone, never merged with another.

      Output {cluster_index: label} for drop/ag-NNN; for new, {cluster_index: {label: "new", rule: "<one-line rule>"}}.

    • 4b. Route by recurrence (tier from the distinct-conversation count friction.cjs count computes, per Rules):

      • suggested_artifact: antigen (recurring + severe) or a same-label group → an antigen (do/don't rule) with verbatim evidence quotes.
      • suggested_artifact: fact (recurring + mild) → a Fact.
      • suggested_artifact: episode not in a recurring group → not an Episode, and at 1 session written nowhere (the Episodes section is stash-fed and capped; friction re-scans every run, so it resurfaces until it recurs, then lands as a ledger observing entry). suggested_artifact is a structural proposal, not a filing decision.
    • 4c. Count (.amp/remember/ledger.json — the evidence trail linking each rule to the mistake it targets; JSON bookkeeping, never injected as guidance). A literal command you run, not a description you reason from. Create ledger.json as {"version": 1, "entries": []} if missing. Entry shape:

      json
      { "id": "ag-001", "class": "claimed-done-not-verified",
        "class_hints": ["says pushed but", "none got it"],
        "status": "observing|hot|rejected|escalated|expired",
        "rule": "<current phrasing>",
        "attempts": [{ "n": 1, "rule": "<phrasing>", "adopted": "YYYY-MM-DD", "outcome": "active|failed" }],
        "evidence": { "sessions": 0, "session_ids": [{ "id": "<project-label>/<MMDD-HHMM>-<hash>", "seen": "YYYY-MM-DD" }], "projects": [], "quotes": [], "last_seen": "YYYY-MM-DD" },
        "recurred_while_hot": 0,
        "history": [{ "date": "YYYY-MM-DD", "event": "<transition>" }] }

      Immediately after 4a produces .amp/remember/friction/labels.json (the <labels.json> below), run these as real shell invocations, in order. First (a no-op on a consistent ledger — always run it; it records hand-drifted rule text as a new attempt so I7, rule == last attempt's rule, holds):

      bash
      node <path-to-friction.cjs> migrate-attempts .amp/remember/ledger.json .amp/remember/ledger.json

      Then:

      bash
      node <path-to-friction.cjs> count <labels.json> <ledger.json> <clusters.json> <today's-date> <ledger.json>.new .amp/remember/friction/count_report.json

      Then overwrite ledger.json with <ledger.json>.new (e.g. mv ledger.json.new ledger.json). Producing labels is not the deliverable of this step. count handles identity, seeding, promotion and the adopted-date gate; never redo it by hand. It also writes count_report.json, which step 8 reads back.

      After count returns (read count_report.json):

      • Escalation. count marks failed attempts, resets recurred_while_hot, and lists ids in count_report.json: needs_rephrase and escalated. For each needs_rephrase id, draft attempt n+1 — it must differ from every prior attempt's text in that entry (failed attempts are the rejected-edit buffer; never re-propose one verbatim) — append {n+1, rule, adopted: <today>, outcome: "active"} to attempts, replace rule, and update MEMORY.md's Antigens section (step 5). For each escalated id (status already set), record a Fact ("persistent failure mode: — no phrasing reduces it") and flag it in the step-8 report. Fill the escalation: slot from these two lists. Flag, don't act — the user decides: enforcement (a hook, where the tool has them) or accepted limit.
      • escalated/rejected entries (rejected = user veto) get no new attempt, count run or not.
      • Decay. count expires and reactivates entries; fill the decay: slot from count_report.json's decay.expired and decay.reactivated.
      • Mutations are append-friendly: merge evidence and change status, never delete entries or history lines. Every hot antigen in MEMORY.md must have a matching hot ledger entry. If ledger.json is malformed, say so loudly, move it aside as ledger.json.bad-<date>, and start fresh — never silently overwrite.
  6. Inject memory + rules references into AGENT.md

    • Compose the MEMORY section (explicit path — a bare @MEMORY.md would resolve to a nonexistent root file):
      <!-- MEMORY:START -->
      @.amp/remember/MEMORY.md
      <!-- MEMORY:END -->
    • If .amp/remember/AGENT_RULES.md exists, compose a second, independent section. The file itself is never @-referenced (a standards guide, not hot context); the section is a path pointer plus the two inline rules that change what you TYPE. Write it verbatim:
      <!-- AGENT_RULES:START -->
      **One writer per piece of state.** One function assigns each field; everything else
      calls it. Grep who writes it before you write it — and if a write can land from a
      callback, thread, or lifecycle, the reader must tell stale from fresh.
      
      **Surgical changes only.** Touch what the task requires. Dead code, nits, bugs you
      pass: if it's inside or affects the code you're already changing and the fix changes
      no behavior, fix it and say so — otherwise report it and say what it costs to leave
      it. A problem you don't fix goes in the report, never in a comment.
      
      Standards guide (read when designing/building something new, not hot context):
      .amp/remember/AGENT_RULES.md
      <!-- AGENT_RULES:END -->
    • Each marker pair is independent: if AGENT.md lacks a pair, append it at the end; if present, replace its content in place; if no AGENT.md exists, create one with whichever section(s) apply.
    • An existing AGENT_RULES pair is never rewritten — users trim it deliberately; the block above is for creating it. If an existing pair's path pointer is missing or wrong, report it and stop; do not rewrite around it. (The FILE AGENT_RULES.md is different: sync-rules.cjs refreshes it every run. Only this AGENT.md block is create-once.)
    • Then assert the stub SHAPE mechanically:
      bash
      node ~/.config/amp/skills/remember/stub-check.cjs
      It edits only inside the marker pairs: repairs a MEMORY include that is not @.amp/remember/MEMORY.md, demotes an @-include of AGENT_RULES.md to a plain pointer, never touches user prose, and will not repoint a MEMORY include at a file that does not exist (report it instead). Silent when current; relay what it prints in the step-8 report.

    MEMORY.md format:

    markdown
    # Project Memory
    > Auto-generated by /remember. Do not edit manually.
    
    ## Facts
    - [one-line rule, target 160 chars, hard stop 180]
    
    ## Episodes
    ### YYYY-MM-DD - [title]
    - [bullet narrative]
    
    ## Antigens
    [rendered — see below, do not hand-write]

    The ## Antigens section is rendered, never hand-written. After 4c has overwritten ledger.json, run as a literal command:

    bash
    node <path-to-friction.cjs> render <ledger.json>

    Paste its stdout verbatim over MEMORY.md's entire ## Antigens section (from that line to the next ## heading, or end of file). Then node <path-to-friction.cjs> check <ledger.json> <MEMORY.md> must report I6-new: EQUAL; if not, something was hand-edited — redo from the script's stdout, never patch MEMORY.md manually.

  7. Update processed manifest — append paths of newly processed stashes to .amp/remember/.processed.

  8. Docs reconcile check + auto re-index (best-effort, crash-isolated like step 0; the only write is the generated docs/index.md via the deterministic index-flat script, never a model call; it never reconciles doc content or edits a page; a failure here never blocks the memory write already done)

    • Locate docs-builder.cjs — in the docs-builder/ directory beside this one (under skills/ on Claude Code and Amp, commands/ on Droid and opencode), called by absolute path.
    • No docs/ directory → stay silent (the step-8 docs: N/A (no docs/) line records it).
    • docs/ exists but cannot run (script missing, git fails, command errors) → print one line saying why. Never fail silently.
    • Not set up — no docs/.docs-builder/ directory (docs-builder never ran), or due prints "no ledger yet": print one line telling the user to run /docs-builder reorg. Never tell them to run ledger — it would stamp an unsorted pile as correct and due would report NOT due forever.
    • Otherwise run it and pass through its verdict (it is due at >=5 changed docs):
      bash
      node <docs-builder.cjs> due
    • Auto re-index on any drift: if due's output was NOT docs unchanged since <sha>. NOT due. (it printed a row table, whether or not the >=5 threshold was crossed), run — script only, no model, in addition to the DUE advisory:
      bash
      node <docs-builder.cjs> index-flat
      Note in the step-8 report that docs/index.md (and docs/log.md if touched) were regenerated, so they are staged with this run.
    • If DUE (>=5), ALSO end with one line:
      docs: 7 changed since 991f72d3 — run /docs-builder reorg
  9. Report to user — print it AND write the same content to .amp/remember/report.md (overwritten each run)

    • Step-check lines — always printed, never omitted. One line each, filled with the result (real exit codes) or NOT RUN: <reason>; a missing line is a skipped step. Scripts stay silent when nothing changed; the line tells "ran, nothing to do" from "skipped". If a script wrote or moved a file and its output is not in its line, that is a defect.
      version-check: exit <code> <unchanged | its output> | NOT RUN: <reason>
      legacy-migration: moved <files> | none found | NOT RUN: <reason>
      sync-rules: exit <code> <unchanged | its output> | NOT RUN: <reason>
      friction: exit <code>, <N> clusters | skipped: <reason>
      stashes: <N> processed in <K> agents (batches of <=5) | none unprocessed
      facts: B → A, <M> merged or shortened
      length-gate: <N> lines >180 after awk (target 0); exemptions: <lines | none>
      episodes: B → A; removed: <titles> → folded into fact "<first words>" | none
      classify: <N> clusters -> drop <d>, existing <e>, new <n>
      migrate-attempts: exit <code> | NOT RUN: <reason>
      count: exit <code>, ledger replaced yes | NOT RUN: <reason>
      decay: <N> expired, <M> reactivated | NOT RUN: <reason>
      antigens: High <h> (+<p> promoted), Medium <m>, Low <l>
      escalation: <ag-id rephrased | ESCALATED | none>
      render: pasted verbatim yes | NOT RUN: <reason>
      I6-new: <check output, must be EQUAL> | NOT RUN: <reason>
      claude-md: MEMORY block <created | replaced | unchanged>; AGENT_RULES block <created | left alone | pointer wrong: STOPPED>
      stub-check: exit <code> <unchanged | its output> | NOT RUN: <reason>
      processed: +N entries (before B → after A lines)
      docs: N/A (no docs/) | due: <verdict> | index-flat: ran | not needed | NOT RUN: <reason>
      regenerated: docs/index.md [docs/log.md] | none
      nothing to consolidate: stub-check ran exit <code>
      facts: at steady state (lines already <=160, no near-duplicates) may grow by exactly its new facts and shorten nothing — say so rather than forcing merges. antigens: is read from count_report.json, not recomputed. nothing to consolidate: prints only on the quiet run.
    • Mechanical length check — run, don't estimate. It applies the SAME exemption as the step-3 gate (longest backtick literal over 100 chars is not flagged), so the two counts cannot disagree:
      bash
      awk '
      /^## Facts/{f=1} /^## Episodes/{f=0}
      f && /^- / && length($0)>180 {
        line=$0; maxlen=0
        while (match(line, /`[^`]*`/)) {
          seglen = RLENGTH-2
          if (seglen > maxlen) maxlen = seglen
          line = substr(line, RSTART+RLENGTH)
        }
        if (maxlen <= 100) print
      }' .amp/remember/MEMORY.md
      Print every line it returns and the count. Zero is the target; non-zero is a gate miss.
    • Ledger lines — one per non-observing entry: id, short rule, status, recurrences since adoption. Highlight rephrased (RECURRED) and ESCALATED entries (escalations need a user decision):
      ledger: ag-001 "verify live after publish"  hot, 0 recurrences since 2026-07-10
      ledger: ag-003 "don't commit per change"    RECURRED while hot (2/2) → rephrased, attempt 2
      ledger: ag-002 "literal scoped ask"         ESCALATED → Fact; 2 phrasings failed. Hook or accept?
    • If step 7 ran the auto re-index, name the regenerated files (docs/index.md, plus docs/log.md if touched).
    • Confirm MEMORY.md and AGENT.md updated.

File locations (all project-local — two dirs: /stash owns .amp/stash/, /remember owns .amp/remember/)

PathWhat
.amp/stash/*.mdstash files
.amp/remember/MEMORY.mdhot memory, referenced as @.amp/remember/MEMORY.md
.amp/remember/AGENT_RULES.md (+ .bak)standards guide, synced each run by sync-rules.cjs; single .bak written only when the body differs; plain-path pointer, never @
.amp/remember/ledger.jsonantigen ledger (per-rule evidence trail)
.amp/remember/report.md, .processedlatest step-8 report; processed-stash manifest
.amp/remember/friction/transient, regenerated each run: antigen_clusters.json (preferred), antigen_review.md (fallback), raw files
docs/.docs-builder/ledger.jsonREAD ONLY here — owned by /docs-builder
AGENT.mdmanaged MEMORY section, plus the AGENT_RULES section once created

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Remember AI 技能有什么作用?

Consolidate stashes + friction into project memory

为什么在 TypingMind 中使用 Remember?

因为您只需安装一次,就能搭配任何模型使用。Remember 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Remember?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/hamr0/liteagents/tree/main/packages/ampcode/skills/remember。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Remember?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Remember 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Remember 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Remember AI 技能免费吗?

是的。hamr0 已在 GitHub 上根据 Apache-2.0 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇