Przejdź do treści
Biblioteka skilli
DevOps i chmura · Automatyzacja

fieldflow-cli

/fieldflow-cli

Ogranicza zaszumiony JSON z poleceń CLI, takich jak gcloud, gh, kubectl i aws, zanim trafi do kontekstu modelu: najpierw inspekcja, potem wybór pól.

Repozytorium
fieldflow ↗
Licencja
MIT
Ostatnia zmiana repozytorium
20.05.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
2
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
0
Przestarzałość

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

Licencja

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

Co robi i kiedy

Ogranicza zaszumiony JSON z poleceń CLI, takich jak gcloud, gh, kubectl i aws, zanim trafi do kontekstu modelu: najpierw inspekcja, potem wybór pól.

Oryginalny opis (EN)

Use FieldFlow to inspect and reduce noisy JSON CLI output before it reaches model context. Trigger for read-only external CLI tasks likely to return large structured output, especially logs, list, describe, get, read, query, search, metrics, or status commands from tools like gcloud, gh, kubectl, aws, or similar CLIs that can emit JSON. Prefer `fieldflow-cli inspect` first, then rerun with explicit `--field` selectors. Do not use for tiny local commands, text-only commands, or mutating commands unless explicitly asked.

Jak działa

  1. Qualify The Command
  2. Inspect First
  3. Pick Minimal Fields
  4. Run The Reduced Command
  5. JSON Output Rules
  6. Gcloud Example
Sekcje z nagłówków SKILL.md, w oryginale · 107 linii, 412 słów
Podgląd SKILL.md
---
name: fieldflow-cli
description: Use FieldFlow to inspect and reduce noisy JSON CLI output before it reaches model context. Trigger for read-only external CLI tasks likely to return large structured output, especially logs, list, describe, get, read, query, search, metrics, or status commands from tools like gcloud, gh, kubectl, aws, or similar CLIs that can emit JSON. Prefer `fieldflow-cli inspect` first, then rerun with explicit `--field` selectors. Do not use for tiny local commands, text-only commands, or mutating commands unless explicitly asked.
---

# FieldFlow CLI

Use this skill to keep large JSON CLI output out of model context.

## Qualify The Command

Use `fieldflow-cli` only when all of these are true:

- The command is read-only.
- The command is external or service-facing, not a tiny local shell command.
- The command can emit JSON on stdout.
- The expected output is likely large enough that raw output would pollute context.

Do not use this skill for commands like `pwd`, `date`, `ls`, `git status`, `rg`, or any mutating command such as `deploy`, `apply`, `delete`, or `create`.

## Inspect First

Run `fieldflow-cli inspect` before choosing selectors unless you already have a manifest for the exact same wrapped command.

```bash
fieldflow-cli inspect --sample-items 100 -- <wrapped command>
```

The inspect step writes a compact field catalog under `.fieldflow/inspect/` and prints the manifest to stdout. Treat that manifest as the source of truth for valid selectors.

The manifest is deterministic and intentionally small:

- `path`
- `types`

It does not store raw command output.

## Pick Minimal Fields

Choose the smallest field set that answers the user’s question.

Prefer fields like:

- timestamps
- severity or status
- identifiers or names
- URLs
- concise message fields
- latency, count, or state fields

Avoid broad selectors such as `[]` or whole nested objects unless the task truly needs them.

## Run The Reduced Command

After choosing selectors, rerun the command through `fieldflow-cli`.

```bash
fieldflow-cli \
  --field "[].timestamp" \
  --field "[].severity" \
  --field "[].jsonPayload.message" \
  -- \
  <wrapped command>
```

If the result is too narrow, broaden the selectors and rerun the reduced call. Do not fall back to raw output unless the user explicitly asks for it.

## JSON Output Rules

Prefer the CLI’s native JSON mode:

- `gcloud`: `--format=json`
- `kubectl`: `-o json`
- `gh`: `--json ...`
- `aws`: JSON is already standard, or use `--output json` when needed

If the command cannot emit JSON, do not use this skill.

## Gcloud Example

For noisy Cloud Run request or error logs:

```bash
fieldflow-cli inspect --sample-items 100 -- \
  gcloud logging read \
    'resource.type="cloud_run_revision" AND resource.labels.service_name="program-api-service" AND severity>=ERROR' \
    --project=train-3328b \
    --freshness=24h \
    --limit=2000 \
    --format=json
```

Then reduce to the smallest useful fields, for example:

```bash
fieldflow-cli \
  --field "[].timestamp" \
  --field "[].severity" \
  --field "[].httpRequest.requestMethod" \
  --field "[].httpRequest.requestUrl" \
  --field "[].httpRequest.status" \
  --field "[].httpRequest.latency" \
  -- \
  gcloud logging read \
    'resource.type="cloud_run_revision" AND resource.labels.service_name="program-api-service" AND severity>=ERROR' \
    --project=train-3328b \
    --freshness=24h \
    --limit=2000 \
    --format=json
```
Pliki w paczce (2)
  • SKILL.md 3 KB
  • agents/openai.yaml 1 KB

Wersje

W bazie nie ma innych skilli o nazwie fieldflow-cli.

Migawka bazy z 28.10.2026 · wersja paczki 5c52aac12b98 (skrót SHA-256 całej paczki)

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

Podobne skille

  • 100using-cloud-cli
    Podaje wzorce pracy z CLI chmur GCP i AWS: zapytania bq, polecenia gcloud i aws, optymalizacja kosztów BigQuery oraz dobre praktyki operacyjne.
  • 100safe-sre-investigator
    Konfiguruje konta serwisowe tylko do odczytu do badań GCP i Kubernetes i ocenia ryzyko sugerowanych poleceń gcloud oraz kubectl.
  • 100k8s-cli
    Obsługuje CLI kubectl-mcp-server: odkrywanie narzędzi, bezpośrednie wywołania z wiersza poleceń i diagnostykę stanu serwera.
  • 100gcloud
    Doradza przy gcloud CLI i Google Cloud SDK: instalacja i komponenty (bq, gsutil, kubectl), gcloud init, uwierzytelnianie (ADC, konta usługowe, impersonacja, workload identity federation) i konfiguracje.
  • 100gcloud
    Wprowadza walidację, zabezpieczenia i ograniczanie danych dla poleceń gcloud CLI w usługach i infrastrukturze Google Cloud, przy planowaniu, generowaniu i wykonywaniu poleceń.
  • 90dev10x:aws-vault
    Pobiera sekrety z AWS Secrets Manager i wykonuje wyłącznie odczytowe polecenia kubectl przez aws-vault.

Uwagi i zgłoszenia

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