@jakevin7: Claude Code删掉了80%系统提示词! 而实际上 Maka 早就已经提到了过了这点。 https://github.com/maka-agent/maka-agent… 这个结论我们几周前在 Maka 上跑 benchmark 的…
摘要
本文讨论了Anthropic关于提示词精简的发现,以及Maka Agent在Terminal Bench 2.1上的验证结果,表明更强模型下过于冗长的系统提示词反而降低性能。
查看缓存全文
缓存时间: 2026/07/25 14:07
Claude Code删掉了80%系统提示词! 而实际上 Maka 早就已经提到了过了这点。
https://github.com/maka-agent/maka-agent…
这个结论我们几周前在 Maka 上跑 benchmark 的时候,已经独立撞见过一次。
用 Kimi K3 头对头测 Terminal Bench 2.1,Maka 对官方 Kimi Code CLI:Maka 用的是精简 工具面 + system prompt,Kimi Code 官方是 20KB 产品 prompt + 全量工具面。结果 Maka 领先 10 个百分点,难题子集领先 20 个百分点。 在 Anthropic 从模型厂的角度给出了同一个结论,而且是反过来的:不是“prompt 减了模型也不差“,是“模型变强了之后,冗余的 prompt 反而在拖后腿“。
Anthropic 这篇文章里最值得记的一句话,是把上下文工程从“写规则“重新定义成“搭架构“:与其用一堆硬性规则和示例去框死模型的探索空间(甚至规则互相矛盾,模型还要先内耗权衡冲突),不如把接口设计得足够清晰。
这跟我们做 Maka 时的体会完全一致:模型越强,越应该做减法。不是所有的“guardrail“都是保护,很多时候是噪音。
maka-agent/maka-agent
Source: https://github.com/maka-agent/maka-agent
Maka

A local-first Agent workspace built for real work.
Maka does more than answer questions. With controlled permissions, it can inspect projects, execute tools, produce artifacts, and preserve model messages, tool calls, and durable-task progress as recoverable execution facts. The same Runtime is available through the desktop app, terminal TUI, non-interactive CLI, and Headless runner.
Maka is under active development and currently targets users running from source or contributing to the project. Data formats, CLI commands, and experimental capabilities may still change.
Why Maka
- Local-first instead of hosted-first: sessions, settings, and run records stay on your machine by default. You choose the model connection: cloud API, local model, or compatible gateway.
- Log is the Runtime: model messages, Tool Calls, Tool Results, and termination facts enter Runtime Event Log. Sessions, UI, model context, and recovery are projections over that log.
- Context is not history: Tool Result pruning and LLM Compaction change what the next inference sees without treating recorded evidence as disposable context.
- A task may outlive a Turn: Headless uses TaskRun, Task Event Log, budgets, and continuation to advance interruptible and inspectable durable work.
- Feedback is not fact authority: Self-check may produce evidence and one bounded repair opportunity, but “I checked it” does not become a system fact.
Read Maka Backend Architecture for the complete design.
Surfaces
| Entry point | Best for | Current capability |
|---|---|---|
| Desktop | Daily interaction, file and Artifact workflows, model and permission setup | Electron + React with streaming sessions, tool timelines, branching, search, and recovery |
| TUI / CLI | Using Maka in the current project directory or running one non-interactive Turn | maka, maka run; shares workspace and model connections with Desktop |
| Headless | Durable tasks, recoverable TaskRuns, experiments, and evaluation | maka eval with task logs, export, resume, and comparison |
Current capabilities
Agent Runtime
- Multiple model connections, streaming output, thinking, usage accounting, and provider-error normalization;
- Local tools including
Read,Write,Edit,Bash,Glob, andGrep; - Tool schema validation, dynamic availability, permission policy, watchdogs, abort, and error classification;
- Runtime Event Log, AgentRun ledger, startup recovery, Turn Evidence, active Tool Result pruning, and history compaction.
Desktop workspace
- Create, archive, search, rename, retry, regenerate, and branch sessions from a Turn;
- Artifact lists and previews, workspace instructions, model settings, and permission settings;
- Local memory, web search, an open HTTP/SSE gateway, bot entry points, and Office workflows;
- Integrations are configured independently, and not every experimental entry is available by default.
Durable tasks and evolution
- Append-only Task Event Log and TaskRun projection;
- Budgets, permission pauses, continuation, result export, and failed-task retry;
- Plan-first, source-guarded, and attempt-bounded Heavy-task Self-check;
- AHE target protocol and evidence export; complete automatic self-iteration remains an external or experimental workflow.
Quick start
Requirements
- Node.js 22.19 or newer (CI uses Node.js 24);
- npm (the lockfile and scripts use npm; the current
packageManageris npm 11); - Git;
ripgrep, used by Runtime’sGreptool.
Start Desktop
git clone https://github.com/Maka-Agent/maka-agent.git
cd maka-agent
npm ci
npm run dev
npm run dev starts the Desktop development environment with HMR. To build every workspace before starting Electron, use:
npm run dev:full
If dependencies were installed with ELECTRON_SKIP_BINARY_DOWNLOAD=1, install the Electron platform binary before starting:
node node_modules/electron/install.js
First run
Maka does not bundle a shared model account. On first launch:
- Open
Settings → Models; - Add an API, local-model, or supported account connection;
- Test it and choose a default model;
- Return to the workspace and start a task.
The app distinguishes configured, send-ready, and experimental connection states. An account flow that is not wired into Runtime is not presented as a usable model.
Terminal entry points
Build the workspaces first:
npm run build
Then start the TUI or run one Turn:
npm --workspace maka-agent exec -- maka
npm --workspace maka-agent exec -- maka run "Summarize this repository and identify its most important risk"
npm --workspace maka-agent exec -- maka --help
The CLI reads the same model connections and workspace configuration written by Desktop. See packages/headless/README.md for Headless commands and its trust posture.
Architecture
The backend spine is:
Desktop / TUI / Headless
↓
SessionManager → AgentRun → Model + Tool Runtime
↓
Runtime Event Log → Context / Session / UI projections
↓
Task Event Log → TaskRun → Self-check / AHE evidence
Start with ARCHITECTURE.md. It provides the system map, code boundaries, problem-oriented reading paths, and six bilingual deep dives.
Repository layout
apps/desktop/ Electron main / preload / React renderer
packages/core/ Pure contracts for Sessions, Events, Permissions, and Connections
packages/storage/ File-backed stores and run ledgers
packages/runtime/ AgentRun, model adapters, tools, context, and recovery
packages/headless/ TaskRun, Autonomous Loop, Self-check, eval, and AHE
packages/cli/ TUI and non-interactive CLI
packages/ui/ Shared conversation, Markdown, Artifact, and UI primitives
docs/ Architecture, product, security, privacy, and test contracts
scripts/ Build hygiene, visual checks, smoke tests, and release helpers
Local data and security boundary
Maka stores workspace data under Electron userData by default:
<Electron userData>/workspaces/default/
llm-connections.json
credentials.json
settings.json
sessions/
Current boundaries that matter:
- Sessions and connection metadata live in the local filesystem;
- Runtime credentials such as API keys, bot tokens, and proxy passwords currently live in local plaintext
credentials.json, behind the OS account boundary, with POSIX directory mode0700and file mode0600enforced; - Subscription OAuth tokens (Claude, Codex, GitHub Copilot, and the Cursor/Antigravity previews) live in the same
credentials.json— the single authority for desktop, TUI, and headless; ElectronsafeStorageonly decrypts pre-existing legacy token files once at desktop startup (#1125); - Renderer does not receive plaintext credentials. File writes, Shell, and dangerous tool calls pass through the permission engine;
- Headless real-model evaluation fails closed by default and requires an explicit external isolation boundary.
Read SECURITY.md for security reporting and policy, and docs/README.md for current privacy and sandbox contracts.
Experimental runtime recovery flags
Runtime recovery remains opt-in. Both flags below are disabled by default:
MAKA_RUNTIME_SQLITE_CANONICAL=1migrates the current workspace’s canonical RuntimeEvent store toruntime.sqlite. This is a one-way, sticky migration trigger, not a reversible backend selector: afterruntime.sqliteexists, disabling the variable does not switch the workspace back to JSONL. Automatic pre-migration backup and populated v2-to-v4 upgrade coverage are not complete, so back up the workspace before enabling this flag.MAKA_RUNTIME_SAFE_BOUNDARY_RESUME=1enables the Desktop interrupted-turn Safe resume action, CLI/TUI/resume, and Desktop startup auto-resume. These paths may call the configured model provider and consume tokens. Enable the flag only when that behavior is explicitly desired.
Phase 2 provides the durable write-side boundary and fail-closed safe-boundary continuation. Phase 3 reconciliation for indeterminate tool side effects is not implemented yet; ambiguous tool outcomes remain parked rather than retried.
Development and verification
Common repository-level commands:
npm run build
npm run typecheck
npm test
npm run check:release
Run one workspace in isolation:
npm --workspace @maka/runtime test
npm --workspace @maka/headless test
npm --workspace @maka/desktop test
Use the following commands to update packages/core/src/model-metadata.generated.ts from models.dev and run the focused tests. Keep access-path-specific overrides in model-metadata.ts; do not edit the generated file by hand.
npm run sync:model-metadata
npm run test:scripts
npm --workspace @maka/core test
Desktop real-window and visual verification:
npm --workspace @maka/desktop run e2e
npm --workspace @maka/desktop run smoke:real-window
Before submitting code, run typecheck, build, and focused tests proportionate to the change, followed by git diff --check.
Documentation
License
Maka is licensed under the Apache License 2.0. See NOTICE for attribution information. Third-party components remain subject to their respective licenses and notices.
Thariq (@trq212): We removed ~80% of the Claude Code system prompt for our newest models, this is what we’ve learned about writing system prompts, skills and Claude.MDs for them.
相似文章
@jakevin7: 越来越觉得 Maka 很适合用来学习 Agent。 比如最近一个maka core dev提了 issue 在讨论 DeepSeek 的缓存优化。 全过程透明:1 个 issue + 8 个 PR 一路推上来,从 usage 归一化 → …
一篇介绍 Maka 桌面 AI 工作台的推文和项目说明,探讨了 Agent 开发中的缓存优化、运行时工程问题,以及 Maka 作为本地优先工具的功能架构。
@jakevin7: 分享一下maka 最近在做一件很有意思的事:让 agent 自动优化自己的 system prompt,完全闭环,不需要任何人工介入。Karpathy 的 autoresearch、AEGIS 等都做过类似方向,一个有目标的自我强化学习系…
Maka是一个本地优先的桌面AI工作台,其新功能让agent自动优化自己的system prompt,通过生成变体、容器评测和acceptance policy迭代改进,无需人工介入。
@jakevin7: 做 Agent 有个不成文的默认假设:tool result 很重要,模型要看完原文才能继续推理。 最近发现这个假设可能是错的。 ---------------------------------- https://github.com/…
作者在开发 Maka Agent 时发现,对 AI Agent 的 tool result 进行激进裁剪(只保留关键摘要)几乎不影响推理质量,并提出了三个解释,同时介绍了开源桌面 AI 工作台 Maka Agent。
@jakevin7: Maka 这两天密集冲刺,最值得关注的东西出来了。 Autonomous Task Loop v1 上线。 之前 maka 跑一次 agent 就结束。现在是一个持久化循环: preflight → runtime → SelfCheck…
Maka 发布 Autonomous Task Loop v1,实现了 agent 的持久化循环:preflight → runtime → SelfCheck → FeedbackObservation → Decision,支持自我检查、预算控制和状态恢复,使 Maka 桌面 AI 工作台具备了运行持续任务的基础能力。
@Saccc_c: 昨天爆火的Claude Design系统提示词已泄露。简单看了一下,提示词非常强调整体设计上下文,鼓励多方案探索,并且预先设定了“去AI味”的规则。确实有点东西,完整版如下:
Claude Design的系统提示词遭泄露,内容强调整体设计上下文,鼓励多方案探索,并内置了去除AI生成痕迹的规则。