Search

PythonReactSEOPDF
OpenClaw

sansfiction-library

Authorized SansFiction library manager. Adds books to your library, updates reading status, logs progress, and can schedule a daily “how much did you read today?” check-in. Requires a SansFiction personal token (read/write).

fgbytes0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install fgbytes/sansfiction-library

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

SansFiction Library (Authorized)

What this skill does

  • Library management (auth required): add/remove books, set reading status, log progress, view “currently reading”, and reading stats.
  • Daily check-in: schedule a reminder that asks “How much did you read today?” and then logs what the user reports.

Hard rules

  • Never ask for or store passwords. Use a SansFiction token only.
  • Never echo the token back to the user or write it into chat logs.
  • No side effects without confirmation when the target book is ambiguous (multiple matches).

Setup (one-time) — get the token

If SANSFICTION_TOKEN is missing, do this immediately:

  1. Tell the user to open SansFiction → Connect AI Agents and use Manual Token:

  2. Ask the user to paste the token once in this chat.

  3. Persist it (recommended):

  • In ~/.openclaw/openclaw.json:
    • skills.entries.sansfiction-library.apiKey: "<TOKEN>"
    • (this maps to env var SANSFICTION_TOKEN)
  • Or set:
    • skills.entries.sansfiction-library.env.SANSFICTION_TOKEN: "<TOKEN>"

If you can’t edit config automatically, give the user the exact snippet to paste.


How to talk to SansFiction (MCP over HTTP)

Endpoint:

  • https://sansfiction.com/api/mcp

Use JSON-RPC with Bearer auth.

1) List available tools (discover exact tool names)
curl -s https://sansfiction.com/api/mcp \
  -H "Authorization: Bearer $SANSFICTION_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'

2) Call a tool

Replace TOOL_NAME and ARGS with what tools/list returns.

curl -s https://sansfiction.com/api/mcp \
  -H "Authorization: Bearer $SANSFICTION_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"TOOL_NAME","arguments":ARGS}}'

Error handling
	•	If you...

Source information

Source
github
Repository
openclaw/skills
Path
skills/fgbytes/sansfiction-library
Version
—
Commit
e3211608b84a5bf322a1fe8636a64e7dde166a76
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# SansFiction Library (Authorized)

## What this skill does
- **Library management (auth required):** add/remove books, set reading status, log progress, view “currently reading”, and reading stats.
- **Daily check-in:** schedule a reminder that asks “How much did you read today?” and then logs what the user reports.

## Hard rules
- **Never ask for or store passwords.** Use a SansFiction token only.
- **Never echo the token back** to the user or write it into chat logs.
- **No side effects without confirmation** when the target book is ambiguous (multiple matches).

---

## Setup (one-time) — get the token
If `SANSFICTION_TOKEN` is missing, do this immediately:

1) Tell the user to open **SansFiction → Connect AI Agents** and use **Manual Token**:
   - Go to: https://sansfiction.com/docs/agents
   - In **Manual Token**, click **Generate token**
   - Copy the token

2) Ask the user to paste the token **once** in this chat.

3) Persist it (recommended):
- In `~/.openclaw/openclaw.json`:
  - `skills.entries.sansfiction-library.apiKey: "<TOKEN>"`
  - (this maps to env var `SANSFICTION_TOKEN`)
- Or set:
  - `skills.entries.sansfiction-library.env.SANSFICTION_TOKEN: "<TOKEN>"`

If you can’t edit config automatically, give the user the exact snippet to paste.

---

## How to talk to SansFiction (MCP over HTTP)
Endpoint:
- `https://sansfiction.com/api/mcp`

Use JSON-RPC with Bearer auth.

### 1) List available tools (discover exact tool names)
```bash
curl -s https://sansfiction.com/api/mcp \
  -H "Authorization: Bearer $SANSFICTION_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'

2) Call a tool

Replace TOOL_NAME and ARGS with what tools/list returns.

curl -s https://sansfiction.com/api/mcp \
  -H "Authorization: Bearer $SANSFICTION_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","id":2,"method":"tools/call","params":{"name":"TOOL_NAME","arguments":ARGS}}'

Error handling
	•	If you...

Related skills

OpenClaw

dojo.md

edholofy

University for AI agents. 92 courses, 4400+ scenarios, any model via OpenRouter. Auto-training loops generate per-model SKILL.md documents. Works with Claude Code, OpenClaw, Cursor, Windsurf. No fine-tuning req...

OpenClaw

wps-macos-helper

lethehades

macOS WPS Office workflow helper skill for safer document preparation, conversion, export, and compatibility guidance