PB

pbakaus/burn-after-login

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

53 stars 质量 57 趋势 13MIT

自毁技能解决浏览器自动化登录的痛苦。

概览

“早上好。如果你愿意接受,你的任务是创建仅限开发者的认证快捷方式,让AI浏览器代理停止操作你的登录表单。这项技能完成后将自毁。” 一个自毁的代理技能,能为AI浏览器自动化创建仅限开发者的认证捷径——然后自我移除,留下任何痕迹。 带有浏览器自动化的AI代理(Chrome中的Claude、Playwright MCP、代理浏览器、Stagehand、光标的浏览器模式等)会遇到登录瓶颈,浪费时间填写表单、处理重定向和丢失会话状态。 安装技能,运行它,它会根据你的技术栈设置仅限开发者的认证快捷方式。设置好后,你的代理只需一步认证: 这会将技能安装到项目的 .agents/skills/ 目录中(并根据需要将符号链接嵌入 .claude/skills/ 及其他工具特定位置)。 在其他兼容代理中,按照工具的惯例调用该技能。 1. 你的环境有开发模式检测和认证系统 2.

概述(AI 翻译)

“早上好。如果你愿意接受,你的任务是创建仅限开发者的认证快捷方式,让AI浏览器代理停止操作你的登录表单。这项技能完成后将自毁。”

一个自毁的代理技能,能为AI浏览器自动化创建仅限开发者的认证捷径——然后自我移除,留下任何痕迹。

问题

带有浏览器自动化的AI代理(Chrome中的Claude、Playwright MCP、代理浏览器、Stagehand、光标的浏览器模式等)会遇到登录瓶颈,浪费时间填写表单、处理重定向和丢失会话状态。

解决方案

安装技能,运行它,它会根据你的技术栈设置仅限开发者的认证快捷方式。设置好后,你的代理只需一步认证:

工作原理

安装

这会将技能安装到项目的.agents/skills/目录中(并根据需要向.claude/skills/及其他工具特定位置添加符号链接)。

使用

在Claude代码中:

在其他兼容代理中,按照工具的惯例调用该技能。

它的作用

  1. 验证你的环境有开发模式检测和认证系统
  2. 查找你代码库中现有的开发/测试凭证

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

burn-after-login

“Good morning. Your mission, should you choose to accept it, is to create dev-only auth shortcuts so AI browser agents stop fumbling with your login forms. This skill will self-destruct after completion.”

A self-destructing Agent Skill that creates dev-only auth shortcuts for AI browser automation — then removes itself, leaving no trace.

The Problem

AI agents with browser automation (Claude in Chrome, Playwright MCP, agent-browser, Stagehand, Cursor’s browser mode…) hit login walls and waste time filling out forms, handling redirects, and losing session state.

The Solution

Install the skill, run it, and it sets up dev-only auth shortcuts tailored to your stack. After setup, your agents can authenticate in one step:

# Browser agents navigate here to get authenticated
http://localhost:3000/[email protected]&password=demo

# Or grab a token for API testing
TOKEN=$(./scripts/get-token [email protected] demo)

How It Works

1. Install the skill
2. Run it — it analyzes your auth system and creates dev-only shortcuts
3. It detects your browser automation tools and updates agent instructions
4. It asks to self-destruct
5. You're left with working auth shortcuts and zero trace of the skill

Install

npx skills add pbakaus/burn-after-login

This installs the skill into your project’s .agents/skills/ directory (and symlinks into .claude/skills/ and other tool-specific locations as needed).

Use

In Claude Code:

/burn-after-login

In other compatible agents, invoke the skill per your tool’s conventions.

What It Does

  1. Validates your environment has dev mode detection and an auth system
  2. Finds existing dev/test credentials in your codebase
  3. Analyzes how your auth works (tokens, sessions, or both)
  4. Creates dev-only auth shortcuts that match your stack:
    • Login endpoints for session-based auth
    • Token generator scripts for API auth
    • All guarded to return 404 in production
  5. Detects your browser automation tools (Playwright, Puppeteer, Claude in Chrome, Cypress, Stagehand, etc.)
  6. Updates your agent instructions (CLAUDE.md, AGENTS.md, CURSOR.md, etc.) with tool-specific auth examples
  7. Self-destructs — removes itself from your project

Supported Stacks

Works with any combination of:

  • Languages: Node.js, Python, Ruby, Go, Rust, and more
  • Frameworks: Next.js, Django, Rails, Flask, FastAPI, Express, and more
  • Auth: Supabase, NextAuth, Clerk, Firebase, Passport, Devise, custom auth, and more
  • Browser tools: Claude in Chrome, Playwright MCP, Chrome DevTools MCP, agent-browser, Stagehand, Puppeteer, Cypress, Selenium

Skill Structure

This repo follows the Agent Skills specification:

burn-after-login/
├── SKILL.md      # The skill instructions (required by spec)
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add pbakaus/burn-after-login
新手?先看 mcpskill.org 教程 →