如何為 AI Agents 設定 Claude Projects(以及何時改用 Skill)

更新於 閱讀時間 10 分鐘 Leonard Pliachko
這個頁面
  1. 永遠開啟,或隨處可用
  2. Instructions 和知識不是同一個容器
  3. 經修正的設定方式
  4. 問題出在哪裡
  5. 保留不只少數幾個
  6. 相關指南
更新於 2026 年 9 月 17 日

變更內容:Claude Skills 現在已經是獨立存在的功能,因此,將 skill 檔案貼入 Project Instructions 不再是讓 agent 持續存在的唯一方式,而且通常也不再是正確方式。本指南已修正,加入了原版遺漏的方案限制,以及 Projects 與 Skills 之間的選擇。

瀏覽 AI agents →

現在有兩種方式可以讓 Claude 在不貼上任何內容的情況下表現得像專業工具,但兩者不能互換。Anthropic 自己的說明中心清楚劃分了界線:Projects 在該專案內提供「始終載入的靜態背景知識」,而 Skills 則提供「需要時動態啟用的專門程序,並可在 Claude 的各處運作」。只在一個地方始終開啟,或在每個地方按需啟用。你的 agent 應該歸在哪一類,完全取決於你的實際工作方式,而大多數人都以同一種方向做錯了選擇。

永遠開啟,或隨處可用

這個區別就是整個決策的核心,值得花一點時間仔細思考,而不是直接跳到步驟。

Project 就像一個有圍牆的房間。你放入其中指示與知識的所有內容,都會載入到你在其中開始的每個對話裡,而在外部開始的對話則完全不會載入。當 agent 附帶一套背景內容時,這正是你所需要的:客戶的品牌指南、程式碼庫的慣例、三季的財務歷史;而且你將針對同一背景進行許多個獨立對話。

Skill 具有可攜性。當任務需要時,Claude 會在任何對話中採用這套程序,而不必先開啟任何內容。當 agent 是一種工作方式,而不是一套知識時,這正是你所需要的:審查方法、起草規範,以及你總是希望套用的格式。

使用 Project 的情況 使用 Skill 的情況
agent 與一批你會反覆參考的文件綁定 agent 是一種適用於許多不同情境工作的做法
你希望針對同一個共享背景進行許多個獨立對話 你希望無論當下身在何種對話中都能使用它
內容量很大:檔案、逐字稿、程式碼庫、交易資料室 這些指示是一套程序,而不是一個資料庫
你希望每次都能開啟這項設定,而不必特別費心 你希望 Claude 只在任務確實需要時才使用它
你正在將客戶、專案或案件彼此分開 如果必須先開啟某個特定專案,你會感到惱火

常見的錯誤是把方法放進 Project。你建立了一個精心打造的程式碼審查 Project,接著在某次關於程式碼的普通對話中發現,這套方法並不存在,因為你身處錯誤的房間。

對許多人而言,決定這件事的限制

Anthropic 表示,Project 對所有使用者開放,包括免費帳戶,而且免費使用者最多可建立五個 Project。因此,過去「每個 agent 建立一個 Project」的建議最多只能用到五個,而一旦真實的客戶或程式碼庫 Project 開始爭用相同的名額,這個上限很快就會用完。

同一頁也指出,具備檢索功能的增強型 Project 知識僅適用於付費方案;當你接近上下文上限時,Claude 會切換至檢索模式,以「在維持回應品質的同時,將容量擴充最多 10 倍」。Project 的分享與協作功能適用於 Team 和 Enterprise。已於 2026 年 9 月 17 日在來源處核實:Claude 說明中心。

Instructions 和知識不是同一個容器

一個 Project 有兩個放置內容的位置,而兩者的差異比表面上看起來更重要。

Project instructions會一律載入。它們會影響 Claude 在該 Project 每個對話的每則訊息中的行為,並永久佔用上下文視窗的空間。因此,它們適合放置規則、語氣、方法、範圍、拒絕事項 - 也就是 agent 中精簡、以行為為核心的部分。

Project 知識是 Claude 會參考的資料。Anthropic 將其描述為上傳的文件、文字、程式碼或其他檔案,讓 Claude 能「更充分了解個別對話的脈絡與背景」。在付費方案中,這些內容會以檢索方式取得,而不是一直開啟,這正是上文所說十倍容量說明的含義。因此,它適合存放參考資料:風格指南、API 文件、先前的報告、逐字稿。

因此,較長的 agent 檔案不會自動歸入 instructions。 如果檔案主要是程序,請放入 instructions。如果主要是參考資料,請將其上傳為知識。如果兩者皆是 - 而大多數實質性的 agent 都是如此 - 請將方法放入 instructions,並將參考資料放入知識,這樣你會獲得更好的行為表現,也有更多工作空間。

經修正的設定方式

步驟 1

先決定使用 Project 還是 Skill。 請使用上方的表格。如果 agent 是一種你會想在任意對話中使用的方法,請將其安裝為 Skill,並在此停止 - Skill 安裝指南涵蓋了這條路徑。以下內容僅適用於 Project 確實是正確歸屬位置的情況。

步驟 2

建立專案,並以工作內容而非人物設定命名。在 claude.ai 中開啟側邊欄的 Projects,然後建立新專案。以專案所涵蓋的工作內容命名 - 「Acme - 合約審查」、「第三季董事會報告」- 而不是以 agent 命名。你擁有的 agent 會比專案多,而專案是房間,不是居住者。

如果你使用的是免費方案,請記住你有五個這類專案。將它們用於完整的工作內容,而不是人物設定。

步驟 3

將 agent 檔案分到兩個欄位中。使用任何文字編輯器開啟 .md 檔案。程序性內容 - 角色、方法、規則、開始前必須詢問的事項、必須拒絕的內容 - 放入專案指示。任何隨附的參考資料、範例或範本則以檔案形式加入專案知識。

如果檔案很短,而且內容完全是程序性的,就全部放入指示中,不需要拆分。這是最簡單的情況,而且很常見。

步驟 4

加入 agent 實際要處理的素材。這是原始版本指南完全漏掉的步驟,也是讓專案值得建立的關鍵。上傳 agent 會持續參照的文件:品牌指南、合約、程式碼庫規範、去年的報告。沒有附加知識的 agent,就像披著專案外衣的技能。

步驟 5

用只有完成設定的 agent 才能回答的問題進行測試。「Hello」是很弱的測試,因為一般助理也能禮貌地回答。請提出需要設定內容才能回答的問題:你開始前會先問我什麼、哪些內容不在你的職責範圍內、我們的風格指南對標題有什麼規定。如果回答很通用,表示指示未儲存,或你目前不在該專案的對話中。

步驟 6

每項工作都應在自己的對話中開始。在同一個專案中,每個對話彼此獨立,但共用相同的設定。每個事項、每個程式碼庫、每個行銷活動各用一個對話。返回現有對話以繼續工作;開始新對話以進行全新執行。如果你的 agent 隨附啟用訊息,就應將該訊息放入聊天視窗 - 絕不要直接放入技能檔案。

為此設定打造的 agent
Charles - AI 商業策略 agent
$39 · 一次付款

這是一個真正的專案案例,而不是技能案例:它會根據你提供的素材執行完整的策略工作階段,因此如果你的計畫、數據和過去的決策都放在專案知識中,並與它放在一起,就能發揮更大效益。以技能檔案加啟用 prompt 的形式提供 - 將檔案放入專案指示,將 prompt 貼到聊天中。

檢視 Charles - AI 商業策略 agent →

問題出在哪裡

錯誤 會發生什麼事 修正
把 Skill 檔案貼到聊天中 它只對那次對話有效,下一次就消失 檔案放在專案指示中。只有啟用訊息放在聊天中
在專案外開始對話 沒有任何設定,卻得到看似合理且極度自信的泛泛回答 始終先開啟專案,再在其中開始對話
把方法放進專案中 你在一般對話中需要它,但它並不存在 方法是 Skills。專案用於工作內容
免費方案每個角色一個專案 你達到五個後,就開始刪除原本想保留的專案 任何方案都適用:專案用於工作內容,Skills 用於角色設定
全部放在指示中 參考資料永久開啟並佔用上下文空間,排擠實際工作 程序放在指示中,參考資料放在知識中
空的專案 所有設定都完成了,卻沒有任何好處,因為什麼都沒有上傳 如果沒有要附加的知識,它可能原本就應該是一個 Skill
用「嗨」進行測試 一句禮貌的回覆,卻無法證明任何一種情況 詢問只有已設定版本才能回答的問題
過時的設定 agent 已更新,但專案仍在使用舊檔案 更新 agent 時重新貼上指示。沒有任何東西會替你完成這件事

Anthropic 自己的頁面目前有一點說法不一致

至於哪些方案可以上傳自訂 Skill,來源說法並不一致。說明中心中關於 Skills 以及建立自訂 Skills 的文章都表示,Skills 「適用於 Free、Pro、Max、Team 和 Enterprise 方案的使用者」,且該功能需要啟用程式碼執行。Claude Academy 關於相同主題的教學則表示,「Skills 適用於 Pro、Max、Team 和 Enterprise 方案」,沒有提到免費方案。

我們不打算猜哪個才是目前版本。如果你使用付費方案,這不會影響你。如果你使用免費方案,請開啟 設定 → 功能,確認你的帳戶是否顯示 Skills,而不是盲目信任任何一個頁面或本文。檢查日期:2026 年 9 月 17 日:說明中心。

保留不只少數幾個

當你的 agent 超過幾個之後,整理的問題就不再是「我要如何設定一個」,而是「我要如何在三秒內找到正確的那個」。兩個習慣就能處理大部分工作。

以工作命名 projects,以職責命名 skills。 側邊欄中名為「Acme」、「Q3 報告」、「平台重寫」的 projects,就像一個你看得懂的檔案櫃。側邊欄中列出三十個 personas,則是一份你必須記住各自內容的清單。

記下每個 agent 的哪個版本安裝在哪裡。 沒有更新機制。當你替換 agent 檔案時,必須在每個使用它的 project 中手動替換,而你遺忘的 project 會持續悄悄執行上一季的指示。

總結:

在開始設定之前,先決定要使用 Project 還是 Skill,因為 Anthropic 自己的區分很明確:project 是始終在同一處載入的靜態背景知識,skill 是在需要時啟用、並可在任何地方運作的程序。方法適合做成 skills;工作成果適合放在 projects。免費帳戶可建立五個 projects,因此應該把它們用在客戶和程式碼庫上,而不是 personas。在 project 中,將程序放入指示,將參考資料放入知識庫,因為指示會一直保留在內容中,而知識庫則會在需要時擷取資料。上傳 agent 實際要處理的資料,否則這個 project 就只是披著外套的 skill。請用只有設定好的 agent 才能回答的問題進行測試,不要只輸入「hello」。此外,請記下每個 agent 的哪個版本安裝在哪裡,因為沒有任何機制會替你更新。針對這種設定打造的 agents,AI agent collection 起價 $39,單次付款,並提供 30 天退款保證。

Agent · .md 與啟用 prompt

75+ 個可直接用於專案的 AI agents

每個產品都會附上 .md skill 檔案和啟用 prompt,涵蓋銷售、行銷、財務、招募、SEO、程式設計與營運。將檔案放入專案指示,將自己的資料放入專案知識庫,它從第一則訊息起就會接手工作。

起價 $39
瀏覽所有 AI agents →

KissMySkills 是一個提供 2,000+ 個 AI skills、80+ 組 prompt packs、75+ 個 agents,以及適用於 Claude、ChatGPT 與任何 AI 聊天工具的免費工具的市集。

相關指南

常見問題

Should I use a Claude Project or a Skill for my agent?+

Anthropic's own distinction settles most cases: projects provide static background knowledge that is always loaded within that project, while skills provide specialized procedures that activate dynamically when needed and work everywhere across Claude. So a body of work - a client, a codebase, a matter with documents attached - wants a project. A method you will want in arbitrary conversations - a review discipline, a drafting standard, a format - wants a skill. The common mistake runs one way: people put methods in projects, then need them in an ordinary conversation and find themselves in the wrong room.

Are Claude Projects available on the free plan?+

Yes, with a limit. Anthropic states that projects are available to all users including free accounts, and that free users can create a maximum of five projects. That matters because the usual advice of one project per agent runs out at five very quickly once real client and codebase projects are competing for the same slots. Enhanced project knowledge with retrieval is paid-only, and sharing or collaborating on projects is Team and Enterprise.

What is the difference between project instructions and project knowledge?+

Instructions are always loaded and shape behaviour in every message of every conversation in the project, which means they permanently occupy room in the context window. Knowledge is material Claude draws on - documents, text, code or other files uploaded so it can better understand the context and background for individual chats - and on paid plans it is retrieved rather than held open. So put procedure, rules, tone and scope in instructions, and reference material in knowledge. A long agent file does not automatically belong in instructions.

Do I need to reload the agent in every new conversation?+

No. Once project instructions are saved they apply to every conversation you start inside that project, with no expiry and no reloading. What does not happen automatically is updating: there is no update mechanism, so when you replace an agent file you replace it by hand in every project that uses it. A project you forget will keep quietly running last quarter's instructions, which is why it is worth noting which version is installed where.

How do I check the setup actually worked?+

Not with hello, because a general assistant answers that politely too and proves nothing. Ask something only the configured version could answer: what will you ask me before you start, what is out of scope for you, what does our style guide say about headings. If the reply is generic, either the instructions did not save or you are in a conversation started outside the project, which is the second most common setup error after pasting the skill file into the chat window instead.

Can free plan users upload a custom skill?+

Anthropic's own pages currently disagree, so check rather than trust either. The help centre articles on skills and on creating custom skills both state that Skills are available for users on Free, Pro, Max, Team and Enterprise plans, and that the feature requires code execution to be enabled. The Claude Academy tutorial on the same subject says Skills are available on Pro, Max, Team and Enterprise, with no mention of free. If you are on the free plan, open Settings then Capabilities and see whether Skills appear for your account.

Can I run several agents in one project?+

You can, but it usually works badly, because project instructions are a single always-loaded block and two personas in one block compete. The better arrangement is one project per body of work, with the method installed as a skill so it travels into whichever project the work is in. If the agents genuinely need separate always-on configuration and separate document sets, they need separate projects - and on a free account that is a five-slot budget to spend carefully.

What are the most common setup mistakes?+

Three, in order. Pasting the skill file into the chat window instead of project instructions, which works for one conversation and is gone from the next. Starting a conversation outside the project, which produces a confident generic answer that looks fine. And building an empty project with no documents uploaded, which is all of the setup and none of the benefit - if there is no knowledge to attach, the agent probably wanted to be a skill.

~/get-started

實用的 Skills。不說空話。

瀏覽商店中的每個技能、prompt 套件和 agent。

瀏覽所有技能 →或試試免費工具