·filesystem-context
</>

filesystem-context

guanyang/antigravity-skills

當用戶要求“將上下文卸載到文件”、“實現動態上下文發現”、“使用文件系統作為代理內存”、“減少上下文窗口膨脹”或提到基於文件的上下文管理、工具輸出持久性、代理便箋簿或即時上下文加載時,應使用此技能。

32安裝·3熱度·@guanyang

安裝

$npx skills add https://github.com/guanyang/antigravity-skills --skill filesystem-context

SKILL.md

The filesystem provides a single interface through which agents can flexibly store, retrieve, and update an effectively unlimited amount of context. This pattern addresses the fundamental constraint that context windows are limited while tasks often require more information than fits in a single window.

The core insight is that files enable dynamic context discovery: agents pull relevant context on demand rather than carrying everything in the context window. This contrasts with static context, which is always included regardless of relevance.

Context engineering can fail in four predictable ways. First, when the context an agent needs is not in the total available context. Second, when retrieved context fails to encapsulate needed context. Third, when retrieved context far exceeds needed context, wasting tokens and degrading performance. Fourth, when agents cannot discover niche information buried in many files.

查看原文

可引用資訊

為搜尋與 AI 引用準備的穩定欄位與指令。

安裝指令
npx skills add https://github.com/guanyang/antigravity-skills --skill filesystem-context
分類
</>開發工具
認證
收錄時間
2026-02-01
更新時間
2026-02-18

快速解答

什麼是 filesystem-context?

當用戶要求“將上下文卸載到文件”、“實現動態上下文發現”、“使用文件系統作為代理內存”、“減少上下文窗口膨脹”或提到基於文件的上下文管理、工具輸出持久性、代理便箋簿或即時上下文加載時,應使用此技能。 來源:guanyang/antigravity-skills。

如何安裝 filesystem-context?

開啟你的終端機或命令列工具(如 Terminal、iTerm、Windows Terminal 等) 複製並執行以下指令:npx skills add https://github.com/guanyang/antigravity-skills --skill filesystem-context 安裝完成後,技能將自動設定到你的 AI 程式設計環境中,可以在 Claude Code 或 Cursor 中使用

這個 Skill 的原始碼在哪?

https://github.com/guanyang/antigravity-skills