Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

adaptive-learning-agents

bởi vedantsingh60

Personal Development
721Lượt tải do clawskills.sh công bố
0Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

**Learn from errors and corrections in real-time.

Mô tả

Kỹ năng này làm gì

A Python library that records errors, corrections, and successful patterns locally, then retrieves relevant entries before tackling similar problems. All data stays on disk with no external dependencies, API keys, or network calls required.

Because it requires zero dependencies and no external accounts, it works immediately in any Python environment without setup friction.

Khi nào nên dùng

  • Logging a bug fix so it surfaces the next time the same error appears
  • Tracking which prompt formats produce reliable outputs for a given task
  • Documenting API quirks and workarounds discovered during integration work
  • Exporting accumulated knowledge as JSON to share across a team or project
  • Reviewing unresolved errors before starting a complex or high-stakes task

Quy trình ví dụ

ĐẦU VÀO

User asks: Record that the Anthropic API rejects prompts with excessive newlines and note the fix

AGENT
  1. 1

    Call record_error with the error_description, context, and solution fields populated

  2. 2

    Store the entry locally in the .adaptive_learning/ directory

  3. 3

    Later, call search_learnings('newlines') to retrieve the stored entry

  4. 4

    Return the matching learning with the solution and any prevention tip

ĐẦU RA

The stored error entry is returned with the solution: use strip() to clean whitespace before sending prompts to the API

Cài đặt

clawhub install vedantsingh60/adaptive-learning-agents

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết