Skip to content
Back to skills

Get Directives

ASecurity

Load user profile and AI personality directives. Returns structured context for personalizing skill behavior and communication style.

  • 666 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added September 2, 2026
ai-agentsrustgobash

Security analysis

A100/100

Scanned September 2, 2026

npx -y skills add majiayu000/claude-skill-registry --skill get-directives --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Get Directives?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Get Directives
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-get-directives/badge)](https://www.skillsdirectory.com/skills/majiayu000-get-directives)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: get-directives
description: Load user profile and AI personality directives. Returns structured context for personalizing skill behavior and communication style.
disable-model-invocation: true
allowed-tools: Read, Bash(ls)
---

# Get Directives Sub-Skill

Loads the user profile and AI personality files from the Directives folder. Returns structured data for other skills to use for personalization.

## Prerequisites

This sub-skill expects `$VAULT` to be set by the calling skill (via `get-config`).

## File Locations

- **User Profile:** `$VAULT/00_Brain/Systemic/Directives/user-profile.md`
- **AI Personality:** `$VAULT/00_Brain/Systemic/Directives/ai-personality.md`

## Execution Steps

### 1. Check File Existence

Check if the Directives folder and files exist:

```bash
ls -la "$VAULT/00_Brain/Systemic/Directives/"
```

Track which files are present or missing.

### 2. Load User Profile (if exists)

If `user-profile.md` exists, read the file and extract:

**From frontmatter:**
- `name` - Full name
- `preferred_name` - How to address the user
- `role` - Job title/position

**From sections:**
- `## Overview` → `what_i_do`
- `## Work Context` → `focus_areas`, `team_org`, `communication_style`
- `## Goals & Growth` → `key_goals`, `leadership_identity`, `growth_edge`
- `## Coaching Context` → `patterns_to_watch`, `grounding_questions`, `success_definition`

### 3. Load AI Personality (if exists)

If `ai-personality.md` exists, read the file and extract:

**From frontmatter:**
- `formality` - casual/formal
- `directness` - direct/balanced/soft
- `humor` - high/medium/low/none

**From sections:**
- `## Communication Style` → detailed style preferences
- `## Coaching Approach` → `support_challenge`, `proactive_input`, `feedback_style`
- `## Interaction Patterns` → `questions_suggestions`, `autonomy_level`, `disagreement_handling`

### 4. Return Structured Result

Return JSON output for the orchestrator to capture:

**Success (both files loaded):**
```json
{
  "success": true,
  "user": {
    "name": "Michael Rüger",
    "preferred_name": "Michi",
    "role": "Senior Engineering Manager",
    "leadership_identity": "Coach and multiplier...",
    "growth_edge": "Delegation and trust...",
    "patterns_to_watch": ["Over-engineering", "Context switching"],
    "grounding_questions": ["What would make this week a win?"],
    "key_goals": ["Scale the team", "Improve delivery"],
    "success_definition": "Team thriving independently"
  },
  "ai": {
    "formality": "casual",
    "directness": "direct",
    "humor": "medium",
    "feedback_style": "direct",
    "proactive_input": true,
    "autonomy_level": "high"
  }
}
```

**Partial (some files missing):**
```json
{
  "success": true,
  "partial": true,
  "missing": ["ai-personality.md"],
  "user": { ... },
  "ai": null,
  "message": "Directives partially loaded. Run `/init` to complete setup."
}
```

**No files:**
```json
{
  "success": false,
  "error": "no_directives",
  "message": "No directives found. Using default communication style.",
  "suggestion": "Run `/init` to personalize your 2bd experience."
}
```

For backwards compatibility, also output human-readable summary:
```
Directives loaded successfully.

User: {preferred_name} ({role})
- Leadership Identity: {leadership_identity}
- Growth Edge: {growth_edge}
- Patterns to Watch: {patterns_to_watch}
- Grounding Questions: {grounding_questions}

AI Style: {formality}, {directness}, humor={humor}
- Feedback Style: {feedback_style}
- Autonomy: {autonomy_level}
```

## Usage Guide for Parent Skills

### How to Apply User Profile

| Field | Use For |
|-------|---------|
| `preferred_name` | Address the user by name ("Good morning, Michi!") |
| `leadership_identity` | Frame leadership intentions and suggestions |
| `growth_edge` | Generate growth-focused coaching prompts |
| `patterns_to_watch` | Proactive reminders when patterns might emerge |
| `grounding_questions` | Include in reflection/insight sections |
| `key_goals` | Connect daily work to larger objectives |
| `success_definition` | Frame wins and progress |

### How to Apply AI Personality

| Field | Effect |
|-------|--------|
| `formality: casual` | Conversational tone, no corporate speak |
| `formality: formal` | Professional, structured communication |
| `directness: direct` | Say what needs to be said, no softening |
| `directness: balanced` | Direct but considerate |
| `humor: high` | Include humor, make it enjoyable |
| `humor: low/none` | Keep it professional, minimal humor |
| `feedback_style: direct` | Give feedback straight, no sandwich method |
| `proactive_input: yes` | Suggest and advise without being asked |
| `autonomy_level` | How much to check in vs. execute independently |

### Graceful Degradation

If directives aren't loaded:
- Use neutral, professional tone as default
- Skip personalized coaching references
- At the end of the skill, suggest running `/init`

## Difference from Coaching Context

| Source | Purpose | Stability |
|--------|---------|-----------|
| **Directives** | WHO the user is, HOW to communicate | Stable (rarely changes) |
| **Year.md/Quarter.md** | WHAT they're focused on now | Temporal (changes by period) |

Skills should load BOTH:
1. Directives first (identity and style)
2. Then temporal coaching context (current goals and focus)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.