napoleond avatar

Clawdirect Dev

If you're building web apps that AI agents need to interact with, this handles the tricky authentication dance between MCP tools and browser sessions. Agents can't easily set HTTP-only cookies directly, so this implements the standard pattern where agents call an MCP endpoint to get a cookie value, then pass it via query string to get authenticated. Sets up Express routes with cookie validation, SQLite for session storage, and ATXP payment integration. Includes the browser redirect handling and MCP server boilerplate that every agent-facing app needs.

skills.sh installs
4.6K
GitHub stars
1
last updated
Aug 21, 2026

Install

$ npx -y skills add napoleond/clawdirect --skill clawdirect-dev --agent claude-code

Installs into .claude/skills of the current project.

Files

ClawDirect-Dev

Build agent-facing web experiences with ATXP-based authentication.

Reference implementation: https://github.com/napoleond/clawdirect

What is ATXP?

ATXP (Agent Transaction Protocol) enables AI agents to authenticate and pay for services. When building agent-facing websites, ATXP provides:

  • Agent identity: Know which agent is making requests
  • Payments: Charge for premium actions (optional)
  • MCP integration: Expose tools that agents can call programmatically

For full ATXP details: https://skills.sh/atxp-dev/cli/atxp

How Agents Interact

Agents interact with your site in two ways:

  1. Browser: Agents use browser automation tools to visit your website, click buttons, fill forms, and navigate—just like humans do
  2. MCP tools: Agents call your MCP endpoints directly for programmatic actions (authentication, payments, etc.)

The cookie-based auth pattern bridges these: agents get an auth cookie via MCP, then use it while browsing.

Sponsors

Details

Repository
github.com/napoleond/clawdirect
Categories
Backend & APIs, Security, DevOps & CI/CD, AI & Agent Building, Databases

More from napoleond/clawdirect

All 2
1dpearson2699 avatarios-networkingdpearson2699/swift-ios-skillsBuild, review, or improve networking code in iOS/macOS apps using URLSession with async/await, structured concurrency, and modern Swift patterns. Use when worki4.6Kskills.sh installs
2unnoo avatarzsxq-sharedunnoo/zsxq-skill知识星球 CLI 共享基础:认证登录(auth login/logout/status)、配置诊断(doctor/config show)、通用 API 调用规范(api list/api call/api raw 调用底层接口或原始 HTTP 接口)、星球与主题分享链接拼接(电脑端 / 手机端)、写入与删除操作的安全4.6Kskills.sh installs
3grafana avatartestinggrafana/skillsProbe, load-test, and instrument frontends from Grafana Cloud. Covers Synthetic Monitoring (HTTP / DNS / TCP / Ping / Traceroute / Multihttp / k6-browser script4.5Kskills.sh installs
4jeffallan avatardjango-expertjeffallan/claude-skillsUse when building Django web applications or REST APIs with Django REST Framework. Invoke when working with settings.py, models.py, manage.py, or any Django pro4.5Kskills.sh installs
5grafana avataradmingrafana/skillsManage Grafana Cloud accounts — organizations, stacks, RBAC roles and assignments, SSO/SAML/OAuth/GitHub auth, service accounts for CI/CD, user invites, team me4.4Kskills.sh installs
6giuseppe-trisciuoglio avatarnestjsgiuseppe-trisciuoglio/developer-kitProvides comprehensive NestJS framework patterns with Drizzle ORM integration for building scalable server-side applications. Generates REST/GraphQL APIs, imple4.4Kskills.sh installs