Agent skill

Kouchou AI Architecture

by digitaldemocracy2030 in digitaldemocracy2030/kouchou-ai

Project architecture, core services, key directories, data flow, and tech stack for the kouchou-ai repository.

AGPL-3.0Auto-check passedTesting & QA

Install Kouchou AI Architecture

skills CLI
$ npx skills add digitaldemocracy2030/kouchou-ai --skill kouchou-ai-architecture -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install digitaldemocracy2030/kouchou-ai kouchou-ai-architecture --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/digitaldemocracy2030/kouchou-ai.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/kouchou-ai-architecture .claude/skills/kouchou-ai-architecture && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
kouchou-ai-architecture
GitHub stars
171
Token cost
~720 tokens
SKILL.md length
309 words
Files
1
Skills in repo
3
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Project architecture, core services, key directories, data flow, and tech stack for the kouchou-ai repository.

  • You need an overview of components
  • SKILL.md covers Overview, Core services and ports, Key directories and Pipeline architecture and…, plus 3 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Pipeline structure

What it does

Kouchou AI Architecture is an agent skill from digitaldemocracy2030/kouchou-ai. Project architecture, core services, key directories, data flow, and tech stack for the kouchou-ai repository. Use when you need an overview of components, pipeline structure, or where code lives.

Its SKILL.md is about 720 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Testing & QA. It works with Next.js. The repository describes itself as: 広聴AI (デジタル民主主義2030ブロードリスニング). The licence is AGPL-3.0.

When your agent uses it

  • You need an overview of components
  • Pipeline structure
  • Where code lives

Example prompts

  • “/kouchou-ai-architecture”

What it can do on your machine

Read from SKILL.md and the folder at commit c297bc9. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Kouchou AI Architecture loads about 720 tokens when it runs. Until then it costs about 55 tokens; SKILL.md has 309 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~55
When it runs · the whole SKILL.md, loaded when a task matches
~720

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from digitaldemocracy2030/kouchou-ai at commit c297bc9, republished under its AGPL-3.0 licence (© digitaldemocracy2030). 309 words, ~720 tokens.

Download SKILL.mdSave it as .claude/skills/kouchou-ai-architecture/SKILL.md (or your agent's skills folder).
name
kouchou-ai-architecture
description
Project architecture, core services, key directories, data flow, and tech stack for the kouchou-ai repository. Use when you need an overview of components, pipeline structure, or where code lives.

Kouchou-AI Architecture

Overview

Use this skill to orient yourself in the repo and explain how the system fits together. Remember that Kouchou-AI is a broadlistening system for the Digital Democracy 2030 project, adapted from Talk to the City for Japanese municipal use cases.

Core services and ports

  • Locate the API (FastAPI) in apps/api/ and expect it on port 8000.
  • Locate the public viewer (Next.js) in apps/public-viewer/ and expect it on port 3000.
  • Locate the admin app (Next.js) in apps/admin/ and expect it on port 4000.
  • Locate the static site builder in apps/static-site-builder/ and expect it on port 3200.
  • Expect the optional Ollama service on port 11434 for local LLM usage.
  • Expect Ollama to use the ELYZA-JP model by default.

Key directories

  • Use packages/analysis-core/src/analysis_core/ for analysis steps, orchestration, services, and workflows.
  • Use apps/api/broadlistening/pipeline/ for runtime configs, inputs, and outputs managed by the API.
  • Use apps/public-viewer/components/charts/ and apps/public-viewer/components/report/ for report UI and charts.
  • Use apps/admin/app/create/ and apps/admin/app/create/hooks/ for report creation UI.
  • Use apps/api/src/routers/, apps/api/src/services/, apps/api/src/schemas/, and apps/api/src/repositories/ for API layers.

Pipeline architecture and report flow

  • Follow the flow: CSV upload -> API validation -> pipeline run -> hierarchical output -> public viewer.
  • Start API-side orchestration at apps/api/src/services/report_launcher.py.
  • Start CLI-side orchestration at packages/analysis-core/src/analysis_core/__main__.py and packages/analysis-core/src/analysis_core/orchestrator.py.
  • Expect API-managed outputs under apps/api/broadlistening/pipeline/outputs/{report_id}/.

Technology stack

  • Treat the backend as FastAPI + OpenAI GPT models + sentence-transformers + pandas/numpy/scipy.
  • Treat the frontend as Next.js 15 + TypeScript + Chakra UI + Plotly.js.
  • Use pytest, Jest, and Playwright for testing.
  • Use Biome (frontend) and Ruff (backend) for linting and formatting.
  • Expect Azure Blob Storage support for storage needs.
  • Use Lefthook for Git hooks (pre-push) as configured in lefthook.yml.

Configuration pointers

  • Check biome.json, apps/api/pyproject.toml, lefthook.yml, and .env.example for core config.

Operational notes

  • Require an OpenAI API key or local LLM for full pipeline runs.
  • Validate LLM output for bias before acting on results.
  • Back up report data before upgrading or applying breaking changes.
  • Expect breaking changes between versions.

© digitaldemocracy2030, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/kouchou-ai-architecture of digitaldemocracy2030/kouchou-ai.

Open the folder on GitHubat commit c297bc9

Compare with similar skills

Kouchou AI Architecture next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Kouchou AI Architecture compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Kouchou AI Architecture this skilldigitaldemocracy2030/kouchou-ai171—~720Automated safety check: PassAGPL-3.0
Senior QAnicepkg/auto-company1953 repos~1.1kAutomated safety check: NotesNone
Next Cache Components Optimizersanity-io/ui1766 repos~6.3kAutomated safety check: PassMIT
Playwright Coretestdino-hq/playwright-skill3901 repos~1.4kAutomated safety check: PassMIT
Frontend Verifyucsandman/marketing-studio251—~2.4kAutomated safety check: PassMIT
Testingtrieb-work/nextjs-turbo-redis-cache151—~1.1kAutomated safety check: PassMIT

Similar skills

  • Senior QA

    nicepkg/auto-company

    Comprehensive QA and testing skill for quality assurance, test automation, and testing strategies for ReactJS, NextJS, NodeJS applications.

    195 GitHub starsUsed in 3 repos~1.1k tokens
    Testing & QAAuto-check: notes
  • Official

    Drive a Next.js route to instant navigation by setting up an agentic loop, under Cache Components / PPR, on initial load (hard navigation) and client-side navigation (soft navigation).

    176 GitHub starsUsed in 6 repos~6.3k tokens
    Testing & QAAuto-check passed
  • Playwright Core

    testdino-hq/playwright-skill

    Battle-tested Playwright patterns for writing and debugging reliable E2E, API, component, visual, accessibility, and security tests.

    390 GitHub starsUsed in 1 repo~1.4k tokens
    Testing & QAAuto-check passed
  • Frontend Verify

    ucsandman/marketing-studio

    Verify frontend changes end to end after editing a web app, instead of manually clicking through pages.

    251 GitHub stars~2.4k tokensUpdated 1 mo ago
    Testing & QAAuto-check passed
  • Testing

    trieb-work/nextjs-turbo-redis-cache

    Run tests and add Next.js version coverage for the cache handler.

    151 GitHub stars~1.1k tokensUpdated 2 days ago
    Testing & QAAuto-check passed
  • Javascript Testing Expert

    softmaple/softmaple

    Expert-level JavaScript testing skill focused on writing high-quality tests that find bugs, serve as documentation, and prevent regressions.

    161 GitHub starsUsed in 1 repo~4k tokens
    Testing & QAAuto-check passed

More from digitaldemocracy2030/kouchou-ai

  • Kouchou AI Development

    digitaldemocracy2030/kouchou-ai

    Local development setup, build and lint commands, environment configuration, and deployment helpers for the kouchou-ai repo.

    171 GitHub stars~540 tokensUpdated yesterday
    Auto-check: notes
  • Kouchou AI Testing

    digitaldemocracy2030/kouchou-ai

    Testing commands and strategy for the kouchou-ai repo, including unit/integration tests and Playwright E2E rules.

    171 GitHub stars~355 tokensUpdated yesterday
    Auto-check passed

Works with

Categories

Questions about Kouchou AI Architecture

What does Kouchou AI Architecture do?

Project architecture, core services, key directories, data flow, and tech stack for the kouchou-ai repository. Kouchou AI Architecture is an agent skill from digitaldemocracy2030/kouchou-ai. Project architecture, core services, key directories, data flow, and tech stack for the kouchou-ai repository.

When should I use Kouchou AI Architecture?

Kouchou AI Architecture fits situations like: you need an overview of components; pipeline structure; where code lives.

How do I install Kouchou AI Architecture in Claude Code?

Run `npx skills add digitaldemocracy2030/kouchou-ai --skill kouchou-ai-architecture -a claude-code`. Or copy the skill folder (skills/kouchou-ai-architecture in digitaldemocracy2030/kouchou-ai) into .claude/skills/kouchou-ai-architecture in your project. Claude Code loads it when a task matches its description.

How do I install Kouchou AI Architecture in Codex?

Run `npx skills add digitaldemocracy2030/kouchou-ai --skill kouchou-ai-architecture -a codex`. Or copy the skill folder (skills/kouchou-ai-architecture in digitaldemocracy2030/kouchou-ai) into .agents/skills/kouchou-ai-architecture in your project. Codex loads it when a task matches its description.

Can I use Kouchou AI Architecture in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add digitaldemocracy2030/kouchou-ai --skill kouchou-ai-architecture -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/kouchou-ai-architecture, .gemini/skills/kouchou-ai-architecture, .github/skills/kouchou-ai-architecture and .opencode/skills/kouchou-ai-architecture in your project.

What does Kouchou AI Architecture need to run?

SKILL.md names no scripts, command-line tools or credentials: Kouchou AI Architecture is instructions for the agent only.

Does Kouchou AI Architecture access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Kouchou AI Architecture safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Kouchou AI Architecture use?

Kouchou AI Architecture is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Kouchou AI Architecture use?

About 720 tokens (SKILL.md is roughly 2.9k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Kouchou AI Architecture?

Skills that share tags, products or a category with Kouchou AI Architecture: Senior QA (nicepkg/auto-company, 195 stars), Next Cache Components Optimizer (sanity-io/ui, 176 stars), Playwright Core (testdino-hq/playwright-skill, 390 stars) and Frontend Verify (ucsandman/marketing-studio, 251 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Kouchou AI Architecture?

digitaldemocracy2030 (a GitHub organization) maintains it in digitaldemocracy2030/kouchou-ai, which has 171 GitHub stars. The repository holds 3 skills in this directory. The repository was last updated on October 10, 2026.

Source: digitaldemocracy2030/kouchou-ai on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.