Token导航 LogoToken导航TokenDH.com
研究检索敏感数据clawhub未标认证来源可访问clear审计通过

bunpro-sync邦普同步

Agent Skill

bunpro-sync 用于记录任务执行中的错误、用户纠正、经验和能力缺口,适合在 OpenClaw 中希望让 Agent 持续沉淀问题、修正和最佳实践时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

19,239

周安装

818

GitHub Stars

公开资料未说明

下载量

6,740
OpenClaw

安装说明

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

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:bunpro-sync(邦普同步)
来源仓库:https://github.com/mart1n-xyz/bunpro-sync
安装命令:
openclaw skills install bunpro-sync
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install bunpro-sync

简介

将 Bunpro 日语语法学习进度同步至本地存储用于分析与回顾。

  • 适用于语言学习者追踪薄弱环节、制定复习计划或备份学习成果。
  • 自动提取错题与掌握度指标,生成可视化学习报告。bunpro-sync 属于研究检索类 Skill,可作为该场景下的辅助能力补充。
  • 需授权访问 Bunpro API,定期检查令牌有效期以防同步中断。
  • 本地数据加密存储,但建议开启双重认证增强账户安全。

SKILL.md

name
bunpro-sync
description
Sync Bunpro Japanese grammar learning progress from the API to local storage for analysis and insights. Use when the user wants to backup their Bunpro progress, track grammar mastery, analyze review patterns, or monitor JLPT level progression. Works with the community-documented Bunpro Frontend API.
version
1.0.0
metadata
openclaw
requires
env
bins
primaryEnv
BUNPRO_FRONTEND_API_TOKEN
emoji
📚
homepage
https://www.bunpro.jp

Bunpro Sync

Sync your Bunpro grammar learning progress locally for analysis and insights.

⚠️ Important: This uses a community-documented API. The official Bunpro API Key from settings does NOT work - you need the Frontend API Token from your browser.

Overview

This skill fetches your Japanese grammar progress from Bunpro and stores it in a local SQLite database. Track SRS stages, review forecasts, JLPT progress, and identify grammar leeches (items that keep falling back).

API Keys: The Two Different Tokens

Bunpro has two different API tokens that serve different purposes:

❌ DO NOT USE: "Official" API Key (from Settings)

  • Found at: bunpro.jp/settings/account
  • Looks like: d406663ff421af27c87caaa62eefdb7a (32 hex characters)
  • Does NOT work with the Frontend API endpoints this skill uses
  • Returns 401 Unauthorized errors

✅ USE THIS: Frontend API Token (from Browser)

  • Found in: Browser DevTools → Console or Application Storage
  • Looks like: eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9... (long JWT, 200+ chars)
  • This is what the skill requires
  • Expires periodically (you'll need to refresh it)

How to Get the Frontend API Token

Method 1: Console (Recommended)

  1. Go to bunpro.jp and log in
  2. Press F12 to open DevTools
  3. Click the Console tab
  4. Paste this JavaScript and press Enter:
   Object.fromEntries(
     new URLSearchParams(
       document.cookie.replace(/; /g, '&')
     )
   ).frontend_api_token
  1. Copy the long string that appears (starts with eyJ)

Method 2: Local Storage

  1. Go to bunpro.jp and log in
  2. Press F12 → Application tab (or Storage in Firefox)
  3. In the left sidebar, expand Local Storagehttps://bunpro.jp
  4. Look for token, authToken, or frontend_api_token
  5. Copy the value (starts with eyJ)

Method 3: Network Tab

  1. Go to bunpro.jp and log in
  2. Press F12 → Network tab
  3. Refresh the page
  4. Look for any API call (like /user or /queue)
  5. Click it → HeadersRequest Headers
  6. Find Authorization: Bearer eyJ...
  7. Copy the part after "Bearer "

⚠️ Token Expiry: The Frontend API Token expires eventually (days/weeks). When you get 401 errors, repeat the steps above to get a fresh token.

Quick Start

Sync All Data

# Using environment variable (recommended)
export BUNPRO_FRONTEND_API_TOKEN="eyJ0eXAiOiJKV1Qi..."
python3 scripts/sync.py

# Or pass token directly (less secure)
python3 scripts/sync.py --token "eyJ0eXAiOiJKV1Qi..."

# Store in specific directory
python3 scripts/sync.py --data-dir ~/bunpro-data

Sync Specific Data

# Only user info
python3 scripts/sync.py --user-only

# Only study queue
python3 scripts/sync.py --queue-only

# Only reviews
python3 scripts/sync.py --reviews-only

Force Full Sync

python3 scripts/sync.py --full

Database Schema

user

Your account info including level, XP, buncoin, lifetime status.

grammar_points

Grammar content including title, meaning, structure, JLPT level, unit/lesson.

reviews

Your SRS progress on each grammar point (stage, next review, burned status).

study_queue

Items scheduled for future review.

due_items

Items currently available for review (includes is_leech flag).

user_stats

Aggregated statistics (SRS overview, forecasts, JLPT progress, activity).

review_histories

Review session history (last session, last 24h).

sync_meta

Internal table tracking last sync timestamps.

Common Queries

-- Grammar mastery by JLPT level
SELECT jlpt_level, COUNT(*) as total,
       SUM(CASE WHEN burned = 1 THEN 1 ELSE 0 END) as burned
FROM reviews r
JOIN grammar_points g ON r.grammar_point_id = g.id
GROUP BY jlpt_level;

-- Upcoming reviews
SELECT DATE(next_review) as day, COUNT(*)
FROM reviews
WHERE next_review > datetime('now')
GROUP BY day
ORDER BY day
LIMIT 7;

-- Grammar leeches
SELECT g.title, g.meaning, d.streak, r.srs_stage_string
FROM due_items d
JOIN grammar_points g ON d.reviewable_id = g.id
LEFT JOIN reviews r ON d.reviewable_id = r.reviewable_id
WHERE d.is_leech = 1
ORDER BY d.streak ASC;

Query Tools

# Show SRS distribution
python3 scripts/queries.py srs

# Show upcoming review forecast
python3 scripts/queries.py forecast

# Show grammar mastery by JLPT level
python3 scripts/queries.py grammar --jlpt 5

# Show currently due reviews
python3 scripts/queries.py due

# Show grammar leeches
python3 scripts/queries.py leeches

# Show overall progress
python3 scripts/queries.py progress

# Show recent activity
python3 scripts/queries.py activity

API Notes

  • Base URL: https://api.bunpro.jp/api/frontend
  • Auth: Bearer JWT token from browser (not settings API key)
  • Rate limits: Unknown - be reasonable
  • Stability: Community-documented, may change without notice
  • Permission: Reverse-engineered with permission from Bunpro team

Troubleshooting

401 Unauthorized:

  • Token expired (get fresh one from browser)
  • Using wrong token type (need Frontend API Token, not settings API key)
  • Token format should be JWT (eyJ0eXAi...)

500 Server Error:

Empty data:

  • You're in vacation mode (check bunpro.jp)
  • No reviews done yet
  • Different endpoint structure than expected

References

Files

  • scripts/sync.py - Main sync tool with CLI
  • scripts/queries.py - Query helper with common reports
  • references/api-structure.md - Bunpro API reference

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

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

04

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

补充不同宿主或平台的使用分布数据

能力 5

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

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

平台分布

OpenClaw

70.49%
按下载量换算4,751

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

未展示

权限和风险

敏感数据

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

安装前确认

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

来源信息

继续浏览同类 Skills