chore: untrack tracker CSV, scope scraper Bash permission, fix portal SKILL.md paths (#71)

- Untrack job_search_tracker.csv: it was both tracked and listed in
  .gitignore (same inconsistency class as the settings.local.json fix
  in #27). Users' personal rows risked merge conflicts on every pull;
  commands already create the file with the standard header when it
  is missing.
- Scope job-scraper's allowed-tools Bash entry (from #52) to
  'bun --version' and the portal-CLI invocation pattern, adopting the
  tighter form proposed in #65.
- Fix all five portal SKILL.mds documenting 'bun run skills/...'
  paths that do not resolve from the repo root ('.agents/skills/...'
  is correct) - now load-bearing since #52 wired /scrape to read
  these docs for CLI invocations. Surfaced in #66.
- Teach tools/lint_skills.py to glob-expand allowed-tools bun run
  targets so scoped wildcard permissions lint correctly.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
Mads Lorentzen
2026-07-08 17:14:39 +02:00
committed by GitHub
co-authored by Claude Fable 5
parent 3c7a1cfdf5
commit a5ffcc39ff
8 changed files with 72 additions and 65 deletions
+16 -16
View File
@@ -17,7 +17,7 @@ description: >
work in denmark, employment denmark, job denmark, jobs near me denmark,
apprentice denmark, internship denmark, part-time denmark, full-time denmark.
context: fork
allowed-tools: Bash(bun run skills/jobdanmark-search/cli/src/cli.ts *)
allowed-tools: Bash(bun run .agents/skills/jobdanmark-search/cli/src/cli.ts *)
---
# Jobdanmark Search Skill
@@ -42,7 +42,7 @@ Invoke this skill when the user wants to:
### Search job listings
```bash
bun run skills/jobdanmark-search/cli/src/cli.ts search [flags]
bun run .agents/skills/jobdanmark-search/cli/src/cli.ts search [flags]
```
Key flags:
@@ -62,7 +62,7 @@ Key flags:
### Full job detail
```bash
bun run skills/jobdanmark-search/cli/src/cli.ts detail <slug> [--format json|plain]
bun run .agents/skills/jobdanmark-search/cli/src/cli.ts detail <slug> [--format json|plain]
```
`slug` is the URL path segment returned as `slug` in `search` results (e.g. `it-chef-soeges-til-rah`).
@@ -71,7 +71,7 @@ Returns full structured job data from the job page's JSON-LD, including title, o
### List categories with live counts
```bash
bun run skills/jobdanmark-search/cli/src/cli.ts categories [--format json|table|plain]
bun run .agents/skills/jobdanmark-search/cli/src/cli.ts categories [--format json|table|plain]
```
Returns all 10 job categories with current live job counts. Useful for giving the user an overview of the job market.
@@ -79,7 +79,7 @@ Returns all 10 job categories with current live job counts. Useful for giving th
### Autocomplete job titles and categories
```bash
bun run skills/jobdanmark-search/cli/src/cli.ts autocomplete --query "<text>" [--limit <n>]
bun run .agents/skills/jobdanmark-search/cli/src/cli.ts autocomplete --query "<text>" [--limit <n>]
```
Use this to resolve search terms into precise job title IDs (`--jobtitle-id`) or category IDs (`--category`) for `search`. The `value` field in results is the ID to pass to `search`.
@@ -87,7 +87,7 @@ Use this to resolve search terms into precise job title IDs (`--jobtitle-id`) or
### Suggest locations
```bash
bun run skills/jobdanmark-search/cli/src/cli.ts locations --query "<text>" [--limit <n>]
bun run .agents/skills/jobdanmark-search/cli/src/cli.ts locations --query "<text>" [--limit <n>]
```
Returns matching municipalities, zip codes, and regions. Use `value` from results as `--municipality` or `--zip` in `search`.
@@ -116,13 +116,13 @@ Returns matching municipalities, zip codes, and regions. Use `value` from result
**Resolve locations first.** Use `locations` to find the correct municipality name or zip code before passing them to `search`:
```bash
bun run skills/jobdanmark-search/cli/src/cli.ts locations --query "Aarhus" --format plain
bun run .agents/skills/jobdanmark-search/cli/src/cli.ts locations --query "Aarhus" --format plain
```
**Resolve job titles for precision.** Use `autocomplete` to get the exact job title ID when the user wants a specific role:
```bash
bun run skills/jobdanmark-search/cli/src/cli.ts autocomplete --query "sygeplejerske" --format plain
bun run .agents/skills/jobdanmark-search/cli/src/cli.ts autocomplete --query "sygeplejerske" --format plain
```
**Natural workflow: `search` → `detail`.**
@@ -142,7 +142,7 @@ bun run skills/jobdanmark-search/cli/src/cli.ts autocomplete --query "sygeplejer
### IT jobs in Copenhagen
```bash
bun run skills/jobdanmark-search/cli/src/cli.ts search \
bun run .agents/skills/jobdanmark-search/cli/src/cli.ts search \
--category 227978 \
--municipality "København" \
--job-type fuldtid \
@@ -152,7 +152,7 @@ bun run skills/jobdanmark-search/cli/src/cli.ts search \
### Nursing jobs anywhere in Denmark
```bash
bun run skills/jobdanmark-search/cli/src/cli.ts search \
bun run .agents/skills/jobdanmark-search/cli/src/cli.ts search \
--text "sygeplejerske" \
--category 227975 \
--format table
@@ -161,7 +161,7 @@ bun run skills/jobdanmark-search/cli/src/cli.ts search \
### Student jobs in Aarhus
```bash
bun run skills/jobdanmark-search/cli/src/cli.ts search \
bun run .agents/skills/jobdanmark-search/cli/src/cli.ts search \
--municipality "Aarhus" \
--job-type studiejob \
--format table
@@ -170,25 +170,25 @@ bun run skills/jobdanmark-search/cli/src/cli.ts search \
### What job categories are most active right now?
```bash
bun run skills/jobdanmark-search/cli/src/cli.ts categories --format table
bun run .agents/skills/jobdanmark-search/cli/src/cli.ts categories --format table
```
### Full details for a specific job posting
```bash
bun run skills/jobdanmark-search/cli/src/cli.ts detail it-chef-soeges-til-rah --format plain
bun run .agents/skills/jobdanmark-search/cli/src/cli.ts detail it-chef-soeges-til-rah --format plain
```
### Find jobs in zip code 8000
```bash
bun run skills/jobdanmark-search/cli/src/cli.ts search --zip 8000 --format table
bun run .agents/skills/jobdanmark-search/cli/src/cli.ts search --zip 8000 --format table
```
### What electrician jobs are available?
```bash
bun run skills/jobdanmark-search/cli/src/cli.ts search \
bun run .agents/skills/jobdanmark-search/cli/src/cli.ts search \
--text "elektriker" \
--category 227973 \
--job-type "fuldtid,deltid" \
@@ -198,7 +198,7 @@ bun run skills/jobdanmark-search/cli/src/cli.ts search \
### Apprentice positions in all of Denmark
```bash
bun run skills/jobdanmark-search/cli/src/cli.ts search \
bun run .agents/skills/jobdanmark-search/cli/src/cli.ts search \
--job-type elev \
--page 1 \
--format table