惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

T
Threat Research - Cisco Blogs
博客园 - 聂微东
小众软件
小众软件
P
Proofpoint News Feed
Security Archives - TechRepublic
Security Archives - TechRepublic
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
TaoSecurity Blog
TaoSecurity Blog
博客园 - 司徒正美
罗磊的独立博客
N
News and Events Feed by Topic
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
S
Security Affairs
S
Security @ Cisco Blogs
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The GitHub Blog
The GitHub Blog
月光博客
月光博客
S
Secure Thoughts
P
Proofpoint News Feed
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Forbes - Security
Forbes - Security
H
Heimdal Security Blog
W
WeLiveSecurity
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
L
LangChain Blog
T
The Blog of Author Tim Ferriss
NISL@THU
NISL@THU
Google DeepMind News
Google DeepMind News
Cloudbric
Cloudbric
H
Hacker News: Front Page
The Last Watchdog
The Last Watchdog
Hacker News - Newest:
Hacker News - Newest: "LLM"
C
Cisco Blogs
博客园 - 三生石上(FineUI控件)
博客园_首页
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
S
Schneier on Security
Project Zero
Project Zero
SecWiki News
SecWiki News
爱范儿
爱范儿
The Register - Security
The Register - Security
AI
AI
H
Hackread – Cybersecurity News, Data Breaches, AI and More
Y
Y Combinator Blog
L
Lohrmann on Cybersecurity
Application and Cybersecurity Blog
Application and Cybersecurity Blog
P
Privacy International News Feed
J
Java Code Geeks
S
Securelist
C
Cyber Attacks, Cyber Crime and Cyber Security
V
Visual Studio Blog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Turn a local skill library into agent-ready documentation
Ben Greenberg · 2026-06-24 · via DEV Community

Most agent setups start with a pile of useful local skills.

That pile usually makes sense to the person who built it. There is a skill for GitHub, one for writing, one for reminders, one for privacy filtering, one for making diagrams, one for checking session logs, one for working with canvases, one for creating new skills, and so on.

The problem shows up later, when a future agent has to decide what to do.

A local skill library answers the question, “What can this environment do?”

An AGENTS.md file should answer a different question:

When should an agent use each capability, what should it read first, what tools are safe to call, and what boundaries should it respect?

That difference matters. A directory full of skills is an inventory. Agent-ready documentation is an operating map.

This tutorial uses an OpenClaw-style skill library as the worked example, but the same pattern applies to any local agent setup.

Start with capabilities, not files

A common mistake is to document skills in filesystem order.

That gives you something like this:

- github
- writing-style-skill
- privacy-filter
- remind-me
- canvas
- skill-creator
- session-logs

That list is technically true, but it does not help an agent make decisions.

A better first pass groups skills by the work they enable:

## Capability map

### Development workflows

Use these when the user asks about code, repositories, issues, pull requests, debugging, or project maintenance.

- github: interact with GitHub through the `gh` CLI
- gh-issues: fetch issues, select candidates, delegate fixes, and open PRs
- node-inspect-debugger: debug Node.js processes
- python-debugpy: debug Python code

### Writing and publishing

Use these when the user asks for drafts, essays, social posts, newsletters, or style-sensitive writing.

- writing-style-skill: draft in the user's preferred voice
- blog-drafter: create blog drafts
- x-posts: optimize short-form posts and threads

### Safety and privacy

Use these when content may contain personal data, secrets, or sensitive context.

- privacy-filter: redact PII from text or files
- 1password: retrieve secrets through the approved CLI flow

### Personal automation

Use these when the user asks for reminders, home devices, calendar checks, or recurring background tasks.

- remind-me: create one-time reminders
- taskflow: coordinate longer detached jobs
- weather: check current weather and forecasts

This turns the library into a decision surface. The agent no longer has to infer that writing-style-skill is relevant to an essay draft, or that privacy-filter should be considered before sharing text externally. The map says so.

Add triggers

A capability map becomes much more useful when each section includes triggers.

Triggers are short descriptions of the user intent that should cause the agent to load a skill.

For example:

## Writing and publishing

Load `writing-style-skill` when the user asks to:

- draft an article, essay, email, talk abstract, or newsletter
- rewrite something in their voice
- adapt technical content for developers
- make a draft sound less generic

Load `x-posts` when the user asks to:

- write a post for X
- turn an idea into a thread
- improve a short social post for reach or clarity

Load `blog-drafter` only when the user explicitly wants a blog draft created.

The last line matters. Some skills only produce local context. Others take external action. blog-drafter crosses that boundary because it creates a draft in a publishing system. The agent needs to know that this should not happen casually.

Good triggers are concrete. Bad triggers are vague.

Bad:

Use this for content.

Better:

Use this when drafting or revising long-form writing, especially when tone and structure matter.

Best:

Load `writing-style-skill` before drafting blog posts, essays, conference abstracts, newsletter sections, or public-facing technical explanations.

The best version tells the agent what the user might actually say.

Document the first file to read

Many local skills have their own SKILL.md. An agent should not guess from the skill name alone. The root AGENTS.md should tell the agent which file is authoritative.

Example:

## Skill loading rule

When a task matches a skill, read that skill's `SKILL.md` before taking action.

Do not rely only on the skill name or description. The skill file may include safety rules, required tools, local paths, examples, or external-action limits.

For a local OpenClaw skill set, this is especially useful because different skills have different operational shapes.

A writing skill might mostly contain tone rules and examples.

A GitHub skill might specify preferred gh commands and review behavior.

A home automation skill might include device-specific constraints.

A privacy skill might define which data must be filtered before sharing.

The root file does not need to duplicate all of that. It needs to make skill loading mandatory and predictable.

Separate internal work from external action

Agent documentation should make one distinction very clear:

Reading, drafting, searching, and organizing are internal actions.

Sending, posting, publishing, deleting, buying, messaging, or changing real-world systems are external actions.

That boundary belongs near the top of AGENTS.md.

Example:

## External action boundary

The agent may freely:

- read local files
- inspect skill documentation
- draft text
- run non-destructive local checks
- prepare changes for review

The agent must ask before:

- sending email or messages
- publishing posts
- creating public drafts
- deleting data
- changing account settings
- controlling physical devices
- spending money

For OpenClaw-style environments, this boundary keeps powerful skills usable without making them reckless. A github skill that reads issues is different from one that opens a pull request. A blog skill that drafts locally is different from one that creates a draft in an external service. A govee or homeconnect skill can affect the physical environment.

Write those distinctions down.

Agents are much better when they do not have to reconstruct your risk model from vibes.

Capture tool boundaries inside each capability

A capability map should not only say what a skill does. It should say what the agent should avoid doing.

For example:

## Privacy and redaction

Use `privacy-filter` before sharing user-provided text outside the local workspace when it may contain:

- names
- addresses
- phone numbers
- email addresses
- account identifiers
- private messages
- internal business context

Do not paste raw private content into public channels or external tools unless the user explicitly approves it.

Or for GitHub:

## GitHub work

Use `github` for repository, issue, pull request, and CI work.

Safe without asking:

- inspect issues and PRs
- read CI logs
- check branch status
- prepare local patches

Ask before:

- opening a PR
- commenting publicly
- closing issues
- pushing branches to shared remotes

This is the part many local docs miss. They document how to use a tool, but not when to stop.

Include sequencing rules

Some skills should run before others.

In the OpenClaw set, writing-style-skill should load before drafting. privacy-filter should run before sharing sensitive text externally. skill-creator should load before changing skill files. github should load before acting on GitHub state.

That can be expressed as simple sequencing rules:

## Sequencing rules

Before drafting public writing, load `writing-style-skill`.

Before creating or modifying a reusable skill, load `skill-creator`.

Before using private text in an external channel, consider `privacy-filter`.

Before taking GitHub action, load `github` and inspect the current repository state.

Before using a tool that affects the outside world, confirm the user intended that action.

These rules save agents from doing work in the wrong order.

A good AGENTS.md does not need to cover every possible path. It should cover the paths where ordering matters.

Give agents examples of correct routing

Examples are often more useful than rules.

Here is a compact routing table:

## Routing examples

User asks: "Draft this as a technical blog post."
Use: `writing-style-skill`
Do: draft in the user's preferred voice
Do not: publish it anywhere

User asks: "Turn this into a blog draft."
Use: `writing-style-skill`, then `blog-drafter`
Do: prepare the content first
Ask before: creating the external draft, unless the user clearly requested that exact action

User asks: "Can you fix this GitHub issue?"
Use: `github`, possibly `gh-issues`
Do: inspect the issue, read the repo, make local changes, run tests
Ask before: opening a PR if the instruction was ambiguous

User asks: "Remember this workflow as a reusable skill."
Use: `skill-creator`
Do: create or update the skill through the approved skill workflow
Do not: hand-edit skill proposal state if the environment has a dedicated tool for that

User asks: "Share this private message in a public post."
Use: `privacy-filter`
Do: redact or summarize safely
Ask before: publishing or sending

The point is not to create a huge rules engine. The point is to give future agents enough examples to route the next request correctly.

Keep local notes out of shared skills

A reusable skill should explain general behavior. Local environment details belong somewhere else.

For OpenClaw-style workspaces, that might mean:

SKILL.md       -> reusable instructions
TOOLS.md       -> local device names, account aliases, hostnames, personal setup notes
AGENTS.md     -> workspace-level operating rules
MEMORY.md     -> durable user and project context

This separation keeps skills portable.

A weather skill can explain how weather lookup works. The local notes can say which city is usually relevant. A canvas skill can explain how to present HTML on connected nodes. Local notes can say which node names exist in this setup.

That distinction is small, but it keeps a skill library from turning into a private config dump.

Make safety boundaries visible, not buried

If a skill can send, post, delete, control, spend, or expose private data, say so in the capability map.

A practical format:

## High-risk skills

These skills can affect external systems or expose private data. Load their `SKILL.md` and confirm intent before using them for external action.

- blog-drafter: creates drafts in a publishing account
- imsg: can send iMessage/SMS
- work-slack: reads workplace Slack data
- gog/work-google: access personal or work Google data
- govee/homeconnect/sensibo/switchbot: control physical devices
- 1password: accesses secrets

This does not mean the skills are unsafe. It means they are powerful.

Agents do better with clear labels.

Write the root AGENTS.md as an operating manual

A useful AGENTS.md should be short enough to read and strong enough to steer behavior.

A good structure looks like this:

# AGENTS.md

## Role

You are working inside this workspace. Read local instructions before acting. Prefer existing skills and tools over inventing new workflows.

## Startup

Read:

- SOUL.md
- USER.md
- recent daily memory files
- MEMORY.md when in a direct private session

## Capability map

Group available skills by task:

- development workflows
- writing and publishing
- privacy and safety
- personal automation
- debugging and inspection
- media and presentation
- skill maintenance

## Skill loading

When a task matches a skill, read that skill's `SKILL.md` before acting.

## External action boundary

Internal work is allowed. External action requires clear user intent or confirmation.

## Safety rules

Protect private data. Prefer recoverable actions. Do not run destructive commands casually.

## Routing examples

Include examples of common user requests and the skills they should trigger.

## Local notes

Put machine-specific details in `TOOLS.md`, not in reusable skills.

That is enough to turn a pile of local skills into a working agent interface.

Treat AGENTS.md as a map, not a museum

The file should change as the skill library changes.

When you add a new skill, add it to the capability map. When a tool gains external side effects, move it into the high-risk section. When an agent makes a routing mistake, add a small example that would have prevented it.

The best AGENTS.md files are not long. They are current.

For developers building local agent systems, this is the real payoff: your skill library stops being something only you understand. It becomes a documented capability layer that future agents can read, reason over, and use correctly.

That is what agent-ready documentation is for.