Przejdź do treści
Biblioteka skilli
AI i agenci · Research

static-index

/static-index

Odnajduje istniejące globalne pliki kontekstu w ~/.agents bez zakładania, że pliki opcjonalne istnieją, na przykład profil użytkownika, reguły bezpieczeństwa, konwencje IaC i konfigurację Notion lub Obsidian.

Repozytorium
agent-skills ↗
Licencja
MIT
Ostatnia zmiana repozytorium
01.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
3
Skrypty
2
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 01.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co sprawdzić przed instalacją
  • 2 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

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

Co robi i kiedy

Odnajduje istniejące globalne pliki kontekstu w ~/.agents bez zakładania, że pliki opcjonalne istnieją, na przykład profil użytkownika, reguły bezpieczeństwa, konwencje IaC i konfigurację Notion lub Obsidian.

Wyzwalacze z opisu

내 정보글로벌 설정
Oryginalny opis (EN)

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.

Jak działa

  1. Workflow
  2. Commands
  3. Boundaries
  4. Resource
Sekcje z nagłówków SKILL.md, w oryginale · 67 linii, 427 słów
Podgląd SKILL.md
---
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`.
Pliki w paczce (3)
  • SKILL.md 3 KB
  • scripts/static-index.sh 16 KB
  • tests/test-static-index.sh 18 KB

Wersje

W bazie nie ma innych skilli o nazwie static-index.

Migawka bazy z 13.11.2026 · wersja paczki 6d4b1329e443 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100obsidian-mcp-agent-vault-integration
    Łączy autonomicznych agentów AI z vaultem Obsidian przez serwer Model Context Protocol.
  • 100managing-claude-context
    Konfiguruje i utrzymuje pliki kontekstu projektu ładowane przez Claude Code: CLAUDE.md główny i zagnieżdżone, reguły w .claude/rules/ i indeks rekordów decyzji, by konwencje repozytorium docierały do modelu bez rozdymania sesji.
  • 100context-setup
    Instaluje pliki kontekstu z rejestru po poleceniu /install-context lub gdy kontekstu brakuje, a użytkownik zaczyna pracę.
  • 100context-files
    Tworzy i waliduje pliki kontekstu projektu (AGENTS.md, CLAUDE.md, GEMINI.md) z użyciem analizy bazy kodu, wywiadów z użytkownikiem i formatowania dla konkretnych platform.
  • 100wiki-context-pack
    Tworzy z istniejącego vaulta Obsidian fragment kontekstu z limitem tokenów i gotowymi cytowaniami dla kolejnego agenta lub zadania.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.