跳到正文
TakoAPI
返回技能列表

ai-agent-tools

由 cerbug45 提供

Coding Agents & IDEs
496下载量由 clawskills.sh 提供
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

This library provides ready-to-use Python functions that AI agents can leverage to perform various tasks.

描述

该技能的功能

A single-file Python library providing utility functions for common AI agent tasks. Covers file I/O, text extraction, data format conversion, input validation, and in-session memory. Has no external dependencies beyond the Python standard library.

Zero external dependencies means it drops into any Python environment without version conflicts or installation steps.

何时使用

  • Extracting emails and phone numbers from raw text documents
  • Converting CSV exports into structured JSON for downstream processing
  • Storing intermediate results between agent execution steps
  • Validating user-submitted emails and URLs before processing
  • Reading config files and writing agent outputs to disk

示例工作流

输入

User asks: Extract all valid email addresses from contacts.txt and save them to a JSON file

智能体
  1. 1

    Read contacts.txt using FileTools.read_file

  2. 2

    Extract email addresses from the text using TextTools.extract_emails

  3. 3

    Filter results through ValidationTools.is_valid_email to remove malformed entries

  4. 4

    Save the validated list to output.json using DataTools.save_json

输出

A JSON file containing only the validated email addresses found in the input document

安装

clawhub install cerbug45/ai-agent-tools

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接