is the speaker of the house part of the cabinet
Cabinet of the United States The Cabinet includes the Vice President and the heads of 15 executive departments, listed here according to their order of succession to the Presidency. These 15 positions are the core "cabinet member" seats, as distinct from other Cabinet-level seats for other various top level White House staffers and heads of other government agencies, none of whom are in the presidential line of succession and not all of whom are Officers of the United States.[8] Note that the Speaker of the House and the President pro tempore of the Senate follow the Vice President and precede the Secretary of State in the order of succession, but both are in the legislative branch and are not part of the Cabinet.
Speaker of the United States House of Representatives The Constitution does not require that the Speaker be an elected House Representative, though every Speaker so far has been an elected Member of the House.[3] The Speaker is second in the United States presidential line of succession, after the Vice President and ahead of the President pro tempore of the U.S. Senate.[4]