Artifact saved

From tmargolis/career-navigator · View interactive version

Artifact saved is an AI agent skill from the GitHub repository tmargolis/career-navigator. Runs after artifact writes. Reconciles artifacts-index with files on disk in the user job search folder and prepares an analytics-ready artifact event summary.

How to use this skill

Skill file

Run after new resumes or cover letters are saved to disk (e.g. from tailor-resume / cover-letter), and/or at the start of daily-schedule when PDF/DOCX artifacts exist in {user_dir}. There is no separate plugin hook file in this repository.

Important behavior:

Workflow

1. Resolve `{user_dir}` and validate index file

Check {user_dir}/CareerNavigator/artifacts-index.json.

If missing, output:

Artifact sync skipped: run /career-navigator:launch to initialize artifacts-index.

2. Reconcile artifact inventory

Scan {user_dir} for artifact files used by this plugin (PDF and DOCX).

Cross-check file system state against {user_dir}/CareerNavigator/artifacts-index.json:

For newly added records, set:

Update meta with:

2.5 Auto-ingest source documents

From discovered PDF/DOCX files, identify likely source documents (resume/CV variants).

For each likely source doc not yet represented in ExperienceLibrary:

After auto-ingest attempts, re-read:

Then finalize reconciliation counts.

2.6 Incremental story refresh trigger

After source auto-ingest, check whether any newly discovered or changed files are

story-bearing (resume/CV prose, journal-style notes, debrief notes, PKM exports).

When yes:

When no:

3. Prepare analytics event handoff

Create an event summary payload (for current local logging and future connector handoff):

If analytics connector is not configured, explicitly note:

Analytics connector handoff deferred (no connector configured in this phase).

4. Output format

ArtifactSaved processed.
Added: {n}
Removed: {n}
Unchanged: {n}
Auto-ingested source docs: {n}
Ingest failed: {n}
Story corpus refreshed: {yes/no} ({n_files} changed source file(s))

If Added or Removed > 0, append one short line:

Artifacts index updated to match files currently present in {user_dir}.

Guardrails

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.