pp-freshservice
Every Freshservice operation in one Go binary — with offline search, SLA intelligence, and agent-native JSON that... Trigger phrases: `list open tickets in freshservice`, `create a ticket in freshservice`, `check SLA breach risk`, `who has the most open tickets`, `find related freshservice tickets`, `approve a change in freshservice`, `search freshservice knowledge base`, `use freshservice`, `freshservice ticket status`.
What this skill does
<!-- GENERATED FILE — DO NOT EDIT.
This file is a verbatim mirror of library/productivity/freshservice/SKILL.md,
regenerated post-merge by tools/generate-skills/. Hand-edits here are
silently overwritten on the next regen. Edit the library/ source instead.
See the repository agent guide, section "Generated artifacts: registry.json, cli-skills/". -->
# Freshservice — Printing Press CLI
## Prerequisites: Install the CLI
This skill drives the `freshservice-pp-cli` binary. **You must verify the CLI is installed before invoking any command from this skill.** If it is missing, install it first:
1. Install via the Printing Press installer. It defaults binaries to `$HOME/.local/bin` on macOS/Linux and `%LOCALAPPDATA%\Programs\PrintingPress\bin` on Windows:
```bash
npx -y @mvanhorn/printing-press-library install freshservice --cli-only
```
2. Verify: `freshservice-pp-cli --version`
3. Ensure the reported install directory is on `$PATH` for the agent/runtime that will invoke this skill.
If the `npx` install fails (no Node, offline, etc.), fall back to a direct Go install (requires Go 1.26.3 or newer):
```bash
go install github.com/mvanhorn/printing-press-library/library/productivity/freshservice/cmd/freshservice-pp-cli@latest
```
If `--version` reports "command not found" after install, the runtime cannot see the binary directory on `$PATH`. Do not proceed with skill commands until verification succeeds.
## When to Use This CLI
Use freshservice-pp-cli when an AI agent needs to query, create, or update ITSM records in Freshservice — ticket triage, change approval workflows, asset inventory checks, or SLA compliance reporting. It is especially powerful for cross-entity correlation tasks (finding all open tickets linked to an asset, checking change window collisions, or surfacing knowledge gaps) that would require multiple API calls and manual data joining if done via raw HTTP.
## Unique Capabilities
These capabilities aren't available in any other tool for this API.
### SLA Management
- **`breach-risk`** — Shows every open ticket projected to breach SLA within the next N hours, sorted by minutes remaining — act before the clock runs out, not after.
_Use this when an SRE or IT admin needs to know which tickets will breach SLA before the next check-in — prevents reactive firefighting._
```bash
freshservice-pp-cli breach-risk --hours 4 --group Infrastructure --agent
```
- **`dept-sla`** — Aggregates SLA compliance percentage, breach count, and mean time to resolve by requester department for a rolling period — exec-ready ranking without exporting to Excel.
_Use this when an AI agent is generating an executive SLA compliance report or identifying departments that need service level attention._
```bash
freshservice-pp-cli dept-sla --period 30d --sort breach-rate --agent
```
### Daily Workflow
- **`my-queue`** — Combines all tickets assigned to you with SLA countdown plus any change records awaiting your approval — the first command an agent runs each morning.
_Use this to get an AI agent's complete pending workload in one structured call before deciding which task to action next._
```bash
freshservice-pp-cli my-queue user_at_example.com --agent
```
- **`search`** — Runs a single ranked full-text search across tickets, assets, change records, and KB articles simultaneously — find everything related to an incident keyword in one shot.
_Use this when an AI agent needs to gather context about a symptom across all ITSM entities before proposing a resolution._
```bash
freshservice-pp-cli search "database crash" --in tickets,assets,changes --agent
```
### Team Operations
- **`workload`** — Table of agents with open ticket count, average ticket age, P1/P2 count, and normalized load score — see who is drowning and who has capacity in five seconds.
_Use this when an AI agent needs to decide which human agent to assign a new ticket to based on current capacity._
```bash
freshservice-pp-cli workload --group "Network Support" --agent
```
- **`oncall-gap`** — Identifies time windows where high-severity tickets arrived but no agent in the group acknowledged within SLA — surfaces staffing gaps in on-call rotations.
_Use this to identify on-call schedule gaps before the next incident strikes the same window._
```bash
freshservice-pp-cli oncall-gap --group Infrastructure --period 4w --severity P1,P2 --agent
```
### Change Management
- **`change-collisions`** — Flags change records whose planned maintenance windows overlap, optionally filtered by CI — prevents two teams from scheduling conflicting downtime on the same system.
_Use this before approving a change to verify no other group has a conflicting maintenance window on the same infrastructure._
```bash
freshservice-pp-cli change-collisions --window 48h --ci prod-db-01 --agent
```
### Problem Management
- **`recurrence`** — Uses FTS similarity on ticket subjects and descriptions to surface repeated symptom patterns grouped by asset, requester, or keyword — shows which problems keep coming back.
_Use this to identify root-cause candidates when an AI agent is investigating a chronic incident pattern._
```bash
freshservice-pp-cli recurrence --asset FS-1042 --days 90 --agent
```
### Knowledge Management
- **`kb-gaps`** — Matches recent ticket subjects against the KB article corpus using FTS and ranks topic clusters with no matching article by ticket volume — tells you exactly what to document first.
_Use this when an AI agent is drafting a knowledge base improvement plan and needs to prioritize which gaps to fill._
```bash
freshservice-pp-cli kb-gaps --group "Desktop Support" --days 30 --min-tickets 3 --agent
```
### Asset Management
- **`orphan-assets`** — Finds assets with no associated open ticket, no active contract, and no assigned user activity in the last N days — surfaces hardware you are paying maintenance on that nobody uses.
_Use this during IT asset audits to identify candidates for decommission or reallocation without manual cross-referencing._
```bash
freshservice-pp-cli orphan-assets --type laptop --days 60 --agent
```
## Command Reference
**agent-fields** — Manage agent fields
- `freshservice-pp-cli agent-fields` — List agent form fields
**agents** — Manage agents
- `freshservice-pp-cli agents create` — Create an agent
- `freshservice-pp-cli agents delete` — Delete agent
- `freshservice-pp-cli agents get` — Get agent by ID
- `freshservice-pp-cli agents list` — List agents
- `freshservice-pp-cli agents update` — Update agent
**assets** — Manage assets
- `freshservice-pp-cli assets create` — Create an asset
- `freshservice-pp-cli assets delete` — Delete an asset
- `freshservice-pp-cli assets get` — Get asset by display ID
- `freshservice-pp-cli assets list` — List or search assets
- `freshservice-pp-cli assets update` — Update an asset
**canned-responses** — Manage canned responses
- `freshservice-pp-cli canned-responses get` — Get canned response
- `freshservice-pp-cli canned-responses list` — List canned responses
**change-form-fields** — Manage change form fields
- `freshservice-pp-cli change-form-fields` — List change form fields
**changes** — Manage changes
- `freshservice-pp-cli changes create` — Create a change
- `freshservice-pp-cli changes delete` — Delete a change
- `freshservice-pp-cli changes filter` — Filter changes by query
- `freshservice-pp-cli changes get` — Get change by ID
- `freshservice-pp-cli changes list` — List changes
- `freshservice-pp-cli changes update` — Update a change
**contracts** — Manage contracts
- `freshservice-pp-cli contracts` — List contracts
**departments** — Manage departments
- `freshservice-pp-cli departments` — List departments
**groups** — Manage groups
- `freshservice-pp-cli groups create` — Create agent group
- `freshservice-pp-cli groups get` — Get agent group
- `freshservice-pp-cli groups list` — List agent Related in AI Agents
skill-development
IncludedComprehensive meta-skill for creating, managing, validating, auditing, and distributing Claude Code skills and slash commands (unified in v2.1.3+). Provides skill templates, creation workflows, validation patterns, audit checklists, naming conventions, YAML frontmatter guidance, progressive disclosure examples, and best practices lookup. Use when creating new skills, validating existing skills, auditing skill quality, understanding skill architecture, needing skill templates, learning about YAML frontmatter requirements, progressive disclosure patterns, tool restrictions (allowed-tools), skill composition, skill naming conventions, troubleshooting skill activation issues, creating custom slash commands, configuring command frontmatter, using command arguments ($ARGUMENTS, $1, $2), bash execution in commands, file references in commands, command namespacing, plugin commands, MCP slash commands, Skill tool configuration, or deciding between skills vs slash commands. Delegates to docs-management skill for official documentation.
reprompter
IncludedTransform messy prompts into well-structured, effective prompts — single or multi-agent. Use when: "reprompt", "reprompt this", "clean up this prompt", "structure my prompt", rough text needing XML tags and best practices, "reprompter teams", "repromptception", "run with quality", "smart run", "smart agents", multi-agent tasks, audits, parallel work, anything going to agent teams. Don't use when: simple Q&A, pure chat, immediate execution-only tasks. See "Don't Use When" section for details. Outputs: Structured XML/Markdown prompt, quality score (before/after), optional team brief + per-agent sub-prompts, agent team output files. Success criteria: Single mode quality score ≥ 7/10; Repromptception per-agent prompt quality score 8+/10; all required sections present, actionable and specific.
adaptive-compaction
IncludedAdaptive add-on policy and recovery layer that decides WHEN to compact, prune, snapshot, or fork -- replacing fixed-percent auto-compaction across Claude Code, Codex, and MCP-capable hosts. Trigger on auto-compact timing or damage: "when should I compact", "is it safe to compact now or start a fresh session", "auto-compact fires too early/mid-task", "switching to an unrelated task but the window still has space", "context rot", "answers get worse the longer the session runs", "the agent forgot the plan or my decisions after it summarized", "add a layer on top that manages context without changing the agent", raising autoCompactWindow to give the policy room, or installing/tuning a cross-tool compaction policy or PreCompact hook -- even when "compaction" is never said but the problem is context-window pressure or post-summarization memory loss. Do NOT use to summarize a conversation, build RAG, write a summarization prompt (decides WHEN not HOW), or answer max-context-length trivia.
agent-skill-creator
IncludedCreate cross-platform agent skills from workflow descriptions. Activates when users ask to create an agent, automate a repetitive workflow, create a custom skill, or need advanced agent creation. Triggers on phrases like create agent for, automate workflow, create skill for, every day I have to, daily I need to, turn process into agent, need to automate, create a cross-platform skill, validate this skill, export this skill, migrate this skill. Supports single skills, multi-agent suites, transcript processing, template-based creation, interactive configuration, cross-platform export, and spec validation.
llm-wiki
IncludedUse when building or maintaining a persistent personal knowledge base (second brain) in Obsidian where an LLM incrementally ingests sources, updates entity/concept pages, maintains cross-references, and keeps a synthesis current. Triggers include "second brain", "Obsidian wiki", "personal knowledge management", "ingest this paper/article/book", "build a research wiki", "compound knowledge", "Memex", or whenever the user wants knowledge to accumulate across sessions instead of being re-derived by RAG on every query.
skill-master
IncludedAgent Skills authoring, evaluation, and optimization. Create, edit, validate, benchmark, and improve skills following the agentskills.io specification. Use when designing SKILL.md files, structuring skill folders (references, scripts, assets), ingesting external documentation into skills, running trigger evals, benchmarking skill quality, optimizing descriptions, or performing blind A/B comparisons. Keywords: agentskills.io, SKILL.md, skill authoring, eval, benchmark, trigger optimization.