The standard slope tool in ArcGIS Desktop only examines a 3×3 cell neighborhood (and does not include the center cell) to determine slope for each cell. However, using Python you can create a method for calculating slope along a flow direction grid specific to your needs. Check out this article about using Python to calculate a fire “flow direction” based on a DEM and fire lines.