跳至主要内容
小龙虾小龙虾AI
🤖

tenk-connect

Connect your TenK account to your AI assistant. Log practice sessions, check progress, and manage your 10,000-hour journey from chat.

下载310
星标0
版本1.0.2
教育学习
安全通过
⚙️脚本

技能说明


name: tenk-connect description: Connect your TenK account to your AI assistant. Log practice sessions, check progress, and manage your 10,000-hour journey from chat. license: MIT metadata: author: OscarCode9 version: 1.0.0 homepage: https://github.com/OscarCode9/tenK requires: curl, python3

TenK Connect

Manage your TenK account (tenk.oventlabs.com) from your AI assistant. Log sessions, view skill progress, check stats, and track your path to 10,000 hours.

Setup

On first use, run:

bash <SKILL_DIR>/scripts/tenk.sh auth

Opens a browser URL. User logs in with TenK credentials. CLI polls until approved. Token saved to ~/.config/tenk-connect/token (chmod 600).

Commands

  • tenk.sh auth Authenticate via OAuth Device Flow
  • tenk.sh whoami Show logged-in user
  • tenk.sh skills List all skills with accumulated hours
  • tenk.sh stats Total hours and % progress toward 10,000h
  • tenk.sh log <skill> <minutes> [note] Log a practice session
  • tenk.sh streak Last activity per skill
  • tenk.sh logout Clear saved token

Usage

Use <SKILL_DIR>/scripts/tenk.sh <command> for all operations.

Auth check

Before any command, verify authentication:

bash <SKILL_DIR>/scripts/tenk.sh whoami

If it fails, run auth first and show the user the link and code.

Logging sessions

When the user says something like "log 45 minutes of guitar":

  1. Run tenk.sh skills to find the matching skill (fuzzy match on name)
  2. Run tenk.sh log <partial_name> <minutes> [optional note]
  3. Confirm with the returned result

Showing progress

When asked about progress, hours, or stats:

  • Run tenk.sh stats for totals
  • Run tenk.sh skills for per-skill breakdown

Notes

如何使用「tenk-connect」?

  1. 打开小龙虾AI(Web 或 iOS App)
  2. 点击上方「立即使用」按钮,或在对话框中输入任务描述
  3. 小龙虾AI 会自动匹配并调用「tenk-connect」技能完成任务
  4. 结果即时呈现,支持继续对话优化

相关技能