Skip to content

Ordinary prose marks analyzers degraded (obfuscated_instruction_text, static_parse_limit) #868

Open

Description

@naamanhirschfeld-armis

Environment: SkillSpector main cf5cac7 (version string 2.12.0), Python 3.12, macOS, --no-llm. Profiled on a 71-file, 431 KB skill.

A 9.3 KB SKILL.md (an operational runbook, no obfuscation) yields obfuscated_instruction_text, which marks 13 analyzers degraded and is_complete: false. It is deterministic and reproduces on an unloaded machine. Across 249 SKILL.md files we get 23 SKILLSPECTOR-INCOMPLETE findings (7 obfuscated_instruction_text, 16 static_parse_limit / tool_misuse) and 18 AE1 HIGH findings. Related: #694 (static_parse_limit), #515, #695.

Activity

  1. elliottwaves-20 commented on Oct 19, 2026

    @elliottwaves-20
    Contributor

    We hit the same two exceptions on a small, Markdown-only skill (firecrawl/cli → skills/firecrawl-monitor, 3 files, --no-llm, main 95a52d89). The LLM stage is not involved. Below are the minimal triggers and root causes for both.

    1. obfuscated_instruction_text: fix in #882

    Minimal trigger: a fenced shell example with the same placeholder on two lines.

    ```bash
    firecrawl monitor run <monitorId>
    firecrawl monitor delete <monitorId>
    ```

    _sentence_boundaries reads the three backticks of the fence line as quote open/close/open. The quote stays open until the next fence, so every newline in the fence is swallowed and both lines form one clause. delete <monitorId> then reads as a removal directive bound to run <monitorId>, which is active but unresolvable, so the result is limited=True and then marker_projection_limited. #882 skips only real CommonMark fence lines. Every other backtick run keeps its quote reading, so directives split by mid-line backticks still fail closed. On the original SKILL.md coverage goes from 0.0 to 100.0, with 13 degraded analyzers → 0.

    2. static_parse_limit (tool_misuse): analysis only, no PR

    The trigger is a prose line, not the heredoc that follows it. Inline code with $ and " together with an apostrophe on the same line is enough. With "does not" instead of "doesn't" the same file is complete:

    Each diff shows `price: "$19/mo"` per-field, and the CLI doesn't cover this, so pass a body via stdin:

    (The minimal form needs some following prose. The original json-tracking.md triggers it reliably.)

    Mechanics as far as we traced them:

    • "$19/mo" is taken as a dynamic command word.
    • Prose such as per-field matches _FORCE_OPTION_SOURCE_RE / _RECURSIVE_OPTION_SOURCE_RE, so may_have_destructive_outer_operands holds.
    • _has_runtime_command_operand_exhaustion then runs _bounded_shell_tokens, where the ' of doesn't opens a quote that runs to end of file. The result is exhausted and static_parse_limit.
    • The prose-apostrophe retry from e28e1ba does not apply, because the line contains $ / " (_MARKDOWN_PROSE_SHELL_SYNTAX_RE).

    We did not send a fix for this one. Masking inline code spans before the syntax check makes the reported file complete, but it is fail-open. For example, `$CMD` reads each reference's … -rf / goes from partial to complete, because "$19/mo" and $CMD are structurally the same to the parser. That is presumably why e28e1ba excludes $. A safe fix would probably need _markdown_shell_text to keep inline-span boundaries, so that the operands of a command inside a closed one-line span end at the span. That is a design decision for the maintainers of this logic.

  2. eran-tego commented on Nov 18, 2026

    @eran-tego

    Still reproduces on the v2.13.5 release (9ffc3028), with two tiny synthetic skills. In both cases there are no findings, score 0, and the recommendation is CAUTION only because the scan is reported partial:

    A. static_parse_limit from one inline $(...) (runtime_dependent, analyzer static_patterns_tool_misuse)

    ---
    name: note-formatter
    description: Formats notes.
    ---
    # Note formatter
    
    Read the defaults with `$(cat config/.defaults)` first.

    B. obfuscated_instruction_text from an inch mark after a removal verb (all 13 static_patterns_* analyzers reported degraded)

    body = (
        "---\nname: note-formatter\ndescription: Formats notes.\n---\n# Note formatter\n\n"
        'Remove the trailing whitespace so notes fit a 13" laptop screen.\n\n'
        + "\n".join(f"Step {i}: keep the note's wording and order." for i in range(250)) + "\n"
    )

    It seems to need both the unclosed " after a removal verb and roughly 8 KB of text after it; with the 250 filler lines removed the scan is complete.

    skillspector scan <dir> --no-llm --format json
    
    case score issues status is_complete partially_inspected_files ledger exception recommendation
    A 0 0 partial false 1 static_parse_limit (non-fatal) CAUTION
    B 0 0 partial false 1 obfuscated_instruction_text (non-fatal), 13 analyzers degraded CAUTION

    Impact we measured on a real fleet of installed skills (ordinary vendor/plugin SKILL.md files): about 9% (25 of 291) of otherwise clean skills come out CAUTION with nothing to act on, for these two reasons. Triggers we saw in the wild: inline code such as `$(cat …)`, long Markdown spans the command parser cannot bound (command_argument_boundary), and ordinary quoted prose (("remove bots from my pageviews", "humans only"), inch marks, plural possessives like users' ).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions