Log and track all agent activities, providing visibility into agent communications, actions, and workflow progress.
/plugin marketplace add marcel-Ngan/ai-dev-team/plugin install marcel-ngan-ai-dev-team@marcel-Ngan/ai-dev-teamThis skill inherits all available tools. When active, it can use any tool Claude has access to.
Log and track all agent activities, providing visibility into agent communications, actions, and workflow progress.
| Type | Code | Description | Example |
|---|---|---|---|
| Receive | RECV | Agent receives input | Request from stakeholder |
| Analyze | ANLZ | Agent analyzes information | Requirements analysis |
| Decision | DECN | Agent makes a decision | Story prioritization |
| Create | CREA | Agent creates artifact | Jira ticket created |
| Update | UPDT | Agent updates artifact | Story modified |
| Handoff | HAND | Agent transfers to another | BA ā PO |
| Escalate | ESCL | Agent escalates issue | Needs stakeholder input |
| Complete | COMP | Agent completes task | Workflow step done |
| Block | BLCK | Agent encounters blocker | Missing information |
interface ActivityLogEntry {
// Identity
id: string; // Unique entry ID
timestamp: string; // ISO 8601 timestamp
session_id: string; // Workflow session
// Agent
agent: string; // Agent name
agent_icon: string; // Agent emoji
// Action
action_type: ActivityType; // RECV, ANLZ, DECN, etc.
action_description: string; // Human-readable description
// Context
workflow?: string; // Parent workflow
related_tickets?: string[]; // Jira tickets
related_docs?: string[]; // Confluence pages
// Details
input?: any; // What triggered this
output?: any; // What was produced
decision?: DecisionRecord; // If decision was made
// Handoff
target_agent?: string; // If handoff
handoff_context?: string; // Context passed
// Metadata
duration_ms?: number; // Time spent
status: 'success' | 'pending' | 'blocked' | 'failed';
}
## Log Action
**Agent:** {{agent_name}}
**Type:** {{action_type}}
**Description:** {{description}}
**Context:**
{{context_details}}
**Artifacts:**
- {{artifact_list}}
**Next:** {{next_action}}
## Log Handoff
**From:** {{source_agent}}
**To:** {{target_agent}}
**Time:** {{timestamp}}
**Work Completed:**
{{completed_work}}
**Artifacts Transferred:**
- {{artifacts}}
**Context for Next Agent:**
{{handoff_context}}
**Decisions Made:**
{{decisions_summary}}
**Open Items:**
{{open_items}}
## Log Blocker
**Agent:** {{agent_name}}
**Blocked At:** {{timestamp}}
**Workflow Step:** {{step}}
**Blocker:**
{{blocker_description}}
**Impact:**
- Workflow: {{workflow_impact}}
- Timeline: {{timeline_impact}}
**Resolution Options:**
1. {{option_1}}
2. {{option_2}}
**Escalated To:** {{escalation_target}}
## Recent Activity Query
### Filters
- Time range: Last {{hours}} hours
- Agents: {{agent_filter}}
- Types: {{type_filter}}
- Tickets: {{ticket_filter}}
### Results
| Time | Agent | Type | Description |
|------|-------|------|-------------|
{{activity_rows}}
## Workflow Activity: {{workflow_name}}
**Session:** {{session_id}}
**Started:** {{start_time}}
**Status:** {{status}}
### Activity Timeline
{{timeline_entries}}
### Summary
- Total actions: {{action_count}}
- Decisions made: {{decision_count}}
- Handoffs: {{handoff_count}}
- Blockers: {{blocker_count}}
- Duration: {{duration}}
š¤ **{{agent_name}}** - {{timestamp}}
**Action:** {{action_type}}
{{action_description}}
**Context:**
{{context}}
**Artifacts:**
{{artifacts}}
**Next Steps:**
{{next_steps}}
# {{workflow_name}} Activity Log
## Session: {{session_id}}
| Time | Agent | Action | Details | Artifacts |
|------|-------|--------|---------|-----------|
{{activity_table_rows}}
## Decisions Made
{{decisions_section}}
## Blockers Encountered
{{blockers_section}}
Activity is automatically logged at these points:
Agents can add manual log entries for:
observability-decision-trail - Decision trackingobservability-workflow-trace - Workflow visualizationjira-comment-logging - Jira integrationconfluence-meeting-notes - DocumentationAtlassian:addCommentToJiraIssue - Log to JiraAtlassian:createConfluencePage - Activity documentationAtlassian:updateConfluencePage - Update logsThis skill should be used when the user asks to "create a slash command", "add a command", "write a custom command", "define command arguments", "use command frontmatter", "organize commands", "create command with file references", "interactive command", "use AskUserQuestion in command", or needs guidance on slash command structure, YAML frontmatter fields, dynamic arguments, bash execution in commands, user interaction patterns, or command development best practices for Claude Code.
This skill should be used when the user asks to "create an agent", "add an agent", "write a subagent", "agent frontmatter", "when to use description", "agent examples", "agent tools", "agent colors", "autonomous agent", or needs guidance on agent structure, system prompts, triggering conditions, or agent development best practices for Claude Code plugins.
This skill should be used when the user asks to "create a hook", "add a PreToolUse/PostToolUse/Stop hook", "validate tool use", "implement prompt-based hooks", "use ${CLAUDE_PLUGIN_ROOT}", "set up event-driven automation", "block dangerous commands", or mentions hook events (PreToolUse, PostToolUse, Stop, SubagentStop, SessionStart, SessionEnd, UserPromptSubmit, PreCompact, Notification). Provides comprehensive guidance for creating and implementing Claude Code plugin hooks with focus on advanced prompt-based hooks API.