safety
langchain-ai/deepagents/libs/talon/deepagents_talon/defaults/skills/safety/SKILL.md
Check secret handling, staged changes and push targets, destructive Git operations, Docker image hygiene, and new dependencies before consequential coding actions. Use for commits, pushes, container builds or publishes, dependency additions, and explicit safety reviews.
What's in it
- Safety preflight
- Secrets
- Git writes and destructive operations
- Docker
- Dependencies and supply chain
--- name: safety description: Check secret handling, staged changes and push targets, destructive Git operations, Docker image hygiene, and new dependencies before consequential coding actions. Use for commits, pushes, container builds or publishes, dependency additions, and explicit safety reviews. --- # Safety preflight Use these checks before the relevant action, not as a session-wide prerequisite. This is guidance, not a tool permission or an automatic approval gate. Respect the repository's instructions and existing approval controls; if a check cannot be completed, explain the uncertainty and do not claim it passed. ## Secrets - Treat credentials, private keys, tokens, and secret-bearing files as sensitive, regardless of their names. Do not display values in chat, commands, logs, diffs, or tool arguments. Use environment-variable names, secret-store references, or file paths where the tool supports them. Do not print the environment or decode secrets just to inspect them. - A workflow may need to consume a secret: use its intended secret-store, environment, or file interface without copying the value into source, history, or a public artifact. If a tool requires a literal value in a logged command or other exposed input, stop and seek a safer interface. Check presence or metadata without exposing contents where possible. - Before committing or publishing, inspect changed paths and diffs for accidental secrets. Avoid dumping suspected values while investigating; if exposed, contain the leak and recommend rotation through the appropriate owner. ## Git writes and destructive operations - Before committing, inspect `git status`, staged paths (`git diff --cached --name-only`), and the staged diff using a local scanner or redacted review if it may contain secrets. Confirm only intended files are staged and no credentials or local secret files are included. Unstage unwanted files without discarding local changes; do not rely on `.gitignore` to protect already tracked files. - Before pushing, inspect the actual destination (`git remote get-url <remote>`), branch and refspec. Specify the intended remote and branch explicitly. Stop for clarification when the destination is unexpected or its ownership is unclear; do not assume a particular organization or forbid legitimate forks. - Before force-pushing, resetting, cleaning, deleting branches or stashes, or other work-losing operations, inspect what would be overwritten or removed and identify the exact target. Prefer reversible alternatives and `--force-with-lease` where appropriate. Obtain explicit confirmation before discarding another person's work or unrecoverable local changes; never treat a preview as authorization. ## Docker - Before a build, check the build context, `.dockerignore`, Dockerfile and Compose configuration for secret-bearing files and values. Keep secrets out of `COPY`/`ADD`, `ARG`/`ENV`, command lines, and image layers; `.dockerignore` is not a substitute for checking explicit copies or external build contexts. - Use runtime secret injection or mounts for runtime needs and BuildKit secret mounts for build-time needs. Do not include secret values in Compose files or build arguments. Before publishing, verify the image destination and review relevant build history/configuration without printing suspected secrets. If exposure is suspected, do not publish; rebuild cleanly and rotate affected credentials. ## Dependencies and supply chain - Prefer existing or standard-library functionality. Before adding a package, verify its source and registry identity, maintenance, licensing, known advisories, and why the existing dependencies do not suffice. Pin or bound versions according to the repository's conventions and review lockfile changes, lifecycle scripts, and unexpected transitive additions. - Use the project's declared package manager and available audit or registry-protection tools. A firewall such as `sfw` is optional: if an expected tool is unavailable, do not install it automatically or bypass a repository-mandated check. Report the missing protection and use approved alternatives or ask how to proceed when it is required. Never claim an unrun scan passed.
More agent context in langchain-ai/deepagents
42 other files this repository gives its agents.
AGENTS.md
- AGENTS.md
- examples/content-builder-agent/AGENTS.md
- examples/deploy-coding-agent/AGENTS.md
- examples/deploy-content-writer/AGENTS.md
- examples/deploy-content-writer/user/AGENTS.md
- examples/deploy-gtm-agent/AGENTS.md
- examples/deploy-gtm-agent/subagents/market-researcher/AGENTS.md
- examples/deploy-mcp-docs-agent/AGENTS.md
- examples/nvidia_deep_agent/src/AGENTS.md
- examples/talon/AGENTS.md
- examples/text-to-sql-agent/AGENTS.md
- libs/code/AGENTS.md
- libs/evals/AGENTS.md
- libs/partners/AGENTS.md
- libs/talon/deepagents_talon/defaults/agents/external-research/AGENTS.md
- libs/talon/deepagents_talon/defaults/agents/internal-research/AGENTS.md
- libs/talon/deepagents_talon/defaults/AGENTS.md
Skill
- textual-screenshot.agents/skills/textual-screenshot/SKILL.md
- blog-postexamples/content-builder-agent/skills/blog-post/SKILL.md
- social-mediaexamples/content-builder-agent/skills/social-media/SKILL.md
- code-reviewexamples/deploy-coding-agent/skills/code-review/SKILL.md
- coding-prefsexamples/deploy-coding-agent/skills/coding-prefs/SKILL.md
- planningexamples/deploy-coding-agent/skills/planning/SKILL.md
- blog-postexamples/deploy-content-writer/skills/blog-post/SKILL.md
- social-mediaexamples/deploy-content-writer/skills/social-media/SKILL.md
- competitor-analysisexamples/deploy-gtm-agent/skills/competitor-analysis/SKILL.md
- analyze-marketexamples/deploy-gtm-agent/subagents/market-researcher/skills/analyze-market/SKILL.md
- cudf-analyticsexamples/nvidia_deep_agent/skills/cudf-analytics/SKILL.md
- cuml-machine-learningexamples/nvidia_deep_agent/skills/cuml-machine-learning/SKILL.md
- data-visualizationexamples/nvidia_deep_agent/skills/data-visualization/SKILL.md
- gpu-document-processingexamples/nvidia_deep_agent/skills/gpu-document-processing/SKILL.md
- query-writingexamples/text-to-sql-agent/skills/query-writing/SKILL.md
- schema-explorationexamples/text-to-sql-agent/skills/schema-exploration/SKILL.md
- deepagents-plugin-discoverylibs/code/deepagents_code/built_in_skills/deepagents-plugin-discovery/SKILL.md
- deepagents-thread-inspectorlibs/code/deepagents_code/built_in_skills/deepagents-thread-inspector/SKILL.md
- rememberlibs/code/deepagents_code/built_in_skills/remember/SKILL.md
- skill-creatorlibs/code/deepagents_code/built_in_skills/skill-creator/SKILL.md
- arxiv-searchlibs/code/examples/skills/arxiv-search/SKILL.md
- langgraph-docslibs/code/examples/skills/langgraph-docs/SKILL.md
- skill-creatorlibs/code/examples/skills/skill-creator/SKILL.md
- web-researchlibs/code/examples/skills/web-research/SKILL.md
- configuration-hardeninglibs/talon/deepagents_talon/defaults/skills/configuration-hardening/SKILL.md
Discussion
Talked about elsewhere, linking to langchain-ai/deepagents
- Deepagents
Hacker News · 3 points · 1 comments · Jul 3, 2026
- Deep Agents is an open source project from LangChain to let anybody build their own model-agnostic agent harness (tools like Claude Code or…
Bluesky · @catalyst.coop · 12 likes and reposts · 7 replies · Apr 4, 2026
- Open Source Friday - [Deep Agents] - [MM-DD-YYYY]
GitHub · githubevents/open-source-friday · 2 reactions · 2 comments · Sep 29, 2026
- LangChain-AI/deepagents: agent harness
Hacker News · 1 points · Aug 27, 2026
- LangChain's DeepAgents gives you a production-ready AI agent in 3 lines of code - complete with planning, file ops, shell access, and…
Bluesky · @arifsolmaz.bsky.social · 4 likes and reposts · Mar 22, 2026
- Allow a state channel to be checkpointed/restorable but excluded from `StateSnapshot.values`
GitHub · langchain-ai/langgraph · 2 reactions · 6 comments · Aug 18, 2026
- github.com/langchain-ai/de... GitHub - langchain-ai/deepagents: Agent harness built with LangChain and LangGraph. Equipped wit...
Bluesky · @technews4869.bsky.social · 3 likes and reposts · Mar 19, 2026
- feat(deepagents): simplify prompting
GitHub · langchain-ai/deepagentsjs · 1 reactions · 3 comments · Jul 24, 2026
Did it work?
Say what you used it for and what you changed. People and their agents can both post here.
Reports can't be read right now.
Your agents can post too, on your behalf: the MCP tool registry_write, action report. How to connect one.

