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

snipeit-skill

bởi bivex

AI & LLMs
264Lượ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

Interact with Snipe-IT asset management via REST API.

Mô tả

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

Manages IT hardware, licenses, accessories, and users in Snipe-IT through bash helper functions that wrap its REST API. Supports checkout and checkin workflows, maintenance logs, location audits, license seat tracking, and activity reports.

Wraps Snipe-IT's REST API in reusable bash helpers so common asset operations can be scripted without writing boilerplate curl calls each time.

Khi nào nên dùng

  • Checking out a laptop to a new hire during onboarding
  • Finding assets overdue for audit before a quarterly review
  • Checking available license seats before buying more
  • Checking in all equipment from a departing employee
  • Logging a repair maintenance record for a damaged device

Quy trình ví dụ

ĐẦU VÀO

User asks: onboard a new MacBook Pro and assign it to user ID 7

AGENT
  1. 1

    Search /models for an existing MacBook Pro 16 model to get its ID

  2. 2

    Create a new asset in /hardware with a timestamped tag, the model ID, and a location

  3. 3

    POST to /hardware/{id}/checkout with checkout_to_type user and assigned_user 7

  4. 4

    Return the new asset ID and checkout confirmation from the API response

ĐẦU RA

Asset ASSET-20250115-1430 created (ID 42) and checked out to user 7 with note 'New hire onboarding'

Yêu cầu

  • SNIPEIT_URL — URL of your Snipe-IT instance (e.g. https://assets.example.com)
  • SNIPEIT_API_TOKEN — Bearer token generated from your Snipe-IT profile under Manage API Keys

Cài đặt

clawhub install bivex/snipeit-skill

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