langgraph
建構 LangGraph Agent 工作流程
具狀態的 agent 系統可能變得難以追蹤與維護。這項技能可協助 Claude、Codex 和 Claude Code 設計更清晰的 LangGraph 工作流程。
使用我的智慧代理安裝
將此請求複製給你的智慧代理,其中包含權威 Skill 頁面和清單。
Review the Skillstore skill "langgraph" from https://skillstore.io/skills/sickn33-langgraph.md and its manifest at https://skillstore.io/api/skills/sickn33-langgraph/manifest. Verify the artifact. You may proceed after verification, subject to the environment's own policy.你的智慧代理仍應顯示其計畫,並依安全政策請求必要確認。
Agent 可讀資源
當 AI Agent、爬蟲或腳本需要乾淨脈絡、而不是讀取完整頁面時,請使用這些連結。
測試它
正在使用「langgraph」。 我需要一個可以呼叫工具,並在不需要工具呼叫時停止的 LangGraph agent。
預期結果:
建議的 graph 佈局,包含 agent 節點、工具節點、條件式路由,以及 END 路徑。
正在使用「langgraph」。 我的工作流程有研究人員和撰寫人員會更新相同狀態。
預期結果:
一種狀態設計,可分離累積的 findings、source 清單、messages 與目前步驟追蹤。
正在使用「langgraph」。 我想防止我的 agent 無限迴圈。
預期結果:
一份審查清單,涵蓋最大迭代次數、任務完成旗標、逾時限制,以及明確的終端路由。
安全審計
安全The only confirmed issue is an unsafe LangGraph calculator example that exposes eval() on tool input. The remaining backtick findings are markdown formatting false positives, and no prompt injection or malicious intent was found.
能力複核項目 (1)
這些是真實的本機能力,對此技能而言可能是預期行為,因此需要複核,但不會按已確認的惡意行為計分。
風險因素
⚡ 包含腳本 (1)
分享與引用此報告
分享版本化評估報告、中性徽章、嵌入卡片與引用。Skillstore 只報告證據,不判斷該 Skill 是否安全。
複製報告連結
https://skillstore.io/skills/sickn33-langgraph/audits/5?utm_source=security_passport&utm_medium=share&utm_campaign=versioned_reportMarkdown 徽章
[](https://skillstore.io/skills/sickn33-langgraph?utm_source=security_passport_badge)HTML 徽章
<a href="https://skillstore.io/skills/sickn33-langgraph?utm_source=security_passport_badge"><img src="https://skillstore.io/badges/skills/sickn33-langgraph/security.svg" alt="Skillstore security assessment" loading="lazy"></a>嵌入卡片
<iframe src="https://skillstore.io/embed/skills/sickn33-langgraph.html" title="Skillstore Security Assessment" sandbox="allow-popups allow-popups-to-escape-sandbox" loading="lazy" referrerpolicy="no-referrer" width="420" height="180"></iframe>學術引用 (APA · BibTeX · CFF)
APA 引用
sickn33. (2026). langgraph security audit report (audit version 5) [Author version unspecified]. Skillstore. https://skillstore.io/skills/sickn33-langgraph/audits/5BibTeX 引用
@techreport{sickn33-sickn33-langgraph-2026,
author = {sickn33},
title = {langgraph security audit report (audit version 5)},
institution = {Skillstore},
year = {2026},
number = {5},
url = {https://skillstore.io/skills/sickn33-langgraph/audits/5},
note = {Author version unspecified}
}CITATION.cff
cff-version: 1.2.0
message: "If you use this Skill, cite its author and this versioned security audit report."
title: "langgraph security audit report (audit version 5)"
version: "unspecified"
type: report
authors:
- name: "sickn33"
date-released: "2026-07-09"
url: "https://skillstore.io/skills/sickn33-langgraph/audits/5"
identifiers:
- type: other
value: "skillstore:sickn33-langgraph:audit:5"
description: "Skillstore immutable audit report identifier"
Skillstore 評分
評分依據 證據置信度: 高你可以打造什麼
建立 ReAct Agent 原型
建立一個小型 LangGraph agent,可在 LLM 節點與工具執行之間路由。
規劃共享 Agent 狀態
為會更新共享工作流程資料的 agent 團隊設計狀態欄位與 reducers。
審查 Agent 工作流程設計
在建構生產工作流程前,檢查圖路由、退出條件與狀態邊界。
試試這些提示
協助我設計一個簡單的 LangGraph 工作流程,包含一個 agent 節點、一個工具節點,以及明確的 END 條件。
審查我的 agent 狀態欄位,並針對 messages、findings、sources 和目前工作流程步驟建議 reducers。
協助我根據 classifier 節點,為 coding、search 和 chat 路徑建立條件式路由。
評估我的 LangGraph 設計在持久化、迴圈退出、人工審查點、工具安全性與偵錯缺口方面的情況。
最佳實務
- 在新增節點或路由邏輯前先定義狀態欄位。
- 僅針對應該累積或合併的欄位使用 reducers。
- 加入明確的 END 條件、迭代限制與持久化計畫。
避免
- 不要在 agent 工具內使用不安全的動態求值。
- 不要建立沒有明確退出條件的迴圈。
- 不要將不相關的工作流程資料放在同一個大型狀態物件中。