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

推荐订阅源

cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Blog — PlanetScale
Blog — PlanetScale
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
The Last Watchdog
The Last Watchdog
AI
AI
Recent Announcements
Recent Announcements
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Stack Overflow Blog
Stack Overflow Blog
V
Visual Studio Blog
J
Java Code Geeks
TaoSecurity Blog
TaoSecurity Blog
L
LangChain Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
Project Zero
Project Zero
Microsoft Security Blog
Microsoft Security Blog
量子位
T
Threatpost
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
博客园 - Franky
博客园 - 聂微东
L
LINUX DO - 最新话题
Security Archives - TechRepublic
Security Archives - TechRepublic
Hugging Face - Blog
Hugging Face - Blog
T
The Blog of Author Tim Ferriss
P
Proofpoint News Feed
The GitHub Blog
The GitHub Blog
C
Check Point Blog
宝玉的分享
宝玉的分享
G
Google Developers Blog
Spread Privacy
Spread Privacy
Cloudbric
Cloudbric
SecWiki News
SecWiki News
有赞技术团队
有赞技术团队
www.infosecurity-magazine.com
www.infosecurity-magazine.com
W
WeLiveSecurity
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
美团技术团队
V
Vulnerabilities – Threatpost
Cyberwarzone
Cyberwarzone
A
Arctic Wolf
P
Privacy & Cybersecurity Law Blog
P
Palo Alto Networks Blog
H
Help Net Security
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Cisco Talos Blog
Cisco Talos Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
A
About on SuperTechFans
N
Netflix TechBlog - Medium
罗磊的独立博客
月光博客
月光博客

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
Build Autonomous AI Workflows With Claude Desktop
ForgeWorkflo · 2026-05-18 · via DEV Community

The Problem Is Not Your Prompts

In 2026, according to McKinsey's State of AI 2024 report, 72% of organizations now use AI in at least one business function, up from 50% in prior years. Most of them are doing it wrong. They open a chat window, type a prompt, read the response, copy it somewhere, and repeat the next morning. That is not infrastructure. That is a slightly faster version of doing the work yourself.

The actual problem is not prompt quality. It is that most people treat a reasoning model as a vending machine: insert query, receive answer, walk away. Claude's desktop application, as of mid-2026, supports scheduled task execution and direct tool connections that change this entirely. The question is how to wire it up so the machine runs without you standing next to it.

This article is the nine-step framework we use. No aspirational framing. Just the architecture, the constraint patterns that actually hold, and the places where this approach breaks down.


How the Architecture Works

Think of Claude's desktop app as a local orchestration layer. It can hold a persistent context, fire on a schedule, call external tools via MCP (Model Context Protocol) connections, and write its results to a destination you define. That is the full loop. The gap between "chatbot" and "infrastructure" is closing that loop so no human has to sit in the middle of it.

The nine steps break into three phases. The first phase is definition: you decide what recurring decision or document the pipeline will handle, write a system prompt that encodes the rules, and define the exact format the LLM must return. The second phase is connection: you attach the tools the reasoning engine needs (a calendar API, a CRM read endpoint, a Slack webhook, a local file path) and verify each connection fires correctly in isolation before chaining them. The third phase is scheduling and validation: you set the recurrence, add a constraint block to the prompt, and build a lightweight check that confirms the response matches the expected shape before it touches anything downstream.

The constraint block is where most builds fail. I spent a week trying to get a classifier to return exactly three sentences. The prompt said "EXACTLY 3 sentences. Not 2, not 4. Three." It still returned four. The fix was not better instructions. It was reframing the requirement as a hard technical constraint: "CRITICAL: This is a hard technical constraint enforced by automated validation. If you write 4 sentences, the output will be rejected. Count your sentences before responding." An LLM does not treat polite instructions the same way it treats system-level constraints. Every prompt we now ship uses emphatic constraint blocks for any hard formatting requirement. This pattern is documented in our Blueprint Quality Standard.

The tool connection layer deserves its own attention. Claude's MCP protocol lets you expose local functions, REST endpoints, or file operations as callable tools. When the reasoning engine needs data, it calls the tool rather than asking you to paste it in. This is the difference between a pipeline that runs at 7 AM and one that waits for you to wake up. We have seen this pattern used effectively with n8n as the middleware layer: n8n handles the webhook ingestion and data transformation, then passes a clean payload to Claude for the reasoning step, then routes the result to its destination. The two tools complement each other rather than compete.


The Nine Steps, Without the Padding

Step 1: Define one recurring decision. Not "automate my work." Pick the specific thing you rewrite every Monday. A status summary, a lead triage note, a content brief. One thing.

Step 2: Write the system prompt as a specification. Include the role, the input format, the exact output format, and the constraint block for any hard requirements. Treat it like a function signature, not a conversation opener.

Step 3: Identify every data dependency. List every piece of information the reasoning step needs. If any of it lives behind an API or in a file, that dependency becomes a tool connection in step 5.

Step 4: Define the output destination. Where does the result go? A Notion page, a Slack channel, a CSV, a CRM field. Define this before you build anything. The destination determines the format constraint.

Step 5: Connect tools one at a time. Add each MCP tool connection individually and test it in isolation. A broken tool connection that fails silently will corrupt every run downstream. Verify the tool returns what you expect before wiring the next one.

Step 6: Run the full chain manually three times. Before scheduling anything, trigger the complete pipeline by hand. Check that the reasoning layer uses the tool data correctly, that the constraint block holds, and that the result lands in the right destination in the right shape.

Step 7: Add a validation step. Write a simple check, either inside n8n or as a second Claude call, that confirms the response matches the expected format. If it does not match, the pipeline should alert you rather than silently write a malformed result to your CRM.

Step 8: Set the schedule. Claude's desktop scheduler accepts cron-style expressions. Set the recurrence to match the actual cadence of the decision, not the most frequent possible interval. Daily pipelines that run hourly create noise and cost.

Step 9: Monitor the first five runs manually. Watch the logs. Check the destinations. The first week of a scheduled pipeline reveals edge cases that manual testing missed. Fix them before you stop watching.


Implementation Considerations

This approach works well for decisions that are structurally repetitive: the inputs change, but the logic does not. Weekly reporting, lead scoring against a fixed rubric, content brief generation from a template, invoice categorization. Where it breaks down is anywhere the decision requires judgment that changes based on context you have not encoded. If your Monday status update sometimes needs to flag a political situation inside a client account, the pipeline will not know that unless you build a way to inject that context. Autonomous does not mean omniscient.

There is also a cost consideration that most tutorials skip. A pipeline that calls a reasoning model on a schedule, with tool calls, runs up API usage whether or not the run produces anything useful. Before scheduling, calculate the expected token cost per run and multiply by the recurrence. A pipeline that runs 30 times a month at a non-trivial token count adds up. We have seen teams build schedules that are far more frequent than the underlying data actually changes, which means the LLM is reasoning over identical inputs repeatedly. Match the schedule to the data refresh rate, not to how often you wish you had the answer.

For teams already using n8n for orchestration, the cleanest pattern is to keep Claude as the reasoning node inside a larger n8n chain rather than using Claude's desktop scheduler as the primary trigger. n8n gives you better error handling, retry logic, and branching than the desktop app's native scheduler. The Claude desktop scheduled tasks guide covers the native approach in detail; the n8n integration pattern is worth considering if you are already running other automations through that layer. You can browse the full catalog of pre-built automation pipelines at ForgeWorkflows blueprints to see how we structure these reasoning nodes inside larger chains.

One more constraint worth naming: the desktop app requires the machine to be running. If your laptop sleeps at 3 AM, the 3 AM schedule does not fire. For anything that needs guaranteed execution, the pipeline belongs on a server or inside a cloud orchestration layer, not on a local desktop. This is not a criticism of the tool. It is a deployment decision that the tutorials consistently omit.


What We'd Do Differently

Start with the validation step, not the schedule. Every build we have done where we set the schedule first and added validation later resulted in at least one bad run writing garbage to a live destination. Build the check before you automate the trigger. The order matters more than the individual components.

Version your system prompts like code. When a scheduled pipeline starts returning unexpected results three weeks after launch, the first question is always "did the prompt change?" If you are editing the system prompt in place without version history, you cannot answer that question. Store prompts in a git repository or at minimum a dated document. We learned this the hard way on a pipeline that silently drifted over six iterations of "small tweaks."

Build the human override before you need it. Every autonomous pipeline should have a documented way to pause it, override a single run, or inject context manually. Teams that skip this end up either fully trusting a pipeline they should not, or manually disabling it every time an edge case appears. The override mechanism is not a fallback. It is part of the design.