Development v1.0.1

det

DailyExpenseTracker API integration for recording expenses, checking balances, and managing transactions. Use when user...

gurpreetkaits 更新于 2026-02-22 1 浏览
下载 SKILL

技能说明

DailyExpenseTracker API integration for recording expenses, checking balances, and managing transactions. Use when user mentions expenses, spending, transactions, wallets, or DET.

使用场景

DailyExpenseTracker API integration for recording expenses, checking balances, and managing transactions. Use when user mentions expenses, spending, transactions, wallets, or DET.

直接复制以下提示词,发送给你的 AI 助手即可完成安装。

帮我下载并安装这个SKILL:https://skillhub.cstcloud.cn/download/det
  1. 点击上方「下载 SKILL」按钮,获取技能压缩包。
  2. 将压缩包解压到你的 Agent 技能目录。
  3. 重启客户端后即可在技能列表中选择该技能。

技能文件内容

4 个文件 · 16 kB
SKILL.md text/markdown
---
name: det
description: DailyExpenseTracker API integration for recording expenses, checking balances, and managing transactions. Use when user mentions expenses, spending, transactions, wallets, or DET.
---

# DailyExpenseTracker (DET)

## API

**Base URL:** `https://dailyexpensetracker.in/api`
**Token:** Set in `skills.entries.det.apiToken` in openclaw.json
**Auth Header:** `Authorization: Bearer <token>`

## Wallets

Fetch wallets dynamically via `/api/wallets` endpoint. Cache wallet IDs locally after first fetch.

## Add Expense

```bash
curl -X POST "https://dailyexpensetracker.in/api/transactions" \
  -H "Authorization: Bearer $DET_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
    "wallet_id": 1,
    "category_id": 5,
    "amount": 100,
    "type": "expense",
    "transaction_date": "2026-02-21",
    "description": "Groceries"
  }'
```

**Required fields:** wallet_id, amount, type, transaction_date
**Types:** expense, income, transfer

## Get Transactions

```bash
curl "https://dailyexpensetracker.in/api/transactions?per_page=10" \
  -H "Authorization: Bearer $DET_TOKEN"
```

## Get Wallets with Balances

```bash
curl "https://dailyexpensetracker.in/api/wallets" \
  -H "Authorization: Bearer $DET_TOKEN"
```

## Get Categories

```bash
curl "https://dailyexpensetracker.in/api/categories" \
  -H "Authorization: Bearer $DET_TOKEN"
```

## Rules

- **ALWAYS use API** - Never write directly to database
- **Field is `transaction_date`** - Not `date`
- **Default wallet:** HDFC BANK (1) unless specified
- **Confirm large amounts** (>₹5000) before recording

文件内容直接读取自技能仓库,仅供安装前审阅;以实际下载的压缩包为准。