一键导入
aphrodite-operations
Operational patterns for working with aphrodite - engine compression handling, prefetch workflow, dual-mode rebuild, standalone repo sync.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Operational patterns for working with aphrodite - engine compression handling, prefetch workflow, dual-mode rebuild, standalone repo sync.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Auto-release, version sync, pre-release verification, and release notes for aphrodite.
Comprehensive benchmark protocol for aphrodite proxy - compression throughput, cache hit rates, cross-worker behavior, terminal threshold verification, and all-type coverage. Current as of v1.3.2.
Protocol for testing auto-expand behavior - controlled by AUTO_EXPAND_LIMIT from TOML auto_expand_limit (default 5 → effectively OFF). APHRODITE_AUTO_EXPAND=1 enables aggressive. Context engine is the real async engine.
Critical development pitfalls for Aphrodite - auto-expand, env_passthrough, plugin symlink, dual-store pattern, release notes, and session setup checklist.
Historical development patterns from v0.8.5→v0.8.6 cycle. Most patterns now live in aphrodite-dev-workflow, aphrodite-upgrade-breakpoints, and aphrodite-development-lessons. Keep as reference snapshot.
Cargo upgrade breakpoints for aphrodite + headroom - reqwest features, axum ConnectInfo+fallback, tokio-tungstenite Messages, pyo3 allow_threads, workspace pinning. What breaks and how to fix.
| name | aphrodite-operations |
| description | Operational patterns for working with aphrodite - engine compression handling, prefetch workflow, dual-mode rebuild, standalone repo sync. |
| version | 1.0.0 |
Day-to-day operational patterns when working inside an aphrodite-compressed session.
When the context engine compresses tool output into CCR markers, do NOT fight it by re-reading the same file with different offsets or tools. The engine compresses every read. Instead:
aphrodite_prefetch(paths=[...]) to read files and
compress them. Markers are returned inline; use aphrodite_prefetch_status
to track loading progress.<<<CCR:hash|type|size>>>, use
aphrodite_retrieve(hash). Don't call read_file again with different
offsets.command > /tmp/out.txt 2>&1 then
prefetch/retrieve.aphrodite_prefetch_status for readiness.Anti-pattern: calling read_file 3+ times on the same file with different
offsets, each time getting a compressed marker. The engine compresses every
read.
_rebuild_handler)The aphrodite_rebuild tool supports two modes:
Cargo.toml exists in a parent directory, builds from Rust
source via cargo build --release._download_binary().The _find_cargo_toml() helper walks up to 6 directories from the rebuild
module to locate the workspace root.
End users install from Aphrodite-Hermes - a lightweight repo containing only Python plugin files (no binary, no monorepo). The binary is auto-downloaded from GitHub Releases on first session start.
After releasing in the monorepo, sync files to the standalone repo:
cp plugins/aphrodite/_core/config.py $STANDALONE/_core/config.py
cp plugins/aphrodite/plugin.yaml $STANDALONE/plugin.yaml
cp plugins/aphrodite/pyproject.toml $STANDALONE/pyproject.toml
cp plugins/aphrodite/__init__.py $STANDALONE/__init__.py
cp plugins/aphrodite/_hooks/rebuild.py $STANDALONE/_hooks/rebuild.py
cd $STANDALONE && git add -A && git commit -m "sync: v$NEW" && git push
--version FlagThe Rust binary's --version flag is only parsed by clap when Cli::parse() is
called (no aphrodite.toml exists). Added early handling in main() to
intercept --version/-V before config loading, ensuring it works regardless
of config state.
_rebuild_handler repo path: from _hooks/rebuild.py, use
_find_cargo_toml() which walks up, not hardcoded dirname() chains that
break when directory structure changes._check_binary_version() calls [BINARY, "--version"] - ensure the binary
actually supports it (fixed in v0.8.6).skill_manage - create profile-level
skills for operational patterns.