ソース情報
- リポジトリ
- karmab/glpic
- ソースの最終更新活動
- 2026年5月5日 20:12
- 検出された SKILL.md の言語
- 英語
- スター
- 0
- フォーク
- 1
インストール方法
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
ソースファイルを確認
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
メニュー
デフォルトでは、最初にソースを確認する Prompt が選択されています。直接コマンドに切り替えるか、ローカルコピーをダウンロードすることもできます。
インストールを決める前に、SKILL.md と SkillsMP に表示されている付属ファイルをお読みください。
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
直接コマンドでは確認用 Prompt が省略されます。実行前にソースを確認してください。
npx skills add https://github.com/karmab/glpic --skill glpiコマンドは1行のまま表示されます。コピー前に横へスクロールして全体を確認してください。
ローカルで確認しますか?SkillsMP が現在取得できるファイルをダウンロードできます。
SOC 職業分類に基づく
SKILL.md を表示中
| name | glpi |
| description | Use this skill to manage GLPI resources — reservations, computers, and users |
Use this skill to manage GLPI resources: reservations, computers, and users.
Run glpic from regular PATH. Always source credentials first.
# List current user's reservations
glpic list reservations
# List another user's reservations
glpic list reservations -P user=someuser
# Create a reservation for a computer (defaults to current user, 30-day end date)
glpic create reservation COMPUTER_NAME
# Create with force (deletes existing reservation if needed)
glpic create reservation COMPUTER_NAME -f
# Create a reservation with specific parameters
glpic create reservation COMPUTER_NAME -P user=someuser -P end=2026-06-01 -P comment="testing"
# Update all current user's reservations (extends end date by 30 days if no params given)
glpic update reservations
# Update specific reservations by ID
glpic update reservations 123 456
# Update reservation with specific parameters
glpic update reservations 123 -P end=2026-07-01 -P user=someuser
# Delete reservations (asks for confirmation)
glpic delete reservation 123 456
# Delete without confirmation
glpic delete -y reservation 123
# List all computers
glpic list computers
# List computers filtered by CPU model or minimum memory
glpic list computers -P cpumodel=xeon -P memory=64000
# Limit number of results
glpic list computers -P number=10
# Get detailed info about a specific computer (by name or ID)
glpic info computer COMPUTER_NAME
# Update a computer's fields
glpic update computer COMPUTER_NAME -P comment="new comment"
# List all users
glpic list users
# List users with filter
glpic list users -P is_active=1
The -P flag accepts key=value pairs and can be specified multiple times.
| Context | Parameter | Description |
|---|---|---|
| Reservations | user | Target user (defaults to authenticated user) |
| Reservations | end | End date (YYYY-MM-DD or YYYY-MM-DD HH:MM:SS) |
| Reservations | comment | Reservation comment |
| Computers | cpumodel | Filter by CPU model substring |
| Computers | memory | Filter by minimum memory (in MB) |
| Computers | number | Limit number of results |
Commands accept aliases: add=create, remove=delete, get=list. Singular and plural forms are interchangeable (reservation/reservations, computer/computers, user/users).