agentleFS
vasceannievasceannie/slopgate/.agents/skills/gitnexus-area-payloads/SKILL.md

gitnexus-area-payloads

Skill1 starsChanged 51 days agoMITView on GitHub

Skill for the Payloads area of slopgate. 101 symbols across 15 files.

We split this skill into the rules it gives an agent

2 rules. About 0 are common, 2 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Start here when exploring this area:

    line 33
  2. Distinctive:

    Read key files listed above for implementation details

    line 85

≈ “Common” is an estimate: at least 1 in 5 of the 308,232 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Payloads

101 symbols | 15 files | Cohesion: 74%

When to Use

  • Working with code in src/
  • Understanding how find_command_has_mutation, is_mutating_shell_command, is_safe_read_shell_command work
  • Modifying payloads-related functionality

Key Files

FileSymbols
src/slopgate/util/payloads/_shell.py_has_embedded_mutating_shell, _has_interpreter_write_snippet, _has_mutating_shell_command_substitution, _has_mutating_shell_verb, _has_unsafe_shell_redirection (+15)
src/slopgate/util/payloads/_intent.py_shell_read_intent, _shell_tool_intent, _normalized_tool_name, _tool_name, is_read_only_tool_use (+12)
src/slopgate/util/payloads/targets.py_content_from_lines, _edit_items, ctx_execute_content_target, multi_edit_content_targets, patch_candidate_paths (+9)
src/slopgate/util/payloads/_properties.pyshell_command, content_targets, intent_reason, read_only, HookPayloadProperties (+5)
src/slopgate/util/payloads/_shell_content.py_clean_path, _echo_redirect_targets, _heredoc_content_targets, _python_heredoc_scripts, _python_inline_scripts (+5)
src/slopgate/util/payloads/_shell_paths.py_is_shell_glob_token, _shell_option_value, append_unique_shell_path, powershell_candidate_paths, shell_redirection_paths (+2)
src/slopgate/util/payloads/_basic.pyextract_content_from_mapping, extract_path_from_mapping, first_present, is_edit_like_tool, is_shell_tool (+2)
src/slopgate/util/payloads/_patches.py_patch_path_from_line, extract_added_patch_content, parse_patch_candidate_paths, _parse_patch_contents, _record_patch_content (+2)
src/slopgate/rules/common/_shell_read.py_is_makefile_target_execution, _is_sed_transform, is_safe_bash_read
src/slopgate/util/payloads/_shell_script_writes.pyscript_api_write_paths

Entry Points

Start here when exploring this area:

  • find_command_has_mutation (Function) — src/slopgate/util/payloads/_shell.py:165
  • is_mutating_shell_command (Function) — src/slopgate/util/payloads/_shell.py:287
  • is_safe_read_shell_command (Function) — src/slopgate/util/payloads/_shell.py:304
  • script_write_paths (Function) — src/slopgate/util/payloads/_shell.py:322
  • shell_command_executable_paths (Function) — src/slopgate/util/payloads/_shell.py:144

Key Symbols

SymbolTypeFileLine
HookPayloadClasssrc/slopgate/util/payloads/_payload.py11
HookPayloadPropertiesClasssrc/slopgate/util/payloads/_properties.py169
find_command_has_mutationFunctionsrc/slopgate/util/payloads/_shell.py165
is_mutating_shell_commandFunctionsrc/slopgate/util/payloads/_shell.py287
is_safe_read_shell_commandFunctionsrc/slopgate/util/payloads/_shell.py304
script_write_pathsFunctionsrc/slopgate/util/payloads/_shell.py322
shell_command_executable_pathsFunctionsrc/slopgate/util/payloads/_shell.py144
shell_command_pathsFunctionsrc/slopgate/util/payloads/_shell.py333
shell_tokensFunctionsrc/slopgate/util/payloads/_shell.py151
append_unique_shell_pathFunctionsrc/slopgate/util/payloads/_shell_paths.py42
powershell_candidate_pathsFunctionsrc/slopgate/util/payloads/_shell_paths.py87
shell_redirection_pathsFunctionsrc/slopgate/util/payloads/_shell_paths.py111
shell_token_path_candidatesFunctionsrc/slopgate/util/payloads/_shell_paths.py66
script_api_write_pathsFunctionsrc/slopgate/util/payloads/_shell_script_writes.py37
extract_content_from_mappingFunctionsrc/slopgate/util/payloads/_basic.py49
extract_path_from_mappingFunctionsrc/slopgate/util/payloads/_basic.py28
first_presentFunctionsrc/slopgate/util/payloads/_basic.py18
extract_added_patch_contentFunctionsrc/slopgate/util/payloads/_patches.py28
parse_patch_candidate_pathsFunctionsrc/slopgate/util/payloads/_patches.py19
ctx_execute_content_targetFunctionsrc/slopgate/util/payloads/targets.py70

Execution Flows

FlowTypeSteps
Evaluate → _carrier_textcross_community9
Evaluate → _text_from_mappingcross_community9
Evaluate → _is_leading_shell_assignmentcross_community9
Evaluate → _carrier_textcross_community9
Evaluate → _text_from_mappingcross_community9
Evaluate → Object_dictcross_community9
Evaluate → Object_dictcross_community9
Evaluate → Shell_tokenscross_community8
Evaluate → _is_leading_shell_assignmentcross_community8
Evaluate → _carrier_textcross_community8

How to Explore

  1. context({name: "find_command_has_mutation"}) — see callers and callees
  2. query({search_query: "payloads"}) — find related execution flows
  3. Read key files listed above for implementation details
  4. explain({target: "<file or symbol>"}) — persisted taint findings (source→sink data flows), when indexed with --pdg

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.