Skip to content
Skills Library
AI & agents · Research

static-index

/static-index

Locates existing global context files under ~/.agents without assuming that optional files exist. Use when a task needs the user's profile, security rules, IaC conventions, service registry, Notion/Obsidian/Vault configuration, personas, or a direct "내 정보" or "글로벌 설정" lookup. Do not use it to enumerate installed skills.

Licence
MIT
Last repository change
01.10.2026

Assessment and security

100/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content35 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
3
Scripts
2
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 01.10.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What to check before installing
  • 2 scripts in this package. Review them before installing, as Claude may execute them.

Scripts: scripts/static-index.sh, tests/test-static-index.sh

What it does and when to use it

Locates existing global context files under ~/.agents without assuming that optional files exist. Use when a task needs the user's profile, security rules, IaC conventions, service registry, Notion/Obsidian/Vault configuration, personas, or a direct "내 정보" or "글로벌 설정" lookup. Do not use it to enumerate installed skills.

Triggers from the description

내 정보글로벌 설정
Original author description

Locates existing global context files under ~/.agents without assuming that optional files exist. Use when a task needs the user's profile, security rules, IaC conventions, service registry, Notion/Obsidian/Vault configuration, personas, or a direct "내 정보" or "글로벌 설정" lookup. Do not use it to enumerate installed skills.

How it works

  1. Workflow
  2. Commands
  3. Boundaries
  4. Resource
Original SKILL.md headings · 67 lines, 427 words
SKILL.md preview
---
name: static-index
description: Locates existing global context files under ~/.agents without assuming that optional files exist. Use when a task needs the user's profile, security rules, IaC conventions, service registry, Notion/Obsidian/Vault configuration, personas, or a direct "내 정보" or "글로벌 설정" lookup. Do not use it to enumerate installed skills.
---

# Static Context Index

Return the minimum relevant global context path, then read only what the current
task needs. Never assume a listed type exists; verify it first.

## Workflow

1. Resolve this skill directory and prefer the bundled
   `scripts/static-index.sh` helper.
2. Search by type or natural-language query.
3. Confirm the returned file exists.
4. Read only the relevant section. Avoid printing credentials or unrelated
   personal data.

## Commands

```bash
# Discover the actual files currently present. Installed skills are excluded.
scripts/static-index.sh list

# Search paths by user intent. The query is matched as a literal string, both
# against the type keywords and, when none match, against file contents.
scripts/static-index.sh search "보안 규칙"
scripts/static-index.sh search "IaC 배포"

# A search that matches nothing also returns non-zero, so exit status alone
# distinguishes "no such context" from a hit.

# Resolve one known type. A missing optional file returns non-zero.
scripts/static-index.sh get security
scripts/static-index.sh get iac
scripts/static-index.sh get notion
```

Supported types are `whoami`, `security`, `context`, `iac`, `services`,
`obsidian`, `notion`, `vault`, `korean`, `readme`, and `persona`. The repository may
contain only a subset; `list` is the source of truth.

## Boundaries

- `~/.agents/skills` is Codex's user skill directory, not static context. Every
  candidate that `list`, `refresh`, `search`, or `get` would return is excluded
  by its own real location, so neither a directory symlink nor a file symlink
  nor a symlink chain pointing into that tree reintroduces it under another
  name. A candidate whose real location cannot be resolved is dropped rather
  than published. Refusing a candidate never hides a legitimate file of the same
  name deeper in the tree: `get` and `search` fall through to it, so they agree
  with `list` instead of reporting the type missing.
- When several files share a name, the shallowest path wins and ties break
  lexicographically, so a nested backup copy is never served in place of the
  live root file.
- Do not create missing files unless the user asks to configure that context.
- Do not expose secret values from Vault, Notion, or other integration files in
  summaries.
- Do not refresh `.index.json` unless a persistent index was requested; normal
  `list`, `search`, and `get` operations are read-only.
- `refresh` builds into a sibling temporary file and renames it into place, and
  fails without touching the existing index when the directory walk fails. An
  empty `files` array therefore means the directory really is empty.

## Resource

- `scripts/static-index.sh`: Bash 3.2-compatible context discovery helper.
- `tests/test-static-index.sh`: hermetic behavioural tests. Each case builds its
  own throwaway `AGENTS_DIR`, so the suite never touches `~/.agents`.
Files in this package (3)
  • SKILL.md 3 KB
  • scripts/static-index.sh 16 KB
  • tests/test-static-index.sh 18 KB

Versions

The database has no other skills named static-index.

Database snapshot: 13.11.2026 · package version 6d4b1329e443 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 100obsidian-mcp-agent-vault-integration
    Use this skill when integrating autonomous AI agents with an Obsidian vault via the Model Context Protocol (MCP) server.
  • 100managing-claude-context
    Sets up and maintains the project-context files Claude Code loads — root and nested `CLAUDE.md`, path-scoped rules in `.claude/rules/`, and a decision-record index — so a repository's conventions reach the model without bloating every session. Use when a repository has no…
  • 100context-setup
    Install context files from registry. Use when user runs /install-context, says "install context", "setup context", or when context is missing and the user needs to get started.
  • 100context-files
    Create or validate project context files (AGENTS.md, CLAUDE.md, GEMINI.md). Use when bootstrapping a new project, initializing agent configuration, writing a context file, or when asked to create, review, audit, or validate an existing context file. Handles codebase archaeology,…
  • 100wiki-context-pack
    Produce a token-bounded, citation-ready context slice from an existing Obsidian vault for a downstream agent or task. Use for "/wiki-context-pack", "use my vault as context", "context slice for X", "pack the wiki for my agent", or "bounded context for Y".

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.