Repository navigation
Agent KB_scripts
grisun0 edited this page Oct 16, 2026
·
18 revisions
- Doc: Repository-side maintenance scripts.
- Layer: utility
- Language: py
- Doc: Activate dormant CommandSet migrations.
- Layer: data_access
- Language: py
- Symbols:
-
MigrationError(class, line 28)class MigrationError(Exception) -
find_migrated_sets(function, line 32)def find_migrated_sets() -
extract_command_names(function, line 42)def extract_command_names(migrated_path) -
find_in_lazyown(function, line 52)def find_in_lazyown(command_names) -
remove_from_lazyown(function, line 62)def remove_from_lazyown(locations, dry_run) -
activate_migrated_file(function, line 75)def activate_migrated_file(migrated_path, dry_run) -
main(function, line 88)def main()
-
- Doc: One-shot backfill: add
osandtriggerkeys to every lazyaddon. - Layer: utility
- Language: py
- Symbols:
-
classify_os(function, line 104)def classify_os(filename) -
known_trigger(function, line 121)def known_trigger(name) -
render_trigger(function, line 127)def render_trigger(trigger) -
patch(function, line 141)def patch(path) -
main(function, line 175)def main()
-
- Doc: Verify that documented contracts still exist on disk.
- Layer: utility
- Language: py
- Symbols:
-
ManifestConfig(class, line 34)class ManifestConfig -
_top_level_names(function, line 72)def _top_level_names(path) -
_module_path(function, line 100)def _module_path(module, config) -
_dotted_symbol_exists(function, line 112)def _dotted_symbol_exists(token, config) -
_iter_table_cells(function, line 127)def _iter_table_cells(text) -
_extract_path_tokens(function, line 138)def _extract_path_tokens(text, config) -
_resolve_reference(function, line 154)def _resolve_reference(token, config) -
_collect_doc_imports(function, line 163)def _collect_doc_imports(text) -
check_manifest(function, line 176)def check_manifest(config) -
_extract_dotted_tokens(function, line 209)def _extract_dotted_tokens(text, config) -
main(function, line 229)def main(argv) -
__post_init__(method, line 53)def __post_init__(self) -
_resolve(method, line 58)def _resolve(self, path)
-
- Imported by:
tests/test_contract_manifest.py
- Layer: utility
- Language: py
- Doc: Generate a minimal CycloneDX SBOM from the pinned requirements files.
- Layer: utility
- Language: py
- Symbols:
-
parse_requirement(function, line 25)def parse_requirement(line) -
collect_components(function, line 37)def collect_components(with_ml) -
project_version(function, line 68)def project_version() -
build_sbom(function, line 74)def build_sbom(with_ml) -
main(function, line 92)def main()
-
- Doc: Read-before-you-write journal over GitHub Discussions.
- Layer: utility
- Language: py
- Symbols:
-
JournalError(class, line 48)class JournalError(RuntimeError) -
JournalConfig(class, line 53)class JournalConfig -
_run_git(function, line 90)def _run_git(args) -
_git_remote_slug(function, line 114)def _git_remote_slug() -
_default_runner(function, line 124)def _default_runner(args) -
Journal(class, line 149)class Journal -
_build_parser(function, line 245)def _build_parser() -
main(function, line 264)def main(argv) -
from_git_remote(method, line 71)def from_git_remote(cls, remote, category) -
_graphql(method, line 163)def _graphql(self, query, variables) -
repo_id(method, line 184)def repo_id(self) -
category_id(method, line 192)def category_id(self) -
post(method, line 206)def post(self, title, body) -
entries(method, line 223)def entries(self, limit)
-
- Imported by:
scripts/read_journal.py,tests/test_journal.py
- Doc: — detached Hermes task runner for LazyOwn.
- Layer: utility
- Language: sh
- Doc: — idempotent llama.cpp server manager for LazyOwn.
- Layer: utility
- Language: sh
- Symbols:
-
healthy(function, line 33)
-
- Doc: — one-time local LLM setup for LazyOwn users.
- Layer: infrastructure
- Language: sh
- Symbols:
-
ask(function, line 40)
-
- Doc: — Metasploitable2 smoke lab manager for LazyOwn.
- Layer: utility
- Language: sh
- Doc: Patch operator agent configs to use the Lazy llama.cpp server.
- Layer: infrastructure
- Language: py
- Symbols:
-
_backup(function, line 29)def _backup(path) -
_opencode_path(function, line 36)def _opencode_path() -
_hermes_path(function, line 41)def _hermes_path() -
patch_opencode(function, line 46)def patch_opencode(set_default, host) -
patch_hermes(function, line 93)def patch_hermes(host) -
main(function, line 150)def main(argv)
-
- Imported by:
skills/lazyown_mcp.py
- Doc: Merge _migrated.py CommandSet methods into clean phase modules.
- Layer: utility
- Language: py
- Symbols:
-
_extract_method_source(function, line 38)def _extract_method_source(source, method_name) -
_method_names_from_file(function, line 52)def _method_names_from_file(filepath) -
_find_class_end(function, line 69)def _find_class_end(source_lines) -
_append_methods(function, line 83)def _append_methods(clean_path, methods) -
merge_phase(function, line 117)def merge_phase(phase, dry_run) -
main(function, line 158)def main()
-
- Doc: Staged migration script: extract do_* methods from lazyown.py into cli/commands/.
- Layer: utility
- Language: py
- Symbols:
-
_category_from_decorator(function, line 70)def _category_from_decorator(decorator) -
_indent_level(function, line 84)def _indent_level(line) -
extract_method(function, line 88)def extract_method(source, node) -
rewrite_globals(function, line 96)def rewrite_globals(method_source) -
build_migrated_module(function, line 124)def build_migrated_module(phase, category, methods) -
main(function, line 173)def main()
-
- Imported by:
tests/test_migrate_lazyown_generator.py
- Doc: Mutation gate for LazyOwn.
- Layer: utility
- Language: sh
- Symbols:
-
runners(function, line 29) -
changed_sources(function, line 33) -
usage(function, line 40)
-
- Doc: Consolidated mutation gate for LazyOwn.
- Layer: utility
- Language: py
- Symbols:
-
discover_runners(function, line 25)def discover_runners() -
run_runner(function, line 34)def run_runner(path, timeout_s) -
main(function, line 63)def main(argv)
-
- Doc: Patch APT playbooks: replace placeholder atomic_ids with real technique_ids.
- Layer: utility
- Language: py
- Doc: idempotent bootstrap for the pi_qwen lazyaddon.
- Layer: infrastructure
- Language: sh
- Doc: Publish LazyOwn documentation to the GitHub wiki.
- Layer: utility
- Language: sh
- Symbols:
-
log(function, line 37) -
fail(function, line 38) -
write_home(function, line 58) -
write_installation(function, line 92) -
write_c2_api(function, line 150) -
write_plugins(function, line 174) -
write_sidebar(function, line 188) -
write_footer(function, line 207)
-
- Doc: Print the recent engineering journal before a change is written.
- Layer: utility
- Language: py
- Symbols:
-
_build_parser(function, line 19)def _build_parser() -
main(function, line 29)def main(argv)
-
- Depends on:
scripts/journal.py
- Doc: — register LazyOwn MCP server in Hermes Agent config Usage: bash scripts/setup_hermes_mcp.sh...
- Layer: infrastructure
- Language: sh
- Doc: Smoke test for the 5-minute onboarding path.
- Layer: utility
- Language: sh
- Symbols:
-
check(function, line 8)
-
- Doc: Sync documentation numbers with the live codebase — single source of truth.
- Layer: utility
- Language: py
- Symbols:
-
canonical_command_count(function, line 87)def canonical_command_count(root) -
project_version(function, line 100)def project_version(root) -
measure_stats(function, line 109)def measure_stats(root) -
render(function, line 136)def render(template, stats) -
sync(function, line 141)def sync(check, stats, root) -
main(function, line 165)def main()
-
- Doc: Behavior-driven (BDD) suite gate for LazyOwn.
- Layer: testing
- Language: sh
- Symbols:
-
bdd_modules(function, line 33) -
changed_tests(function, line 37)
-
- Doc: Top-tier hygiene audit for LazyOwn.
- Layer: utility
- Language: py
- Symbols:
-
fail(function, line 23)def fail(message) -
ok(function, line 28)def ok(message) -
count_cli_commands(function, line 32)def count_cli_commands() -
count_mcp_tools(function, line 43)def count_mcp_tools() -
count_addons(function, line 48)def count_addons() -
check_versions(function, line 52)def check_versions() -
check_doc_counts(function, line 70)def check_doc_counts(commands, mcp, addons) -
check_tracked_secrets(function, line 81)def check_tracked_secrets() -
check_release_inputs(function, line 108)def check_release_inputs() -
main(function, line 116)def main()
-
- Doc: Update APT playbooks with real Atomic Red Team test IDs.
- Layer: utility
- Language: py
- Symbols:
-
build_technique_index(function, line 22)def build_technique_index(atomics_path) -
update_playbooks(function, line 46)def update_playbooks(index, playbook_dir)
-
- Doc: CI validation of the AGENTS.md branching model and coding standards.
- Layer: utility
- Language: sh
- Symbols:
-
pass(function, line 23) -
fail(function, line 27) -
check(function, line 32) -
check_no_hardcoded_passwords(function, line 59) -
check_no_hardcoded_wordlists(function, line 74)
-
Generated offline by readmenator from commit 146a52570ef7. Edits here are overwritten by readmenator . --rebuild.
Start
Wiki
- community_0_cli_commands
- community_10_modules_opsec_scorer
- community_11_modules_finding_lifecycle
- community_12_modules_kerberos_core
- community_13_modules_saas_attacks
- community_14_modules_polymorphic_engine
- community_15_contrib_legacy
- community_16_scripts_journal
- community_17_modules_backdoor
- community_18_poc_tui
- community_19_scripts_check_contract_manifest
- community_1_modules_lazyc2
- community_20_scripts_migrate_lazyown
- community_21_tools
- community_22_orphans
- community_2_cli
- community_3_modules_autonomous_daemon
- community_4_modules_lazy_loop
- community_5_lazygui_panels
- community_6_skills_claude_md_orchestrator
- community_7_static_js
- community_8_modules_llm_budget
- community_9_modules_atomic_exploit_bridge
- concepts
- queries
- REPORT
Agent Docs
- API
- API_p10
- API_p11
- API_p12
- API_p13
- API_p14
- API_p15
- API_p16
- API_p17
- API_p18
- API_p19
- API_p2
- API_p20
- API_p21
- API_p22
- API_p23
- API_p3
- API_p4
- API_p5
- API_p6
- API_p7
- API_p8
- API_p9
- ARCHITECTURE
- ARCHITECTURE_p2
- ARCHITECTURE_p3
- ARCHITECTURE_p4
- ARCHITECTURE_p5
- ARCHITECTURE_p6
- ARCHITECTURE_p7
- CONCEPTS
- GOTCHAS
- INDEX
- INDEX_p2
- INDEX_p3
- KB_backdoor
- KB_blueprints
- KB_cgi-bin
- KB_claude_md_orchestrator
- KB_cli
- KB_cli_p2
- KB_cli_p3
- KB_cli_p4
- KB_cli_p5
- KB_commands
- KB_commands_p2
- KB_commands_p3
- KB_commands_p4
- KB_config
- KB_contract
- KB_core
- KB_core_p2
- KB_devtools
- KB_extensions
- KB_hermes-lazyown
- KB_integrations
- KB_js
- KB_js_p2
- KB_js_p3
- KB_js_p4
- KB_lazyc2
- KB_lazygui
- KB_lazyown-docker
- KB_legacy
- KB_legacy_p2
- KB_misc
- KB_modules
- KB_modules_p10
- KB_modules_p11
- KB_modules_p12
- KB_modules_p13
- KB_modules_p14
- KB_modules_p2
- KB_modules_p3
- KB_modules_p4
- KB_modules_p5
- KB_modules_p6
- KB_modules_p7
- KB_modules_p8
- KB_modules_p9
- KB_modules_tools
- KB_palettes
- KB_panels
- KB_plugins
- KB_poc_tui
- KB_root
- KB_root_p2
- KB_rootkit
- KB_scripts
- KB_security
- KB_services
- KB_skills
- KB_skills_claude_md_orchestrator_tests
- KB_skills_p2
- KB_skills_p3
- KB_skills_p4
- KB_skills_p5
- KB_skills_tests
- KB_tests
- KB_tests_p10
- KB_tests_p11
- KB_tests_p12
- KB_tests_p13
- KB_tests_p14
- KB_tests_p15
- KB_tests_p16
- KB_tests_p17
- KB_tests_p2
- KB_tests_p3
- KB_tests_p4
- KB_tests_p5
- KB_tests_p6
- KB_tests_p7
- KB_tests_p8
- KB_tests_p9
- KB_theme
- KB_tools
- KB_widgets
- KB_win_rootkit
- KB_windows
- MEMORY
- SECURITY
- SYMBOLS
- SYMBOLS_p10
- SYMBOLS_p11
- SYMBOLS_p12
- SYMBOLS_p13
- SYMBOLS_p14
- SYMBOLS_p15
- SYMBOLS_p16
- SYMBOLS_p17
- SYMBOLS_p18
- SYMBOLS_p19
- SYMBOLS_p2
- SYMBOLS_p20
- SYMBOLS_p21
- SYMBOLS_p22
- SYMBOLS_p23
- SYMBOLS_p24
- SYMBOLS_p25
- SYMBOLS_p26
- SYMBOLS_p27
- SYMBOLS_p28
- SYMBOLS_p29
- SYMBOLS_p3
- SYMBOLS_p30
- SYMBOLS_p31
- SYMBOLS_p32
- SYMBOLS_p33
- SYMBOLS_p34
- SYMBOLS_p35
- SYMBOLS_p36
- SYMBOLS_p37
- SYMBOLS_p38
- SYMBOLS_p39
- SYMBOLS_p4
- SYMBOLS_p40
- SYMBOLS_p41
- SYMBOLS_p5
- SYMBOLS_p6
- SYMBOLS_p7
- SYMBOLS_p8
- SYMBOLS_p9
Recipes