独立运营 · 不出售排名位置  · 我们怎么评估工具 →
Anclum 提交收录
A

ashlrai/ashlr-plugin

Token-efficiency plugin for Claude Code and Codex: MCP tools and hooks that replace high-volume…

装之前:没有可直接复制的命令 · 许可证 MIT · 链接可访问

第一步:npm install -g ashlr-plugin@1.38.0

在 GitHub 查看 ↗链接已于 2026-11-12 核查 · HTTP 200 · 打开的是厂商自己的官网
安装与配置
取自该仓库的安装命令
npm install -g ashlr-plugin@1.38.0

解析自我们于 2026-11-04 抓取的该仓库 README;我们未执行过。

这条是仓库自己写的安装方式,不是 MCP 客户端配置,所以不生成 JSON。
配置项的键名以你的客户端为准:客户端与 CLI
★ 数取值
3 ★ · ashlrai/ashlr-plugin · 取自 GitHub 搜索 API · (2026-11-13 20:00:50 核对)
来源明细
从该仓库的 GitHub 页面直接读取 · 条目类型:开源项目
收录与活跃
收录于 2026-11-05 · 最近见到 2026-11-14 · 共见到 10 次 · 被 1 个来源列出
评分构成
综合分 103 · 3 ★ · 1 个来源 · repo
安装
npm install -g ashlr-plugin@1.38.0
常见问题(答案都来自我们的记录)
怎么安装?
该仓库给出的安装命令是 npm install -g ashlr-plugin@1.38.0。我们的记录里它是仓库自己提供的;不保证在你的客户端上直接可用。
它适合谁 / 用来做什么?
我们把它归在这些标签下: 开源项目。标签来自条目自身,不是我们强加的分类。
谁维护它、还在更新吗?
仓库 ashlrai/ashlr-plugin;我们收录于 2026-11-05;最近见到 2026-11-14。这里没有"官方认证"或"质量评级"——我们只记录来源与时间。

# ashlr-plugin

以下摘录自该仓库的 README(片段) · 在 GitHub 读完整 README →

> Install with npm, call the CLI with --json, and register the ashlr-mcp server.
ashlr-plugin is an open source efficiency layer for coding agents. It gives Claude Code, Codex, Cursor, and other MCP hosts shorter file, search, edit, and shell results, then records the difference in a local ledger.
Agents spend their context on tool output. Shorter results leave more room for the task. On the 2026-10-17 reference run, reads were about 75% smaller and greps about 27% smaller per call. That is not a whole-session total. The same run's per-repo means were about 60% on vercel/ai, about 63% on pandas, and about 55% on tokio. Reproduce it with bun run scripts/run-benchmark.ts --compare. Methodology.
The local plugin is MIT licensed. No account required. Telemetry is off unless you opt in (ASHLRTELEMETRY=on): opt-in telemetry only. It ships 54 MCP tools and the full slash-command catalog.
Agent index: llms.txt. Runnable reference: llms-full.txt. Rendered docs: llms.txt and llms-full.txt.
## Install
Requires Bun 1.3 or newer. No account required. One command installs the CLI and the MCP server:
bash
npm install -g ashlr-plugin@1.38.0
Confirm the install, list the tools, and read the local ledger. Each command prints JSON on stdout:
bash
ashlr-plugin --ashlr-handshake
ashlr-plugin tools --json
ashlr-plugin stats --json
ashlr-plugin codex-doctor --json
ashlr-plugin codex-install --dry-run --json
ashlr-plugin version prints the version as text. ashlr-plugin mcp starts the stdio router. From a checkout of this repo, the same commands are bun run scripts/cli.ts . The handshake is answered by the ashlr-plugin program, not by cli.ts.
Claude Code plugin (slash commands, redirects, and the status line). This clones the plugin into the Claude marketplace cache. It does not install the global npm bin:
bash
curl -fsSL https://plugin.ashlr.ai/install.sh | bash
Then, inside Claude Code:
/plugin marketplace add ashlrai/ashlr-plugin
/plugin install ashlr@ashlr-marketplace
/reload-plugins
Codex plugin:
bash
codex plugin marketplace add ashlrai/ashlr-plugin
codex plugin add ashlr@ashlr-marketplace
ashlr-plugin codex-doctor --json
Windows (PowerShell):
powershell
irm https://raw.githubusercontent.com/ashlrai/ashlr-plugin/main/docs/install.ps1 | iex
## MCP server
After the npm install, ashlr-mcp is on PATH. Paste one snippet. Do not edit a path.
Claude Code, project file .mcp.json:
json
"mcpServers": {
"ashlr": {
"command": "ashlr-mcp",
"args": [],
"env": {
"ASHLRMCPHOST": "claude-code"
Cursor, project file .cursor/mcp.json:
json
"mcpServers": {
"ashlr": {
"command": "ashlr-mcp",
"args": [],
"env": {
"ASHLRMCPHOST": "cursor"
Codex, add this block to ~/.codex/config.toml. It matches ashlr-plugin codex-install --dry-run --json:
toml
[mcpservers.ashlr]
command = "ashlr-mcp"
args = []
cwd = "."
env = { ASHLRMCPHOST = "codex-cli", ASHLRCODEXHOOKMODE = "nudge" }
Goose and other hosts: ports/README.md and docs/multi-host-mcp.md.
## How it works
1. The host starts ashlr-mcp over stdio.
2. The agent calls ashlrread, ashlrgrep, ashlredit, or ashlrbash instead of the noisy built-in.
3. The tool reads the file on the machine and returns a shorter result.
4. Savings are written to ~/.ashlr/stats.json. Read them with ashlr-plugin stats --json or ashlrsavings.
收录徽章(可选)
想把收录标记放进 README 就复制这行,可选,不影响收录。
[![Listed on Anclum](https://anclum.com/badge/listed.svg)](https://anclum.com/zh/s/ashlrai-ashlr-plugin/)
来源
github · https://github.com/ashlrai/ashlr-plugin
按领域浏览
开源项目
Traction
3 ★
收录于
今天

同类推荐

全部 1,671 →

所属领域与标签

每个标签都能点进去看同类的全部条目。数字是当前库里的真实条数。

浏览全部领域 →

← 返回索引