Agent skill

Architecture Research

by majiayu000 in majiayu000/spellbook

Evidence-driven architecture research for understanding real systems and making technical decisions.

MITAuto-check passed

Install Architecture Research

skills CLI
$ npx skills add majiayu000/spellbook --skill architecture-research -a claude-code

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

GitHub CLI
$ gh skill install majiayu000/spellbook architecture-research --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/majiayu000/spellbook.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/architecture-research .claude/skills/architecture-research && 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
architecture-research
GitHub stars
287
Token cost
~2.8k tokens
SKILL.md length
1,375 words
Files
3 (incl. references)
Skills in repo
97
Repo updated
First seen
Licence
MIT

At a glance

Evidence-driven architecture research for understanding real systems and making technical decisions.

  • Works in 8 steps: State the decision question → Recover existing context without… → Select representative alternatives → …
  • Doing architecture landscape studies
  • SKILL.md covers Operating Contract, Workflow, Common failure modes and Done when
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Architecture Research is an agent skill from majiayu000/spellbook. Evidence-driven architecture research for understanding real systems and making technical decisions. Use when doing architecture landscape studies, source-backed system archaeology, build-vs-buy or adopt/adapt/build decisions, open-source and commercial comparisons, revisiting an earlier architecture choice, or handling requests such as 架构调研, 架构选型, 竞品架构, 技术尽调, 同类方案, 开源替代, how is X built, and what should we learn from X. Do not use for small mechanical changes, market-only discovery, or detailed design after the…

Its SKILL.md is about 2.8k tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including reference files (for example `references/architecture-lenses.md` and `references/evidence-matrix.md`).

The repository describes itself as: Cross-runtime skills for Claude Code, Codex, and multi-agent workflows. The licence is MIT.

When your agent uses it

  • Doing architecture landscape studies
  • Source-backed system archaeology
  • Adopt/adapt/build decisions
  • Open-source and commercial comparisons

Example prompts

  • “/architecture-research”

Workflow steps

8 steps, taken from the step headings in SKILL.md.

  1. State the decision question
  2. Recover existing context without inheriting its claims
  3. Select representative alternatives
  4. Build an evidence ledger
  5. Trace the real system
  6. Test decision-relevant claims
  7. Evaluate adoption reality
  8. Make and bound the decision

What it can do on your machine

Read from SKILL.md and the folder at commit ed52af7. 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

Architecture Research loads about 2.8k tokens when it runs, and up to ~5.9k if it reads all its reference files. Until then it costs about 144 tokens; SKILL.md has 1,375 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~144
When it runs · the whole SKILL.md, loaded when a task matches
~2.8k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~5.9k

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 majiayu000/spellbook at commit ed52af7, republished under its MIT licence (© majiayu000). 1,375 words, ~2,835 tokens.

Download SKILL.mdSave it as .claude/skills/architecture-research/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
architecture-research
description
Evidence-driven architecture research for understanding real systems and making technical decisions. Use when doing architecture landscape studies, source-backed system archaeology, build-vs-buy or adopt/adapt/build decisions, open-source and commercial comparisons, revisiting an earlier architecture choice, or handling requests such as 架构调研, 架构选型, 竞品架构, 技术尽调, 同类方案, 开源替代, how is X built, and what should we learn from X. Do not use for small mechanical changes, market-only discovery, or detailed design after the technology direction is already fixed.

Architecture Research

Understand how real systems work before committing to a technical direction. Produce a decision artifact backed by inspectable evidence, not a feature table, vendor narrative, or speculative target architecture.

Read both references before completing decision-grade work:

Operating Contract

  • Direct actions: read-only discovery, source inspection, local experiments, decision recovery, comparison, and drafting within the requested access path.
  • Escalate before: paid API use, new accounts or legal terms, publication of non-public findings, remote mutations, or an unauthorized production choice.
  • Evidence-backed pushback: challenge category errors, unsupported architecture claims, false equivalence, and premature hyperscale design with cited facts.
  • Feedback loop: test decisive claims, record unknowns and reversal evidence, then re-open the decision when its review trigger fires.
Scope and handoff

Use this skill for four related tasks:

  • Landscape research: identify and compare relevant systems or approaches.
  • System archaeology: reconstruct how a system actually works from source, deployment material, tests, runtime evidence, and authoritative documents.
  • Architecture decision: choose whether to adopt, adapt, build, defer, or retain the current system.
  • Decision reassessment: recover an earlier decision, check whether its assumptions still hold, and keep or revise it using current evidence.

This skill owns external research, evidence, comparison, and the decision boundary. Once a direction is selected, hand detailed internal boundaries, contracts, and target architecture to architecture-foundation. Use product-discovery for customer or market validation without a technical decision question.

Respect the requested access path and repository instructions. Never expose credentials or reproduce private implementation details in a public artifact.

Do not invoke this workflow for a small bug fix, rename, formatting change, routine dependency use, or when the foundational technology is explicitly fixed by the user or nearest repository instructions.

Workflow

1. State the decision question

Before searching, write a compact research brief:

  • User outcome and the exact capability the system must own.
  • Current boundary, missing layer, and the decision to make.
  • One or more representative quality scenarios: stimulus, operating condition, expected response, and measurable success.
  • Constraints that matter now: scale horizon, freshness, latency, quality, privacy, deployment, budget, licensing, data ownership, and team capacity.
  • Explicit non-goals and the cost of making no change.

Scale research depth to decision risk. Reversible component choices need less evidence than a new source of truth, data platform, hosted dependency, or one-way migration.

Challenge category errors early. A browser, API wrapper, scraper, search index, agent runtime, and answer engine can share a surface while owning different capabilities.

2. Recover existing context without inheriting its claims

When prior decisions, incidents, chats, ADRs, or benchmarks exist, extract:

  • The decision and alternatives considered at the time.
  • Assumptions, constraints, unresolved unknowns, and promised validation.
  • What was actually implemented and what happened in operation.
  • Which facts are stale, contradicted, or were never verified.

Prefer focused summaries, exact excerpts, decision records, and runtime artifacts over loading whole conversation archives. Treat prior conclusions as leads until their evidence is re-opened.

3. Select representative alternatives

Search before proposing architecture. Include only alternatives that can change the decision:

  • Maintained open-source systems with inspectable source and deployment paths.
  • Commercial systems with authoritative technical material.
  • Standards, public datasets, protocols, and lower-level reusable components.
  • The current system and the option to make no change.

Classify each candidate as direct, adjacent, component, or non-comparable. Do not pad the comparison to reach an arbitrary count. Decide the possible reuse unit: whole system, subsystem, component, protocol, data model, or pattern.

4. Build an evidence ledger

Prefer primary evidence in this order:

  1. Source code, tests, manifests, schemas, releases, and reproducible runtime behavior.
  2. Official technical documentation, papers, standards, patents, and engineering posts.
  3. Official product, license, and pricing material for product-level claims.
  4. Independent measurements whose method, date, and environment are visible.

For current products, dependencies, pricing, licenses, or architecture, browse and record the date or revision. Use secondary sources only to locate primary evidence or to add clearly attributed independent evaluation.

Tag every decision-relevant claim:

  • Verified: directly supported by cited code, documentation, or measurement.
  • Inferred: supported by evidence but not stated directly; include the reasoning and confidence.
  • Unknown: not revealed by available evidence; say what would resolve it.

Preserve contradictions. A public SDK, plugin, or MCP server proves an interface exists; it does not prove that the underlying data, model, index, scheduler, or hosted control plane is open or independently reproducible.

5. Trace the real system

Apply the relevant lenses from architecture-lenses.md. At minimum answer:

  • What is the end-to-end path from input to user-visible result?
  • Who owns each data, control, and operational boundary?
  • What is authoritative, what is derived, and what is only ephemeral?
  • What survives restart, and how are stale or divergent states reconciled?
  • Is each claimed capability merely declared, actually implemented, wired into the live path, exercised, and measured?
  • Which decisions are sensitivity or trade-off points for the named scenarios?

Inspect open-source implementation, tests, releases, and self-host deployment, not only the README. For closed systems, draw a visible boundary around the public surface and keep the hidden core unknown.

Show full SKILL.md (534 more words)Show less
6. Test decision-relevant claims

When practical, run the same small representative workload against viable options. Define before running:

  • Question, candidate versions, corpus or scenario, and expected result.
  • Scoring rule, environment, hardware, commands, and raw result location.
  • Failure behavior and recovery test when statefulness is part of the decision.

Measure the property that can change the decision: coverage, correctness, freshness, extraction fidelity, latency, throughput, resource use, operability, or recovery. A component existing in source is not evidence that the production path uses it.

If a fair test cannot run, state the missing credential, dataset, environment, or budget and retain the uncertainty. Do not turn a vendor benchmark or demo into local proof.

7. Evaluate adoption reality

For an adoption candidate, check more than technical fit:

  • Maintenance and release activity, governance, contributor concentration, and response to security or correctness issues.
  • License obligations, distribution model, deployment complexity, upgrade path, and operational ownership.
  • Supply-chain posture, tests, release provenance, and dependency risk where relevant.
  • Unit cost, switching cost, lock-in, and the exit path if the project or vendor changes direction.

Automated project-health or security scores are leads, not final truth. Inspect the checks, their applicability, and counterevidence.

8. Make and bound the decision

Choose one disposition for each useful idea:

  • Adopt: use the existing solution substantially as supplied.
  • Adapt: reuse a bounded unit while owning the differentiating layer.
  • Build: implement because ownership is itself required or candidates fail a named constraint.
  • Defer: evidence is insufficient or the capability is not needed now.
  • Retain: keep the current system because change is not yet justified.

Tie the recommendation to the research brief and quality scenarios. State:

  • Selected direction, reuse unit, and accepted quality trade-offs.
  • Rejected alternatives and what should not be copied.
  • Risks, unknowns, and evidence that would reverse the decision.
  • Smallest validation milestone and observable success condition.
  • Exit path or review trigger for assumptions likely to change.
  • Inputs for architecture-foundation: selected components, constraints, ownership decisions, unresolved questions, and prohibited dependencies.

A long-term ambition can justify staged validation, but not speculative layers in the current implementation.

Common failure modes

  • Comparing feature names instead of system boundaries and scenarios.
  • Treating self-hostable orchestration as ownership of upstream data or models.
  • Equating a database row with a recoverable workflow or authoritative state.
  • Counting declared modules without checking wiring, execution, and measurement.
  • Assuming a public client repository contains a commercial product's core.
  • Copying hyperscale architecture before proving a bounded workload.
  • Ignoring acquisition, provenance, lifecycle, recovery, and evaluation while focusing only on algorithms or storage.
  • Ranking choices with invented precision or unconfirmed weights.
  • Treating repository popularity or an automated score as adoption proof.
  • Hiding unknowns behind confident prose or silently degrading when research access fails.

Done when

The decision artifact contains:

  • A bounded decision question, scenarios, constraints, and no-change baseline.
  • Candidate classification and a named reuse unit for viable options.
  • An evidence ledger with citations and verified/inferred/unknown labels.
  • End-to-end, ownership, authority, recovery, and capability-maturity analysis.
  • Trade-offs and decision-relevant tests, or an explicit test blocker.
  • Adoption viability when a third-party dependency is recommended.
  • An adopt/adapt/build/defer/retain decision, rejected alternatives, accepted risks, reversal evidence, exit or review trigger, and smallest milestone.

Before claiming completion, re-open decisive sources, check dates and revisions, and run repository-required validation for any changed files.

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

Files

SKILL.md and 2 other files (references) in skills/architecture-research of majiayu000/spellbook.

  • SKILL.md
  • references/architecture-lenses.md
  • references/evidence-matrix.md

Open the folder on GitHubat commit ed52af7

Compare with similar skills

Architecture Research 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.

Architecture Research compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Architecture Research this skillmajiayu000/spellbook287—~2.8kAutomated safety check: PassMIT
Video Understandcalesthio/OpenMontage66k—~841Automated safety check: PassAGPL-3.0
Understand ExplainEgonex-AI/Understand-Anything86k—~1.3kAutomated safety check: PassMIT
Understanding by Design PlannerTHU-MAIC/OpenMAIC40k—~548Automated safety check: PassMIT
Understand Diff AnalysisEgonex-AI/Understand-Anything86k—~1.4kAutomated safety check: PassMIT
Understand Issuemastra-ai/mastra29k—~3.1kAutomated safety check: PassCustom licence

Similar skills

  • Video Understand

    calesthio/OpenMontage

    Understand video content locally using ffmpeg frame extraction and Whisper transcription.

    66k GitHub stars~841 tokensUpdated 8 days ago
    Media & CreativeAuto-check passed
  • Understand Explain

    Egonex-AI/Understand-Anything

    Gives an in-depth explanation of one file, function or module by reading the project's knowledge graph and checking that the graph is still fresh.

    86k GitHub stars~1.3k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Plans an OpenMAIC lesson or course series by backward design: enduring understandings and essential questions first, then performance evidence, then learning activities.

    40k GitHub stars~548 tokensUpdated today
    EducationAuto-check passed
  • Understand Diff Analysis

    Egonex-AI/Understand-Anything

    Reads your git changes or a pull request against a prebuilt knowledge graph of the project to explain what changed, which components are affected and what is risky.

    86k GitHub stars~1.4k tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Understand Issue

    mastra-ai/mastra

    Investigate a GitHub issue or reported bug the way a seasoned maintainer would — form an independent model before reading the thread's theories, trace the mechanism and history, verify the…

    29k GitHub stars~3.1k tokensUpdated today
    DevelopmentAuto-check passed
  • Understand PR

    mastra-ai/mastra

    Review a PR the way a seasoned maintainer would — build an independent model before seeing the diff, investigate the implementation and history, verify material claims, and return a concise briefing.

    29k GitHub stars~5.3k tokensUpdated today
    DevelopmentAuto-check passed

More from majiayu000/spellbook

All 97 skills in this repo
  • Skill Ecosystem Doctor

    majiayu000/spellbook

    Audits and repairs how coding-agent Skills are owned, copied and exposed across runtimes, from canonical sources to quarantine and retirement.

    287 GitHub stars~3k tokensUpdated 3 days ago
    Auto-check passed
  • AGENTS.md Scaffold

    majiayu000/spellbook

    Scans a repository for real evidence and proposes, or on request writes, a small stack of root and scoped AGENTS.md files with validation commands and generated-file boundaries.

    287 GitHub stars~1.5k tokensUpdated 3 days ago
    Auto-check passed
  • Product Demo Builder

    majiayu000/spellbook

    Plans, produces or diagnoses evidence-backed product demo videos: script, capture plan, pacing checks and verified final media built on real product behavior.

    287 GitHub stars~3.3k tokensUpdated 3 days ago
    Auto-check passed
  • Flowguard Task Guard

    majiayu000/spellbook

    Single entry point that routes long or ambiguous agent tasks, checks live state, bounds autonomous loops and leaves a resumable handoff.

    287 GitHub stars~2.1k tokensUpdated 3 days ago
    Auto-check passed
  • npm Supply Chain Check

    majiayu000/spellbook

    Scans a repository, its lockfiles and node_modules for known malicious npm package versions and install-time indicators, using a read-only Python scanner.

    287 GitHub stars~1.5k tokensUpdated 3 days ago
    Auto-check passed
  • Product Manager Toolkit

    majiayu000/spellbook

    Product management helpers: a RICE scoring script, an interview transcript analyzer and PRD templates for prioritizing features, synthesizing research and writing requirements.

    287 GitHub stars~2.2k tokensUpdated 3 days ago
    Auto-check passed

Questions about Architecture Research

What does Architecture Research do?

Evidence-driven architecture research for understanding real systems and making technical decisions. Architecture Research is an agent skill from majiayu000/spellbook. Evidence-driven architecture research for understanding real systems and making technical decisions.

When should I use Architecture Research?

Architecture Research fits situations like: doing architecture landscape studies; source-backed system archaeology; adopt/adapt/build decisions; open-source and commercial comparisons.

How do I install Architecture Research in Claude Code?

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

How do I install Architecture Research in Codex?

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

Can I use Architecture Research 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 majiayu000/spellbook --skill architecture-research -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/architecture-research, .gemini/skills/architecture-research, .github/skills/architecture-research and .opencode/skills/architecture-research in your project.

What does Architecture Research need to run?

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

Does Architecture Research 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 Architecture Research 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 Architecture Research use?

Architecture Research is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Architecture Research use?

About 2.8k tokens (SKILL.md is roughly 11k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.1k tokens, read only when the agent opens those files.

What are the alternatives to Architecture Research?

Skills that share tags, products or a category with Architecture Research: Video Understand (calesthio/OpenMontage, 66k stars), Understand Explain (Egonex-AI/Understand-Anything, 86k stars), Understanding by Design Planner (THU-MAIC/OpenMAIC, 40k stars) and Understand Diff Analysis (Egonex-AI/Understand-Anything, 86k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Architecture Research?

majiayu000 (a GitHub user) maintains it in majiayu000/spellbook, which has 287 GitHub stars. The repository holds 97 skills in this directory. The repository was last updated on October 8, 2026.

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