Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

token-management

bởi nonlinear

Productivity & Tasks
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Centralized API token management workflow.

Mô tả

Kỹ năng này làm gì

Centralized workflow for storing, testing, and tracking API tokens. Saves tokens to a canonical .env file with expiration dates, runs a permission test battery against each service, and creates calendar reminders before tokens expire. Documents capabilities and renewal instructions in a per-service connections folder.

Keeps all tokens in one predictable location with expiration tracking and automated renewal reminders, so credentials are never re-requested or silently expired mid-project.

Khi nào nên dùng

  • Adding a new Jira API token and recording its scope and expiry
  • Getting a 7-day warning before a GitHub personal access token expires
  • Checking whether a credential already exists before requesting one from a colleague
  • Running a quick permissions audit on a newly received API key
  • Building a searchable index of all active service credentials in one place

Quy trình ví dụ

ĐẦU VÀO

User asks: 'salva API key pra Figma, expires 2027-03-01'

AGENT
  1. 1

    Git commits the current .env state as a safety checkpoint before making changes

  2. 2

    Appends FIGMA_TOKEN=value with an expiration comment to ~/Documents/life/.env

  3. 3

    Creates an all-day Google Calendar event on 2027-02-22 with a renewal reminder and the token settings URL

  4. 4

    Runs a test script against the Figma API to enumerate what the token can read or write

  5. 5

    Creates ~/Documents/life/connections/figma.md with token metadata, scope summary, and code usage examples

ĐẦU RA

Token stored in .env, permissions documented in connections/figma.md, and a renewal reminder scheduled 7 days before expiry

Yêu cầu

  • gog CLI tool (non-standard, required for Google Calendar reminder creation)

Cài đặt

clawhub install nonlinear/token-management

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết