Story retrieval

From tmargolis/career-navigator · View interactive version

Story retrieval is an AI agent skill from the GitHub repository tmargolis/career-navigator. Retrieves a small, competency-matched subset of interview stories from CareerNavigator/StoryCorpus.json for prep and mock interview workflows. Returns only the highest-fit stories so the model can expand into STAR responses without loading full raw journals.

How to use this skill

Skill file

Select targeted stories from the persistent story corpus for immediate interview use.

Workflow

1. Resolve `{user_dir}` and gate

Require {user_dir}/CareerNavigator/StoryCorpus.json.

If missing or empty:

2. Build retrieval intent

Use available interview context:

Derive desired competencies/themes for this specific interview.

3. Rank stories

For each story in corpus, score by:

4. Return compact context set (Layer 3)

Return only a small subset:

Output each item as:

5. Optional STAR promotion

For top stories with incomplete STAR fields:

6. Handoff contract for interview-coach

When invoked by prep/mock flows, provide a compact handoff payload:

{
  "retrieval_context": {
    "company": "...",
    "role": "...",
    "interview_stage": "..."
  },
  "selected_stories": [
    {
      "story_id": "...",
      "summary": "...",
      "competencies": ["..."],
      "themes": ["..."],
      "star_ready": true
    }
  ]
}

This payload is the preferred interview evidence input for interview-coach.

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.