Skip to content
Agentmart
Submit a tool

book-sales-data

API for accessing normalized book and transaction data from the database.

Skill by anoochit

IndexedMIT★ 3
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/anoochit-book-sales-data

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

API for accessing normalized book and transaction data from the database. Use when you need to fetch lists of books, detailed sales transactions, or summary reports. Triggered by requests for book inventory, sales data, or performance summaries.

Use cases: backend, data, sales

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/book-sales-data

What's inside

Skill name
book-sales-data
Description
API for accessing normalized book and transaction data from the database. Use when you need to fetch lists of books, detailed sales transactions, or summary reports. Triggered by requests for book inventory, sales data, or performance summaries.
License
MIT
Instructions
32 lines in SKILL.md · view on GitHub

Before installing

  • Instructions call the network

Files (2)

  • SKILL.md
  • openapi.json · references/

SKILL.md (first lines)

# 📚 Book and Sales Data API Skill

This skill provides Nami with standard methods for querying, sorting, and displaying book sales and transaction telemetry from the system database.

## Instructions

### 1. Data Retrieval
Use `curl` combined with `jq` to fetch and parse JSON data from the localized API endpoints:

*   **Top Selling Authors:** `curl -s http://localhost:8000/summary/author | jq .`
*   **Sales Summary:** `curl -s http://localhost:8000/summary/sales | jq .`
*   **Book Inventory:** `curl -s http://localhost:8000/books | jq .`

### 2. Analytics & Data Processing
*   **Sorting:** Always sort retrieved lists by key metrics such as `Total_Revenue_THB` or `Total_Quantity_Sold` to show the most relevant items first.
*   **Calculations:** Calculate total revenue, top products, or volume trends if requested.

### 3. Beautiful Markdown Presentation
Present data in an elegant, structured table to highlight key parameters:

```markdown
### 🏆 Top-Selling Authors Summary
| Author | Quantity Sold | Total Revenue (THB) |
| :--- | :---: | :--- |
| **John Doe** | 1,420 | ฿426,000 |
| **Jane Smith** | 980 | ฿294,000 |
```

### 4. Robust Error Handling
*   If `curl` fails or endpoints are unreachable, check if the service is running (e.g., `pgrep nami` or checking the port status).
*   Provide readable error messages detailing the status code instead of raw trace logs.

From anoochit/nami-core, MIT.

More from anoochit/nami-core

Signals

Stars
3
Forks
0
Open issues
0
Last commit (this folder)
Jul 8, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from anoochit

Cite this page

book-sales-data skill. Agent Mart. https://agentmart.dev/skills/anoochit-book-sales-data (last updated 2026-10-24)