PyLogicFlowChart
The tools helps create a flowchart of logical conditions in python source code, which is limited to particular "variables of interest"".
Install / Use
/learn @Smat26/PyLogicFlowChartREADME

pyLogicFlowChart
pyLogicFlowChart is a static analyzer that helps create a flowchart of logical conditions in python source code, which is pruned to singular variable of interest
Usage
usage: analyzer.py [-h] [-s SOURCE] [-v VARIABLE_OF_INTEREST]
[-a {dict-add,list-append}] [-c]
Params for CodeLogicFlow
optional arguments:
-h, --help show this help message and exit
-s SOURCE, --source SOURCE
Path of the target python file to visualize
-v VARIABLE_OF_INTEREST, --variable-of-interest VARIABLE_OF_INTEREST
variable of interest in the given target file
-a {dict-add,list-append}, --action-of-interest {dict-add,list-append}
The action of interest that the variable does
-c, --has-self Specifies variable of interest is a class variable
Example
The following example is in sample.py. It can be executed by simply running the command
Source Code:
The following code is present in sample.py:
interesting_variable = []
not_a_interesting_variable = []
source_var_a = True
source_var_b = False
source_var_c = 26
if not source_var_b:
if source_var_c > 0:
interesting_variable.append('Add a value')
else:
interesting_variable.append('otherwise add this value')
not_a_interesting_variable.append('This value will not be observed')
if source_var_a and source_var_c < 30:
interesting_variable.append('This condition is relevant')
else:
not_a_interesting_variable.append('This condition is irrelevant')
Command
python analyzer.py -s sample.py -v interesting_variable -a list-append
Output

Limitations
The tool only checks for direct changes to the variable. It will ignore instances where condition checking is done on an interim variable, whose end result is used to populate the variable of interest
Related Skills
node-connect
351.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
110.6kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
110.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
351.2kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
