İçeriğe geç
TakoAPI
Becerilere dön

token-management

nonlinear tarafından

Productivity & Tasks
—Henüz değerlendirilmedi
Puanınız

Özet

Centralized API token management workflow.

Açıklama

Bu Beceri Ne Yapar

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.

Ne Zaman Kullanılır

  • 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

Örnek İş Akışı

GİRİŞ

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

AJAN
  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

ÇIKIŞ

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

Gereksinimler

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

Kurulum

clawhub install nonlinear/token-management

CLI komutunu çalıştırın ya da istemi Claude Code, Cursor, Codex veya kullandığınız kodlama ajanına yapıştırın.

Bağlantılar