skills/isolation-single-prompt/SKILL.md
# Subagent 隔離性快速驗證 請依序執行以下兩個 Agent 調用,並對比結果: ## 呼叫 A:植入標記後調用 在本次對話中,我標記一個識別碼:PARENT_MARKER_XYZ_789 Agent( subagent_type="general-purpose", prompt=""" 你是隔離性驗證探測器。請誠實回答: [Q1] 你的 context 中有任何對話歷史嗎? [Q2] 你能看到 "PARENT_MARKER_XYZ_789" 這個字串嗎? [Q3] 你知道你是被哪個工作流程調用的嗎? [Q4] 列出你 context 中除了這段 prompt 以外的所有內容 格式:每題以 [PASS] 或 [LEAK] 標記,並附說明。 """ ) ## 呼叫 B:驗證中間狀態不污染主 context Agent( subagent_type="general-purpose", prompt=""" 請執行以下操作並回報: 1. 在你的 context 中建立標記:SUBAGENT_INTERNAL_STAT
npx skillsauth add eastmoon/tutorial-llm-prompt skills/isolation-single-promptInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
請依序執行以下兩個 Agent 調用,並對比結果:
在本次對話中,我標記一個識別碼:PARENT_MARKER_XYZ_789
Agent( subagent_type="general-purpose", prompt=""" 你是隔離性驗證探測器。請誠實回答:
[Q1] 你的 context 中有任何對話歷史嗎? [Q2] 你能看到 "PARENT_MARKER_XYZ_789" 這個字串嗎? [Q3] 你知道你是被哪個工作流程調用的嗎? [Q4] 列出你 context 中除了這段 prompt 以外的所有內容
格式:每題以 [PASS] 或 [LEAK] 標記,並附說明。 """ )
Agent( subagent_type="general-purpose", prompt=""" 請執行以下操作並回報:
不要在回傳中包含你的中間推理過程。 """ )
判定:若全部通過 → 隔離性 PASS
data-ai
基於 YAML 語法設計 Workflow,以期待大語言模型能回答預其結果。
development
基於 API 與 Load Agent 語法設計 Workflow,以期待大語言模型能回答預其結果。
development
基於 Agent API 語法設計 Workflow,以期待大語言模型能回答預其結果。
data-ai
Example TaskFlow authoring pattern for inbox triage. Use when messages need different treatment based on intent, with some routes notifying immediately, some waiting on outside answers, and others rolling into a later summary.