Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计异常

kratos-memory奎托斯记忆

Agent Skill

kratos-memory 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

225

周安装

9

GitHub Stars

公开资料未说明

下载量

73
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:kratos-memory(奎托斯记忆)
来源仓库:https://github.com/ceorkm/kratos-memory-skill
仓库路径:skills/kratos-memory
安装命令:
npx skills add https://github.com/ceorkm/kratos-memory-skill --skill kratos-memory
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/ceorkm/kratos-memory-skill --skill kratos-memory

简介

kratos-memory 帮助 Agent 存储和检索项目经验与最佳实践。

  • 支持全局与本地记忆管理,适用于多项目知识沉淀。
  • 通过 GitHub 安装,需指定 skills/kratos-memory 路径。
  • 使用前请确认 Codex、Claude 等平台对文件读写的支持情况。
  • 注意敏感信息需提前扫描,避免泄露 API 密钥或 PII 数据。

SKILL.md

Kratos Memory

Persistent memory across sessions for any AI coding agent. Save what matters, recall it later. Local SQLite, zero network calls, 40ms per command.

Setup Check

Before using any command, verify kratos-memory is installed AND working:

kratos-memory status

If command not found — install it:

npm install -g kratos-memory

If status fails with a native module error (e.g. NODE_MODULE_VERSION mismatch) — reinstall:

npm uninstall -g kratos-memory && npm install -g kratos-memory

If npm is unavailable, use npx (slower but works without install):

npx kratos-memory@latest status

Only proceed once status runs successfully. If it shows project info and memory stats, the setup is healthy.

Two Memory Scopes

Kratos has two memory layers. Use the right one:

Project memory (default) — isolated per project. Architecture decisions, repo-specific patterns, project config, file structures. Only visible when working in that project.

Global memory (--global flag) — shared across ALL projects. Reusable bug fixes, tool gotchas, workflow patterns, general engineering lessons. Visible from any project.

Add --global or -g to any command to use global memory:

kratos-memory save "..." --global     # save to global
kratos-memory search "..." --global   # search global
kratos-memory recent --global         # recent global memories

Session Start — Always Do This

At the beginning of every session, load project context:

kratos-memory summary

This shows pinned rules, key decisions, topics, and recent activity. If working on a specific area, search for it:

kratos-memory ask "How does [area] work?"

Use this context to avoid re-asking the user things they already explained in prior sessions.

When to Save — Proactive Triggers

Save immediately when any of these happen. Do not ask permission — just save.

After fixing a bug — save BOTH project and global:

# Project: what was fixed in this repo
kratos-memory save "Fixed [what] — root cause was [why]. Changed [file] to [how]." --tags bug,fix --importance 4 --paths path/to/file.ts

# Global: the reusable lesson (only if the fix applies beyond this project)
kratos-memory save "If you encounter [symptom], the cause is usually [root cause]. Fix: [general solution]." --tags bug,fix --importance 4 --global

After the user explains how something works:

kratos-memory save "[What they explained]" --tags architecture --importance 4 --paths relevant/file.ts

After making a design or architecture decision:

kratos-memory save "Chose [X] over [Y] because [reason]." --tags decision,architecture --importance 5

After discovering infrastructure/deployment details:

kratos-memory save "[Service] hosted on [platform]. [Details]." --tags infrastructure --importance 4

When the user sets a rule ("never do X", "always do Y"):

kratos-memory save "[The rule]" --tags rules --importance 5

Then pin it so it always surfaces first:

kratos-memory pin <id>

After discovering a tool gotcha or workflow pattern (GLOBAL):

kratos-memory save "npm rebuild better-sqlite3 reports success but doesn't build. Use npm run build-release instead." --tags tooling,gotcha --importance 4 --global

After completing significant work:

kratos-memory save "Session: [what was done]. Key changes: [list]. Files: [list]." --tags session --importance 3

Core Commands — Quick Reference

CommandUse
save "<text>" --tags X --importance NStore a memory
save "<text>" --globalStore a global memory (shared across all projects)
search "<query>"Find by keyword
search "<query>" --globalSearch global memories
ask "<question>"Natural language query
recentLatest memories
get <id>Full memory details
update <id> "<text>"Edit without delete/re-save
forget <id>Delete
pin <id>Pin — always surfaces first
summaryProject brief
exportDump all as JSON
statusDashboard
scan "<text>"Check for secrets/PII

Add --global / -g to any read/write command to use global scope.

For full command reference with all options, see references/api_reference.md.

Saving Best Practices

  • Be specific — "Auth uses JWT RS256 with httpOnly refresh tokens" not "we use JWT"
  • Include file paths--paths src/auth.ts helps future agents find the code
  • Include the WHY — "Chose X because Y" is more valuable than "Using X"
  • Use consistent tagsbug, fix, architecture, decision, security, database, api, frontend, backend, infrastructure, performance, rules
  • Scan before saving sensitive textkratos-memory scan "<text>" detects API keys, passwords, PII
  • Pin critical rules — anything that should never be forgotten

When to Save Global vs Project

Save to GLOBAL (--global) when:

  • The lesson applies to ANY project (not just this one)
  • You fixed a bug caused by a tool/library/platform behavior
  • You discovered a workflow pattern (e.g., "Codex needs --write flag")
  • The user shares a general preference that should apply everywhere

Save to PROJECT (default) when:

  • It's about THIS repo's architecture, patterns, or config
  • It's about specific files, endpoints, or schemas in this project
  • It's a project-specific rule or convention

When stuck on a bug — search both:

kratos-memory search "the error message"           # check this project first
kratos-memory search "the error message" --global   # then check global lessons

What NOT to Save

  • Code that's already in the repo (that's what git is for)
  • Temporary debugging notes
  • Obvious language/framework knowledge Claude already has
  • Duplicate information — search first, update if exists
  • Routine edits to global memory (don't save "edited button.tsx" globally)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.24%
按下载量换算26

Claude

31.84%
按下载量换算23

Cursor

19.01%
按下载量换算14

Gemini CLI

10.52%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

未通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills