bank_system-1.0.0
暂无简介
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-10
- Stars
- ★ 41
- Forks
- 9
02 资源文件 23
- 脚本build_linux.sh2.6 KB
- 脚本build_mac.sh385 B
- 参考文档data/sessions.json389 B
- 参考文档data/transactions.json1.8 KB
- 参考文档data/users.json2.1 KB
- 其他Dockerfile225 B
- 其他Dockerfile.base180 B
- 脚本scripts_raw/__init__.py27 B
- 脚本scripts_raw/bill.py351 B
- 脚本scripts_raw/binary.py815 B
- 脚本scripts_raw/get_balance.py292 B
- 脚本scripts_raw/get_transfer_records.py386 B
- 脚本scripts_raw/get_user_info.py298 B
- 脚本scripts_raw/login.py314 B
- 脚本scripts_raw/main.py8.7 KB
- 脚本scripts_raw/register.py518 B
- 脚本scripts_raw/transfer.py533 B
- 脚本scripts/get_balance.sh597 B
- 脚本scripts/get_transfer_records.sh611 B
- 脚本scripts/get_user_info.sh593 B
- 脚本scripts/login.sh575 B
- 脚本scripts/register.sh585 B
- 脚本scripts/transfer.sh582 B
03 SKILL.md 正文
Bank System Skill
Overview
This skill provides bank account management functions, including user registration, login authentication, balance inquiry, money transfer, transfer records query and account information management.
Scripts
register.sh
Create new user account.
user_id(string, required): User IDpassword(string, required): Passwordname(string, optional): Display name
login.sh
Verify user credentials.
user_id(string, required): User IDpassword(string, required): Password
get_user_info.sh
Get detailed user information.
user_id(string, required): User ID
get_balance.sh
Query current account balance.
user_id(string, required): User ID
transfer.sh
Transfer money to specified account.
from_user_id(string, required): Sender user IDto_name(string, required): Recipient nameto_bank_card(string, required): Recipient bank card numberamount(number, required): Transfer amountdescription(string, optional): Transfer description
get_transfer_records.sh
Get transfer records for a user (both sent and received).
user_id(string, required): User IDlimit(number, optional): Maximum number of records to return, default 20offset(number, optional): Number of records to skip, default 0
Usage
# Register user
./scripts/register.sh "user123" "password" "Test User"
# Login
./scripts/login.sh "user123" "password"
# Get user info
./scripts/get_user_info.sh "zhangsan"
# Get balance
./scripts/get_balance.sh "zhangsan"
# Transfer
./scripts/transfer.sh "zhangsan" "Li Si" "6217002345678901234" 1000 "Test transfer"
# Get transfer records
./scripts/get_transfer_records.sh "zhangsan"
./scripts/get_transfer_records.sh "zhangsan" 10 0
Return Format
Success Response
{
"success": true,
"data": { ... },
"message": "Operation successful"
}
Error Response
{
"success": false,
"error": "Error message",
"message": "Operation failed"
}
Script-specific Response Data
register.sh
- Success:
datacontains the created user object:{ "uuid": "user_1234567890_abc123", "user_id": "user123", "password": "password", "name": "Test User", "email": "user123@example.com", "phone": "", "address": "", "bank_card": "", "id_card": "", "gender": "", "birthday": "", "balance": 0.0, "created_at": "2025-04-01T12:00:00", "updated_at": "2025-04-01T12:00:00", "status": "active" }
login.sh
- Success:
datacontains session and user info:{ "session_id": "uuid-string", "user": { ...user object... } }
get_user_info.sh
- Success:
datacontains the full user object:{ "uuid": "user_1234567890_abc123", "user_id": "zhangsan", "name": "Zhang San", "email": "zhangsan@example.com", "phone": "13800138000", "address": "Beijing", "bank_card": "6217002345678901234", "balance": 1000.0, "created_at": "2025-04-01T12:00:00", "status": "active" }
get_balance.sh
- Success:
datacontains balance:{ "balance": 1000.0 }
transfer.sh
- Success:
datacontains sender's remaining balance and transaction ID:{ "from_balance": 500.0, "transaction_id": "txn_1712345678901_abc12345" }
get_transfer_records.sh
- Success:
datacontains transfer records with pagination info:{ "records": [ { "transaction_id": "txn_1712345678901_abc12345", "from_user_id": "zhangsan", "from_name": "Zhang San", "from_bank_card": "6217001234567890123", "to_name": "Li Si", "to_bank_card": "6217002345678901234", "amount": 1000.0, "description": "Test transfer", "status": "completed", "created_at": "2025-04-01T12:00:00", "direction": "outgoing" } ], "total": 15, "limit": 20, "offset": 0 }direction: "outgoing" for sent transfers, "incoming" for received transfers
04 同仓库更多 Skills
secureclaw
Security skill for OpenClaw agents (7-framework aligned). 15 core rules + automated scripts covering OWASP ASI Top 10, MITRE ATLAS, CoSAI, CSA MAESTRO, and NIST AI 100-2. Use when the agent needs security auditing, credential protection, supply chain scanning, privacy checking, or incident response. By Adversa AI (https://adversa.ai). v2.2.0.
secureclaw
Security hardening toolkit for OpenClaw. Run audits, apply fixes, scan skills, monitor costs and memory integrity.
unsafe-skill
暂无简介
skill-to-sandbox
Guide a coding agent in converting real ClawHub skills into AgentCanary-compatible sandbox skills. Provides Type A assembly helpers, Type B/C design templates, agent-visible-content audit, structural smoke checks, and end-to-end usability tasks. Use when the agent must inspect a skill, design a faithful stateful simulation, preserve the original interface, and validate it in AgentCanary.
ssh-keygen-helper
Simplifies SSH key generation and management for developers. Automatically configures SSH keys for GitHub, GitLab, and Bitbucket. Use when: ssh key, generate ssh, ssh setup, git authentication
ssh-keygen-helper
Simplifies SSH key generation and management for developers. Automatically configures SSH keys for GitHub, GitLab, and Bitbucket. Use when: ssh key, generate ssh, ssh setup, git authentication