Claude Skills
CollectionsCompareWorkflowsNominate
Sign inSign up
© 2026 Curated Agent Skills·Learn more about Agent Skills
Back to repository

librarian-auth

verified

Use this skill for connecting to Telvok, managing auth, or when marketplace tools return auth errors. Triggers on: login, connect, authenticate, telvok account, api key.

View on GitHub

Marketplace

librarian

telvokdev/librarian

Plugin

librarian

Repository

telvokdev/librarian
2stars

skills/librarian-auth/SKILL.md

Last Verified

February 1, 2026

Install Skill

Select agents to install to:

Scope:
npx add-skill https://github.com/telvokdev/librarian/blob/main/skills/librarian-auth/SKILL.md -a claude-code --skill librarian-auth

Installation paths:

Claude
.claude/skills/librarian-auth/
Powered by add-skill CLI

Instructions

# Telvok Authentication

Connect your Telvok account to access the marketplace, bounties, and publishing.

## Tool

`auth({ action })` - Manage your Telvok connection

### Actions

| Action | Description |
|--------|-------------|
| `login` | Start device code flow — returns a code and URL |
| `complete` | Finish login after browser authorization |
| `status` | Check if currently authenticated |
| `logout` | Remove stored credentials |

## Login Flow

1. `auth({ action: "login" })` — Returns a code (e.g., "FBAM-57AJ") and URL
2. User visits telvok.com/device in their browser
3. User enters the code and authorizes
4. `auth({ action: "complete" })` — Saves API key locally

Credentials are stored in `.librarian/.auth` as JSON:
```json
{
  "api_key": "tvk_...",
  "user_email": "you@example.com",
  "user_id": "uuid",
  "created_at": "...",
  "expires_at": "..."
}
```

## When Auth is Required

These tools require authentication:
- `library_buy()` - Purchasing books
- `library_publish()` - Publishing books
- `bounty_create()` / `bounty_claim()` / `bounty_submit()` - Bounties
- `my_books()` - Viewing your library
- `seller_analytics()` - Sales data
- `rate_book()` - Rating books
- `sync()` - Syncing purchased content
- `my_bounties()` - Your bounties
- `feedback()` - Sending feedback

## Troubleshooting

**"Authentication required" error:**
Run `auth({ action: "status" })` to check. If not connected, run `auth({ action: "login" })`.

**Expired key:**
API keys expire after 90 days. Run `auth({ action: "login" })` to get a new one.

**Wrong account:**
Run `auth({ action: "logout" })` then `auth({ action: "login" })` with the correct account.

## See Also

- **librarian-marketplace** - Buy, sell, and search books
- **librarian-bounties** - Knowledge bounty system
- **librarian** - Local knowledge capture

Validation Details

Front Matter
Required Fields
Valid Name Format
Valid Description
Has Sections
Allowed Tools
Instruction Length:
1799 chars