Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计异常

burn-after-login登录后即刻

Agent Skill

burn-after-login 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

294

周安装

12

GitHub Stars

18

下载量

94
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:burn-after-login(登录后即刻)
来源仓库:https://github.com/pbakaus/burn-after-login
仓库路径:skills/burn-after-login
安装命令:
npx skills add https://github.com/pbakaus/burn-after-login --skill burn-after-login
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/pbakaus/burn-after-login --skill burn-after-login

简介

burn-after-login 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词快速定位候选结果时使用。

  • 它专为 AI 浏览器代理设计,创建一次性开发环境认证快捷方式。
  • 使用时需分阶段验证环境变量和构建配置,确保仅在开发模式启用。
  • 安装前应确认是否会修改认证流程或写入敏感路径,避免生产风险。
  • 该技能完成后自毁,仅适用于临时调试场景。

SKILL.md

Burn After Login

Your mission, should you choose to accept it, is to create dev-only auth shortcuts so AI browser agents can authenticate instantly. This skill will self-destruct after completion.

Follow these phases in order. If a phase has an EXIT CONDITION that triggers, stop immediately and report the issue — do NOT continue to later phases.


Phase 1: Environment Validation

Verify this codebase has:

  1. A way to detect development/local mode. Look for:

- Environment variables: NODE_ENV, RAILS_ENV, FLASK_ENV, APP_ENV, DEBUG, ENVIRONMENT, etc. - Config files that distinguish dev from prod - Build flags or conditional compilation

  1. An existing authentication system. Look for:

- Auth-related directories: auth/, authentication/, identity/ - Auth libraries in dependencies (check package.json, requirements.txt, Gemfile, go.mod, Cargo.toml, etc.) - Middleware or decorators that check auth - Login routes or handlers

EXIT CONDITIONS:

  • If no dev mode detection exists: Stop and say *"Could not find a way to detect development mode. Add environment-based detection first to ensure auth shortcuts are never exposed in production."*
  • If no auth system exists: Stop and say *"No authentication system found. Set up authentication first."*

Phase 2: Find Development Credentials

Search for existing dev/test credentials in:

  • Seed/fixture files: seed.*, fixtures/, test-data/, mock/
  • Scripts directory for user management tools
  • Database migrations or seeders
  • Documentation mentioning test accounts (README, CLAUDE.md, etc.)
  • Environment files (.env.development, .env.local, .env.example)

Search patterns: username, password, testuser, demo, admin@, test@, seed, fixture

EXIT CONDITION:

  • If no credentials found: Stop and say *"No development credentials found. Create test users first (via seed script, admin panel, or auth provider dashboard), then run this again."*

Document what you find — list the credentials with their roles.


Phase 3: Analyze Authentication

Discover:

  1. How auth works in this codebase:

- Token-based (JWT, API keys, Bearer tokens) - Session/cookie-based - Both (common in apps with API + web frontend)

  1. What auth library/framework is used:

- Identify from dependencies and imports - Understand how to programmatically authenticate a user - Understand how sessions/tokens are created and validated

  1. What apps/services exist:

- Web frontends (any framework) - Admin interfaces - API servers - List each with its path and auth pattern


Phase 4: User Selection

Ask the user which apps/services should have dev auth shortcuts.

If a tool to ask the user is unavailable, create shortcuts for all discovered apps.


Phase 5: Create Shortcuts

Create authentication shortcuts appropriate for the codebase's language, framework, and auth system.

For token-based auth — Token Generator

Create a script that:

  • Accepts credentials (with sensible dev defaults)
  • Calls the existing auth system to get a token
  • Outputs only the token to stdout (for easy scripting)
  • Example usage: TOKEN=$(./scripts/get-token) && curl -H "Authorization: Bearer $TOKEN" http://localhost:8000/api/...

For cookie/session auth — Dev Login Endpoint

Create an endpoint that:

  • Accepts credentials via query params or JSON body
  • Calls the existing auth system
  • Sets session cookies
  • Returns 404 in production (not an error — completely hidden)
  • Example usage: open "http://localhost:3000/dev-login?user=demo&pass=demo"

Guidelines

  1. Follow existing patterns — Match the codebase's style, conventions, and directory structure
  2. Use the existing auth system — Don't reinvent; call the same auth functions the app uses
  3. Guard with dev-only checks — The shortcut MUST refuse to work in production
  4. Keep it simple — Minimal code that does one thing

Security Requirements

  • Check for development mode BEFORE doing anything
  • Return 404 or equivalent in production (not an error message that reveals the endpoint exists)
  • Never log credentials
  • Consider also checking for localhost/127.0.0.1 if appropriate

Reference Implementations

Use these for inspiration only. Adapt to the actual stack and auth system in use.

// scripts/get-token.ts
async function main() {
  const [user, pass] = process.argv.slice(2);
  const { token } = await yourAuthLib.signIn(
    user || 'demo@test.com',
    pass || 'demo'
  );
  console.log(token);
}
main();
export async function GET(req: Request) {
  if (process.env.NODE_ENV !== 'development') {
    return new Response('Not found', { status: 404 });
  }
  const url = new URL(req.url);
  await yourAuth.signIn(
    url.searchParams.get('email'),
    url.searchParams.get('password')
  );
  return Response.json({ ok: true });
}
from django.conf import settings
from django.http import Http404, JsonResponse
from django.contrib.auth import authenticate, login

def dev_login(request):
    if not settings.DEBUG:
        raise Http404()
    user = authenticate(
        username=request.GET.get('user'),
        password=request.GET.get('pass')
    )
    if user:
        login(request, user)
        return JsonResponse({'ok': True})
    return JsonResponse({'error': 'Invalid'}, status=401)
class DevSessionsController < ApplicationController
  skip_before_action :verify_authenticity_token

  def create
    raise ActionController::RoutingError, 'Not Found' unless Rails.env.development?
    user = User.find_by(email: params[:email])
    if user&.authenticate(params[:password])
      session[:user_id] = user.id
      render json: { ok: true }
    else
      render json: { error: 'Invalid' }, status: 401
    end
  end
end
@app.route('/dev-login')
def dev_login():
    if not current_app.debug:
        abort(404)
    user = authenticate(
        request.args.get('email'),
        request.args.get('password')
    )
    if user:
        session['user_id'] = user.id
        return jsonify(ok=True)
    return jsonify(error='Invalid'), 401
func DevLogin(w http.ResponseWriter, r *http.Request) {
    if os.Getenv("ENV") != "development" {
        http.NotFound(w, r)
        return
    }
    user, err := auth.Authenticate(
        r.URL.Query().Get("email"),
        r.URL.Query().Get("password"),
    )
    if err != nil {
        http.Error(w, "Unauthorized", 401)
        return
    }
    session.Set(r, w, user)
    json.NewEncoder(w).Encode(map[string]bool{"ok": true})
}

Phase 6: Detect Browser Automation Tools

Scan the project for browser automation tools that are configured or in use. Check:

  1. MCP server configurations — Look in .claude/settings.json, mcp.json, .cursor/mcp.json, or similar for:

- claude-in-chrome or chrome-extension - playwright or @anthropic/mcp-playwright or @anthropic-ai/mcp-playwright - chrome-devtools or devtools-mcp - browserbase or stagehand

  1. Dependencies — Check package.json, requirements.txt, Gemfile, go.mod, etc. for:

- playwright, @playwright/test - puppeteer, puppeteer-core - selenium, selenium-webdriver - cypress - @browserbasehq/stagehand - agent-browser

  1. Config files — Look for:

- playwright.config.ts, playwright.config.js - cypress.config.ts, cypress.config.js - .puppeteerrc.js

  1. Existing agent instructions — Scan CLAUDE.md, AGENTS.md, GEMINI.md, CURSOR.md, COPILOT.md, .github/copilot-instructions.md, README.md, and files in .claude/, .cursor/, .agents/, .windsurf/ for any mentions of browser automation, testing, or auth flows.

Record everything you find — you'll need it for the next phase.


Phase 7: Update Agent Instructions & Documentation

Based on what you found in Phase 6, update or create documentation so that AI agents using browser automation know about the dev auth shortcuts.

For each detected browser automation tool, add specific usage instructions:

Claude in Chrome / Chrome Extension MCP:

To authenticate in the browser, navigate to:
http://localhost:PORT/dev-login?email=EMAIL&password=PASSWORD
Then proceed to the authenticated page.

Playwright / Playwright MCP:

To authenticate before testing:
await page.goto('http://localhost:PORT/dev-login?email=EMAIL&password=PASSWORD');
// Session cookies are now set, proceed with authenticated actions
await page.goto('http://localhost:PORT/dashboard');

Token-based (for API testing with any tool):

To get an auth token for API requests:
TOKEN=$(./scripts/get-token EMAIL PASSWORD)
Use header: Authorization: Bearer $TOKEN

Where to add documentation:

  • If CLAUDE.md exists — add a "Dev Authentication" section
  • If AGENTS.md exists — add a "Dev Authentication" section
  • If CURSOR.md exists — add equivalent instructions
  • If GEMINI.md exists — add equivalent instructions
  • If COPILOT.md or .github/copilot-instructions.md exists — add equivalent instructions
  • If .windsurf/ config exists — add equivalent instructions
  • If none of these exist — create an AGENTS.md with the auth instructions

Always match the existing style and formatting of each file you modify.

Documentation must include:

  1. What dev auth shortcuts are available (endpoints and/or scripts)
  2. The test credentials and their roles
  3. Tool-specific usage examples (based on what was detected)
  4. A note that these only work in development mode

Phase 8: Summary

Present a clear report:

  • What was created (with file paths)
  • How to use each shortcut (with copy-pasteable commands)
  • Which agent instruction files were updated
  • Security measures in place
  • Test credentials reference

Phase 9: Self-Destruct

After presenting the summary, say:

*Mission complete. All dev auth shortcuts are in place and your agent instructions have been updated.* *This skill has served its purpose. Like any good secret agent tool, it should leave no trace. Want me to self-destruct? (y/n)*

If the user agrees:

  1. Check for skills.lock in the project root or common locations. If it exists and contains burn-after-login, the skill was installed via npx skills. Run: npx skills remove burn-after-login This handles all cleanup. Done.
  2. If no skills.lock found, manually clean up by deleting the skill directory from all locations where it may exist:

- .agents/skills/burn-after-login/ - .claude/skills/burn-after-login/ - .claude/commands/burn-after-login.md - .cursor/skills/burn-after-login/ - .windsurf/skills/burn-after-login/ - Any symlinks pointing to the above

  1. After cleanup, say: *This skill will self-destruct in 3... 2... 1...* *burn-after-login has been removed. Your dev auth shortcuts remain intact. Good luck out there, agent.*

If the user declines:

*Understood. The skill remains installed if you need to run it again. You can remove it anytime with npx skills remove burn-after-login.*

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.75%
按下载量换算33

Claude

33.2%
按下载量换算31

Cursor

18.66%
按下载量换算18

Gemini CLI

9.74%
按下载量换算9

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

未通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills