unrestricted-repository-architect

unrestricted-repository-architect is a skill for Claude Code, Codex from conectlens/lenserfight. It costs 49 tokens per session (881 once invoked), scanned A, original, MIT.

A repository-architecture approach that first investigates an existing codebase before proposing changes or new structure.

In plain words
What is it for?
It helps design, audit, refactor, and expand complex repositories while preserving conventions, maintainability, transparency, and backward compatibility where practical.
Why use it?
It reduces the risk of imposing rigid schemas, directories, or abstractions that do not fit the software already there.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It helps design, audit, refactor, and expand complex repositories while preserving conventions, maintainability, transparency, and backward compatibility where practical.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/conectlens/lenserfight/unrestricted-repository-architect
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add conectlens/lenserfight --skill unrestricted-repository-architect
Clone the repo
git clone --depth 1 https://github.com/conectlens/lenserfight

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for unrestricted-repository-architect

README.md
[![agentmods](https://agentmods.dev/badge/skills/conectlens/lenserfight/unrestricted-repository-architect/github.svg)](https://agentmods.dev/skills/conectlens/lenserfight/unrestricted-repository-architect)
Your own site
<a href="https://agentmods.dev/skills/conectlens/lenserfight/unrestricted-repository-architect"><img src="https://agentmods.dev/badge/skills/conectlens/lenserfight/unrestricted-repository-architect/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for unrestricted-repository-architect

Your own site · 80×15
<a href="https://agentmods.dev/skills/conectlens/lenserfight/unrestricted-repository-architect"><img src="https://agentmods.dev/badge/skills/conectlens/lenserfight/unrestricted-repository-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 881 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.00881
Opus 5.5 $0.00020 $0.00352
Sonnet 5.5 $0.00010 $0.00176
Haiku 4.5 $0.00005 $0.00088

Measured 1mo ago against content hash 92a22f90d6ba, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

unrestricted-repository-architect scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.lenserfight/lenses/unrestricted-repository-architect/SKILL.md · 218 lines

How it starts

The opening of the file, as written. The whole thing — 218 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Unrestricted Repository Architect

Philosophy

The AI must not behave like a static code generator.

The AI must behave like:

  • a systems architect,
  • repository investigator,
  • tooling engineer,
  • DX engineer,
  • and implementation strategist.

The AI should discover the system before defining the system.

Avoid premature assumptions.

Avoid rigid scaffolding unless the repository proves it is necessary.

The repository is the source of truth.


Core Behavioral Rules

DO

  • Explore the codebase deeply
  • Read existing architecture before proposing new architecture
  • Infer conventions from existing implementations
  • Follow existing repository style where reasonable
  • Detect inconsistencies
  • Detect stale abstractions
  • Detect undocumented behavior
  • Identify missing systems
  • Identify duplicated logic
  • Improve developer experience
  • Explain tradeoffs
  • Prefer maintainable architecture
  • Prefer transparent systems
  • Keep implementations inspectable
  • Allow extensibility
  • Preserve backward compatibility where practical

DO NOT

  • Force rigid YAML schemas prematurely
  • Hardcode directory structures before discovery
  • Invent unnecessary abstractions
  • Over-engineer configuration systems
  • Assume package structure
  • Assume CLI patterns
  • Assume framework choices
  • Restrict AI exploration unnecessarily
  • Create fake architecture disconnected from the repository
  • Document non-existent features
  • Create static examples that become stale quickly

Repository Discovery Workflow

Before implementation:

  1. Inspect repository structure
  2. Inspect package boundaries
  3. Inspect build system
  4. Inspect configuration loading
  5. Inspect CLI behavior
  6. Inspect existing abstractions
  7. Inspect docs structure
  8. Inspect test patterns
  9. Inspect naming conventions
  10. Inspect runtime assumptions
  11. Inspect developer workflows
  12. Inspect CI/CD behavior

Only after discovery:

  • propose architecture,
  • define abstractions,
  • implement missing systems,
  • and expand documentation.

Read the full file on GitHub · 218 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 218 lines · 49 tokens per session scan A 92a22f90d6ba

Subscribe to this mod's changes

unrestricted-repository-architect is a skill published in the GitHub repository conectlens/lenserfight (18 stars, last pushed 6d ago), licensed MIT. It adds 49 tokens to every session and 881 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

potpie-cli

Use when the task is centered on running, explaining, configuring, or troubleshooting the potpie command: doctor, login, pot management, source registration, resolve/search/record, graph workbench reads/writes, resource (document payload) commands, and pot scope behavior.

potpie-ai/potpie · 60 tokens

potpie-debug-memory

Use while debugging or troubleshooting failures, flaky tests, incidents, production alerts, CI failures, local dev setup issues, repeated bugs, prior fixes, failed attempts, and verification history.

potpie-ai/potpie · 41 tokens

fix-security-vulnerabilities-with-strix

Fix security vulnerabilities found by a Strix pentest (open-source CLI or app.strix.ai cloud) — triage by severity, patch the root cause rather than the symptom, and re-run Strix to prove each fix actually closes the exploit. Handles injection, XSS, SSRF, broken access control, IDOR, and other validated findings. Use…

usestrix/strix · 124 tokens

ci-security-scanning-with-strix

Add security scanning to CI/CD with Strix — GitHub Actions, GitLab CI, or any pipeline — so every pull request gets a diff-scoped AI pentest that blocks vulnerable code before it merges, with results as PR comments and SARIF uploaded to code scanning. Covers both the self-hosted open-source CLI (runs in your runner)…

usestrix/strix · 140 tokens

verify-omnigent

Drive Omnigent the way a user does and prove a behavior with recorded evidence, using an isolated server, runner, and mock model plus a feature map of every user entry point. Load before reproducing a user-facing bug, before claiming a fix works, or when reviewing whether a change covered every surface (session vs.…

omnigent-ai/omnigent · 100 tokens

iterate-implementation

Only use when the user explicitly invokes this skill by name.

humanlayer/humanlayer · 16 tokens