- Home
- Skills
- Agents & Orchestration
- Agentflow
Works with the AI Agents you already use
Agentflow
by SHWET ANAND
Stop shipping half-baked code or building features based on assumptions.
$2.99
Agentflow
Example session with this skill installed
I need to add a secure JWT-based authentication system to this Express API. Use agentflow to start the spec process.
- Read your context and instructions
- Compiled the agentflow
Using agentflow, entering stage 1: spec. I have analyzed the current Express codebase. I will now gather requirements for the JWT implementation to ensure we build exactly what you need.
Stage 1: Specification - JWT Authentication
I have reviewed the src/routes/ and src/middleware/ directories. Before I propose an approach, I need to clarify one point:
Question: Should tokens be stored in HttpOnly cookies or returned in the JSON response body for the client to manage in local storage? (This affects whether we need CSRF protection middleware immediately).
Proposed Approaches
- Standard JWT in Response: Faster to implement, requires client-side storage handling.
- HttpOnly Cookie + CSRF Protection: More secure against XSS, slightly higher complexity in middleware configuration.
My Pick: Option 2, as it aligns with the "secure" requirement in your prompt.
Specification Draft
- Intent: Provide secure, stateless authentication for API endpoints.
- Goals: Implement
/auth/loginand/auth/refreshendpoints. Create avalidateTokenmiddleware. - Anti-Goals: We will not be implementing OAuth2 or Social Login in this pass.
- Constraints: Must use
jsonwebtokenlibrary. Token expiration set to 15 minutes.
Spec ready at docs/agentflow/specs/2023-10-27-jwt-auth.md. Approve to continue?
Next steps
- Review the proposed approach (Cookies vs. Local Storage).
- Approve the spec file to move to Stage 2: Plan.
- Provide the secret key management strategy (Environment variables vs. Secret Manager).
Connects securely to your tools. The creator never sees your data.
About this skill
Stop shipping half-baked code or building features based on assumptions. This skill package implements a rigorous, spec-to-ship pipeline for coding agents that treats development as a series of enforced contracts. It solves the problem of "hallucinated requirements" and scope drift by requiring explicit gates for specifications, architectural plans, and task-based execution.
What it does
- Enforces spec approval by gating all product code and scaffolding until a written specification is signed off and ledgered.
- Architects implementation plans that define file structures, naming conventions, and test-pinned signatures before a single line of logic is written.
- Generates task contracts that serve as isolated dispatch units with machine-checkable "done-when" and "stop-if" conditions.
- Drives TDD execution where agents must write failing tests before code and run full project suites before ledgering progress.
- Automates severity-gated reviews using fresh agent instances to audit diffs against the original plan and spec.
- Manages a durable ledger that survives context compaction to ensure the agent never repeats work or loses track of technical rulings.
How it works
- Initialize the project environment using
agentflow-startto verify the presence of the ledger and manifest. - Move through stages sequentially, starting with the
specstage to define human intent, followed byplanandtask-contracts. - Execute work in the
executestage, following the TDD cycle (Red-Green-Refactor) and logging rulings to the ledger for every deviation. - Finalize by running a full integration suite and choosing a merge, PR, or branch-keep strategy.
Why this beats prompting it yourself
Standard prompts often fail during long sessions when the context window fills up or the agent loses the "thread" of the original requirements. This skill uses a committed ledger file as a source of truth that survives session resets and prevents the agent from making creative leaps that contradict the architecture.
Use cases
- Building complex features where architectural consistency is critical.
- Delegating coding tasks to subagents with strictly defined boundaries.
- Maintaining a clear audit trail of technical decisions and rulings.
- Preventing regression through mandatory whole-suite verification before every task completion.
Known limitations
Requires a Git-controlled environment to manage worktrees and the ledger file. Not suitable for micro-tasks under 15 minutes that do not change behavior.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 4 days ago
- Accounts
Gmail
GitHub
- Software
- plus
Node.js
Git
Permissions
Allowed Hosts
What's inside
Frequently Asked Questions
New in Agents & Orchestration
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Agents & Orchestration.